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! / Any 2D Terrain Collision Snippet?

Author
Message
Yitzu
13
Years of Service
User Offline
Joined: 14th Feb 2009
Location:
Posted: 1st May 2010 03:38
Someone knows about a good 2d Terrain Collision code maybe i can learn
from or use for my game? Thx
Non Sequitur M
14
Years of Service
User Offline
Joined: 28th Oct 2008
Location: Where am I!? Where are YOU?
Posted: 1st May 2010 04:31
Same here. I've been programming seriously for about 4 years now, and all I've done is puzzle games, and a pong remake... I'm currently writing a platformer.

If life were like a box of chocolates, I'd know what I would get... The one that got dropped on the floor and put back in the box.

Iye nehvur yoose spehl chehk, ahn mie tippyng izz fiyne.
Kevin Picone
20
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 1st May 2010 18:32
While the follow links aren't to DB code, they do show how various collision methods work..


Walking on Sprite Collision Map

Walking On Sprites

Platformer Pixel Collisions Via Ray Casting


Advanced Platform Collision (Vector WORLD)

There's more in our source code board and PB example packs..

Login to post a reply

Server time is: 2022-12-01 19:34:01
Your offset time is: 2022-12-01 19:34:01