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 / confusement with db pro

Author
Message
LucasH42
12
Years of Service
User Offline
Joined: 7th Nov 2013
Location:
Posted: 8th Jan 2014 18:13
I am trying to make it so that when you get the answer right in my quiz game, the obstacle/object deletes or disappears. I know that it is somewhat easy to do, but I cant quite get it correct. if you could help that would be great!
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 8th Jan 2014 21:41
You'd probably have to post some code, should be straightforward enough though.

I am the one who knocks...
Derek Darkly
14
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 9th Jan 2014 14:02
Confusement: The bizzare cross between confusion and amusement.

Yeah, that pretty much sums up being a game creator.

D.D.
LucasH42
12
Years of Service
User Offline
Joined: 7th Nov 2013
Location:
Posted: 9th Jan 2014 18:55
rem 4th grade standard project
rem created 12/5/13
rem title : Math Maze
set text size 25
cls rgb(192,192,192)
Print ""
center text 200,300, "USE YOUR MATH SKILLS TO BEAT THE GAME"
center text 200,320, "YOU ARE MAKYA THE NATIVE AMERICAN"
center text 200,340,"PRESS ANY KEY TO CONTINUE"
wait key
cls rgb(192,192,192)

sync on : sync rate 60
autocam off
hide mouse
randomize timer()

rem title page pic
rem instructions title text
cls 0



rem pictures
Sync on : hide mouse : sync rate 60
load image "logo.bmp", 2
load image "numbers.bmp", 1
load image "fire1.bmp", 3
x = 0 : y = 0
sprite 2, x, y, 2
sprite 1, x, y, 1
sprite 3, x, y, 3

do

sprite 2, x, y, 2

if upkey()

y = y - 4

endif

if downkey()

y = y + 4

endif

if leftkey()

x = x - 4

endif

if rightkey()

x = x + 4

endif


sync
loop
rem starting of game
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Jan 2014 21:26
All I see your code doing is moving a sprite around the screen. I see nothing there about a quiz game of any type.



Use code tags in the future, makes it easier to read.


Login to post a reply

Server time is: 2026-07-07 15:10:31
Your offset time is: 2026-07-07 15:10:31