Okay, I'm playing around with DB Pro now, went through some tutorials and trying to replicate a tutorial EXACTLY.
I have started a new project, and in that project folder inside of the DBPro folder I have created a media folder and put in my two PNG files.
It won't execute tho, and keep highlighting different lines as having errors, but I have checked and rechecked all the code and everything looks good to me. I have also checked the media file names and placement and everything looks good.
I'm hoping someone can check my code out here and go AH HA and show me where I am messing up.
Type Objects
x as integer
y as integer
z as integer
id as integer
r as integer
ht as integer
wd as integer
endtype
Global bg as objects
Global pl as objects
bg.id = 1
pl.id = 2
set display mode 1024,768,32
sync on
sync rate 60
backdrop on
autocam off
load image "media\SpaceBlastBG.png", bg.id
load image "media\Ship.png", pl.id
pl.x = screen width()/2
pl.y = screen height()/2
Sprite bg.id, 0, 0, bg.id
Sprite pl.id, pl.x, pl.y, pl.id
do
sync
LOOP
- Zaxx