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.

2D All the way! / platform

Years of Service
User Offline
Joined: 18th Jul 2003
Posted: 23rd Jul 2003 10:11
how do you make platforms you can step on in your games
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 23rd Jul 2003 11:32
You could draw a line across the bottom of the screen, and have a Y position check in your main loop (or sub-routine) to make sure that your character has not gone through it; or another possibility would be to have the bottom a sprite and check for collision.

I hear and I forget. I see and I remember. I do and I understand.

Login to post a reply

Server time is: 2024-02-27 19:57:16
Your offset time is: 2024-02-27 19:57:16