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 / I have a few simple questions to ask.

Author
Message
Altedor
22
Years of Service
User Offline
Joined: 6th Nov 2003
Location: France
Posted: 23rd Nov 2003 17:52
1) How do you make a player jump and fall to the ground with gravity?

2) How do you make a health bar, that increases and decreases?

3) How do you create menu's for a game, including NEW GAME, LOAD GAME, SAVE GAME, OPTIONS and EXIT?

I'll give thanks to all those who help me with these because these really are the only things (AT THE MOMENT) i can't do. I say at the moment because more problems may arise within my game creating, with Dark Basic professional.

So did u do it? Nope. God Mr. Nobody's probably the cleverest man in the world. He could make millions!
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Nov 2003 19:03
3.)
http://darkbasicpro.thegamecreators.com/?m=codebase_view&i=6081ec36eb3223a1ca8faed88e178c98

I decided to make a small snippet in the codebase.
Hope this helps you.



A book? I hate book. Book is stupid.
Altedor
22
Years of Service
User Offline
Joined: 6th Nov 2003
Location: France
Posted: 23rd Nov 2003 19:25
Yellow (Mike)

Please tell me your email address because i would like to give you some credit.

So did u do it? Nope. God Mr. Nobody's probably the cleverest man in the world. He could make millions!
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Nov 2003 19:57
[email protected]

Thanks Jack.

A book? I hate book. Book is stupid.
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Nov 2003 21:00
2.)
http://darkbasicpro.thegamecreators.com/?m=codebase_view&i=323ec8aaefddfc208a067980eb0f621d

It's not completely accurate, and you may need to tweak the values a little to get your desired result.(Use 1 and 2 to increase/decrease values)



A book? I hate book. Book is stupid.
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 24th Nov 2003 01:10 Edited at: 24th Nov 2003 01:12
1+2+3) Use the search button the newcomers and the code snippets section. All of these topics have been covered before.

Login to post a reply

Server time is: 2026-07-26 15:28:46
Your offset time is: 2026-07-26 15:28:46