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 / Need help on game!!

Author
Message
Name Deleted
User Banned
Posted: 24th Mar 2017 15:12
I am currently trying to make my game to where if i get under 40 seconds i move on to the "EndSection" and that section gives me the choices of moving on or ending the game. But i guess it only lets me go to "EndSection" if get 40 seconds flat. Please Help me if you can!Thank you!

[if f_time# = 40 : rem if the player reaches needed seconds
for x = 1 to 100
if object exist (x) = 1 then delete object x
next x
gosub EndSection
endif


EndSection:
return
do
if scancode()=0 then exit
loop
do
center text 320,240,"MOVE ON [Y/N]?"

if Inkey$()="y"

gosub OpenSection
endif

if Inkey$()="n"
cls : end
endif

sync
loop

end]
Derek Darkly
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 25th Mar 2017 00:31 Edited at: 25th Mar 2017 00:32
How about

if f_time# <= 40
Send your parents to noisy sprite demo hell... enter the D-Zone
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Mar 2017 02:00
How was his username approved?

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
Name Deleted
User Banned
Posted: 27th Mar 2017 16:02
ayo this dont work dawg! that poop mother trucker wont p-ing work homie help a brotha out
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Mar 2017 16:27 Edited at: 27th Mar 2017 16:27
Quote: "How was his username approved?"


The system doesn't check names. He also has another profile named "WhiteLivesMatter".
Situation is being remedied
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Derek Darkly
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 28th Mar 2017 13:32

LoL.. I got so used to that BLM stuff here in the states that I didn't even notice.
I can't believe I helped a troll! By the way, can't we all just agree that Sprite Lives Matter?
Send your parents to noisy sprite demo hell... enter the D-Zone
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Mar 2017 18:38
*slaps derek with a large trout*

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
Derek Darkly
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 28th Mar 2017 23:01

Quote: "*slaps derek with a large trout*"



LoL...
"Mmm... I love the smell of napalm and fish in the morning." - Apocalypse Trout
Send your parents to noisy sprite demo hell... enter the D-Zone

Login to post a reply

Server time is: 2024-04-24 11:23:40
Your offset time is: 2024-04-24 11:23:40