Ok, so Ive been Playing with DB-Free for a while, and not getting anywhere,
so Ive now Taken the option to Get the DB and FPSC on the Fire sale
(YAY)
And now Im looking at DB, Ive come from an VB6/VBA Programming (OOP)
but, Ive got problems right from the off,
I found that all the tutorials Ive had problems with the code, at first the commands that dont seem to work, I put down to me being a dumbass, or even the DB Free being cut down in some way, but I dont think it is as Im having the same problems with DB that Ive now purchased in the Fire sale...
#constant bg 1
#constant plyr 2
Global imgH as integer
Global imgW as integer
set display mode 800,600,32
set window on
sync on
sync rate 60
`backdrop off
`autocam off
load image "media\backdrop.png",bg
load image "media\shipsprite1.png",plyr
imgW = image width(plyr)/2
imgH = image height(plyr)/2
do
paste image bg, 0,0,
paste image plyr,screen width()/2-imgW, screen height()/2-imgH,1
sync
loop
This is what Ive written from a DarkPrinciples tutor,
Global doesnt seem to work on my DB and
Global something as integer
the integer doesnt show up in the IDE as blue like other reserved words
Hope its something simple Ive done wrong...
Kai.