Nightmare Cops originally had stairs functionality where you could press up to start going up stairs in the background but it visually messed with the platforms also having visible 2.5D depth, to where it wasn't worth trying to keep around.
I did end up making a node system for platforms that have any assortment of bumps and slopes, they can even dynamically rotate and change the bumps without losing the characters and effects that are on the platforms (99.9% of the time at least lol). I'm proud of it but the code would probably make a more serious programmer grimace.
The main issue with the ones I added is that the fixed fake slope acting as the steps works fine and dandy when it's always the same length, but the moment you modify its size the collision box does a Poochie and dies on its way to its home planet. It also requires crazy accuracy while placing it on different places, which is definitely not efficient while making levels.
So now I just decided to give the player even less control and turn the stairs into its own isolated event and summarize the code into "You touch this big square and press the up button you become stairs". I'd love to actually make some actual solid stairs like in Rondo of Blood or Castlevania IV, but I don't want to lose more hair (and the picture speaks for itself in that department).
TomFulp
Nightmare Cops originally had stairs functionality where you could press up to start going up stairs in the background but it visually messed with the platforms also having visible 2.5D depth, to where it wasn't worth trying to keep around.
I did end up making a node system for platforms that have any assortment of bumps and slopes, they can even dynamically rotate and change the bumps without losing the characters and effects that are on the platforms (99.9% of the time at least lol). I'm proud of it but the code would probably make a more serious programmer grimace.
TheGorondorf
The main issue with the ones I added is that the fixed fake slope acting as the steps works fine and dandy when it's always the same length, but the moment you modify its size the collision box does a Poochie and dies on its way to its home planet. It also requires crazy accuracy while placing it on different places, which is definitely not efficient while making levels.
So now I just decided to give the player even less control and turn the stairs into its own isolated event and summarize the code into "You touch this big square and press the up button you become stairs". I'd love to actually make some actual solid stairs like in Rondo of Blood or Castlevania IV, but I don't want to lose more hair (and the picture speaks for itself in that department).