CodeBase - 2D character controller basics

Return to the CodeBase listing

Category: 2D

Version: 1.0

0
0

Information

Uploaded: 12th Mar 2011 23:13

Modified: 16th Jan 2012 19:04

Author:  DeadTomGC

Summary

This is demo code for jump, left, and right control and collisions for a 2D game Character.

Full Description

This is demo code for jump, left, and right control and collisions for a 2D game Character.<br /> Main uses the methods in the attached header to perform smooth sliding collisions with a another sprite. 3 sprites are used. One for the collision and another for drawing the character. The third is a static Sprite that the character will collide with.<br /> <br /> The screen shot is old, and, oh ya, I need to make some changes to make the code more versatile, so I'll be on that soon.

Comments

No comments yet.