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.

Newcomers DBPro Corner / Darkbasic Pro Beginner Problem..

Author
Message
VortexNL
17
Years of Service
User Offline
Joined: 28th Jan 2007
Location: Noord-Holland
Posted: 28th Jan 2007 19:11
I looked at some tutorials and saw this code:



But my Darkbasic says: Could not understand command at line 9
GET IMAGE 1,0,0,300,300

I have all sorts of these problems.. when Darkbasic says: Could not understand command at line #

Can someone help me..?
And maybe learn stuff about game design..

Bye, Vortex

Im a noob... If you want to help me..?
PLEASE!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 29th Jan 2007 08:11 Edited at: 29th Jan 2007 08:12
If that command gives you that error then you need to uninstall, reboot, and reinstall Darkbasic.

That code works fine but you need to change it a bit for it to actually work. The first thing is the " ' " is not a remark (it's "rem" or "`"). And if you use "load bitmap" with ",1" it creates a new bitmap that cannot be seen by the user. To go back to the normal screen (to be able to see the results) you need "set current bitmap 0".

This is the way the code should look:


Where did you find that tutorial anyway?

Login to post a reply

Server time is: 2024-09-25 17:33:25
Your offset time is: 2024-09-25 17:33:25