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.

Code Snippets / [DBP] 2D - Player walks on a terrain image

Author
Message
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 4th Mar 2009 05:03
This code shows how a player in a 2D environment can walk on top of an uneven terrain image.

It makes use of a function by Cloggy for pixel-perfect collision.



The media you'll need to test it is attached.

Please post questions or comments!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-05-02 10:54:51
Your offset time is: 2024-05-02 10:54:51