|
Post by melonzgz on May 7, 2016 19:44:37 GMT 1
While finishing Catapult, I'm working also in this one. I think its great to have a place where posting the development process and have some feedback.
Current state:
Today managed to add one way platforms (platforms that you can reach from below, look at 0:20), a new enemy (the rat!) and added some kind of dust when you perform a jump.
Also been working on the tileset to add outside levels.
I don't know if using a level selection for this one, or the level selection can be a base level. I mean, a little level with a lot of doors, and if you enter one available door you go to the selected level (like in Super Mario 64).
|
|
|
Post by ilan on May 8, 2016 17:17:16 GMT 1
AWESOME!!
are you using Box2d?
|
|
|
Post by melonzgz on May 8, 2016 19:02:36 GMT 1
Yeah, I'm using Box2D. It's not as easy as other games, because a classic platform game isn't realistic, you have to do a lot of hacks and adjustments, like setting velocity directly instead of applying a force or an impulse, removing friction and do the inertia yourself by decreasing or increasing the speed manually depending if you're on the air or at the floor, checking collisions in presolve to disable some of them, use ghost vertices to avoid the character to get stuck in some platforms... and if you want to use horizontal moving platforms it can even be worse because there is no friction and you have to know what platform you're in, and add the velocity to your player's velocity... I think I could make a tutorial on making a basic platformer with libGDX + Box2D
|
|