Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Help with test programme from "hands on darkbasic pro vol 2" book

Author
Message
Jamie_Leigh
14
Years of Service
User Offline
Joined: 15th Dec 2011
Location:
Posted: 2nd Feb 2012 15:52
Im trying to work through a test programme called castle01 from the hands on darkbasic pro vol 2 book.

I have found and saved all the required images it needs and have copied all the code exactly into darkbasic but when I compile and run nothing happens :/

I have attahced what i ahve so far

Any help would be much appreciated
1beginner1
17
Years of Service
User Offline
Joined: 28th Jun 2009
Location: Belgium
Posted: 2nd Feb 2012 17:15
The code almost works fine for me only needed to start a new project copy your entire code. To the new file because when I clicked on your file it said it was missing the include file or something like that.

I had to change the DISPLAY MODE to 1600,900,32 because my laptop doesn't support 1900x1024. And also at line 115 you are missing an enter.
Jamie_Leigh
14
Years of Service
User Offline
Joined: 15th Dec 2011
Location:
Posted: 2nd Feb 2012 18:07
Okay thanks a lot I've got it working now!

I keep getting confused though because sometimes it loads an old game I was playing around with :S

Can't quite get my head around these .dba and .dbpro files and in what order to save them and stuff

Login to post a reply

Server time is: 2026-07-09 16:57:35
Your offset time is: 2026-07-09 16:57:35