Simple C++ platforming engine with SFML 2

Anything else
Post Reply
User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: Simple C++ platforming engine with SFML 2

Post by Korban3 » Mon Jul 02, 2012 12:59 pm

Cool. I probably won't put it to use, since I like doing all that stuff myself, but that should really help out newer programmers a ton!

User avatar
Count Roland
Posts: 2937
Joined: Tue Sep 25, 2007 11:15 pm
Location: Galapagos Islands, rodeoin some turtles.
Contact:

Re: Simple C++ platforming engine with SFML 2

Post by Count Roland » Mon Jul 02, 2012 2:44 pm

I'm tempted to fiddle about with it, but then I'm always tempted to muck with everything, so that's nothing new.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: Simple C++ platforming engine with SFML 2

Post by Korban3 » Mon Jul 02, 2012 9:11 pm

Haha, it is tempting to muck around in it.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: Simple C++ platforming engine with SFML 2

Post by Korban3 » Tue Jul 03, 2012 7:06 pm

Noh! I has mah own project to work on! I had to scrap the Rigid Bodies in Unity and have to rework the physicsy crap.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: Simple C++ platforming engine with SFML 2

Post by Korban3 » Sat Jul 07, 2012 2:42 pm

Because I want to have the character snap to the ground when he isn't climbing. I got that working fine with a raycast from the root object, but using the rigid body physics caused it to slide throw the ground, and do other unwanted crap. Removing them made the ground movement work better.

EDIT: Also, the way I have him moving around caused the rigid bodies to jerk when they hit a wall because Unity's physics use a penalty based correction system rather than projection.

Post Reply