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 / 2D gravity problems...

Author
Message
Cairne
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: The Internet
Posted: 13th Dec 2004 11:40
I am working on a 2d game, and I am having problems programming gravity. I made a basic jump,


The jump works, but I cant make darkbasic recognise when the player walks off the platform so I could apply similar code to that.

Either that or I'm just doing this all wrong... Either way...

The world would be a far better place when people stop posting "I need help" as their thread title. If you want your question answered quickly, we need to know your problem quickly!
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 13th Dec 2004 13:51
Here is some old code that may help you though it needs a bit of work to be perfect I'm sure. I don't mess with 2D much anymore.


Login to post a reply

Server time is: 2024-09-23 06:24:32
Your offset time is: 2024-09-23 06:24:32