Just started reading this, thought I would share.
http://higherorderfun.com/blog/2012/05/20/the-guide-to-implementing-2d-platformers/
Bonus point to this article for having this
(https://web.archive.org/web/20120524171946im_/http://higherorderfun.com/blog/wp-content/uploads/2012/05/Castlevania_Dracula_X_Stairs.png)
THat was actually quite usefull in a reading.
Really interesting and informative. Thanks for sharing.
I read all as well. They really make programming a 2D platformer sound simple!
it was fun reading it from a dev's perspective and he totally answered a question i had with sloping tiles. so nicely broken down.
i wish he would have covered perspective options. thats just a minor thing though.
he does make it sound easy.
Platforming isn't too difficult; just a bit of maths. I use subtile collision for Monolith, which is their #2 description. Jungle Bros uses #1.
On the PCE, the hitbox is a virtual box "layered" on top of the main character sprite?
Quote from: Nando on 09/19/2012, 10:51 AMOn the PCE, the hitbox is a virtual box "layered" on top of the main character sprite?
Most games do that. It's called a bounding box.
I use boxes that are slightly thinner than the sprite so you don't get lame deaths like where your pinky finger pokes a fireball and you die.
I liked reading this. It was pretty neat.
The most important part of a platformer is getting the controls right for the jumps. If you fuck that up, all your smooth scrolling and flawless collision detection ain't shit because it'll be a pain in the dick to move around.
Quote from: guest on 09/19/2012, 10:59 AMQuote from: Nando on 09/19/2012, 10:51 AMOn the PCE, the hitbox is a virtual box "layered" on top of the main character sprite?
Most games do that. It's called a bounding box.
I use boxes that are slightly thinner than the sprite so you don't get lame deaths like where your pinky finger pokes a fireball and you die.
I liked reading this. It was pretty neat.
The most important part of a platformer is getting the controls right for the jumps. If you fuck that up, all your smooth scrolling and flawless collision detection ain't shit because it'll be a pain in the dick to move around.
With the guys that made Keith Courage knew that.....ZING!
What's wrong with his jumps?
He jumps fine, especially in the MAGIC RAINBOW ROBOT SUIT
Quote from: guest on 09/19/2012, 11:21 AMWhat's wrong with his jumps?
He jumps fine, especially in the MAGIC RAINBOW ROBOT SUIT
His robo landings felt too floaty and slippery to me, but I love me some kitten beating.