1
Programming Questions / Fangame engine rules
« on: August 04, 2014, 11:08:24 PM »
I'm looking for the specific rules usually used by fangames. The things I would need if I were planning to make a similar engine.
- How big is the kid's hitbox? The only sprite I've been able to find of him is 20x20 excluding his gun, and I'm fairly sure that's too big.
- How do you calculate how many pixels the kid should move upwards for each frame the jump key is pressed?
- Is it different for double-jumping, and if so, how?
- What should the FPS be capped at? - I assume the FPS is capped because I know the kid walks at 3 pixels per frame, and without a constant FPS that would mean he moves faster on better computers, which is wrong.
Please don't tell me to use an existing engine. I'm looking to subvert the engine for fun, not just create a fangame.
Thanks!
- How big is the kid's hitbox? The only sprite I've been able to find of him is 20x20 excluding his gun, and I'm fairly sure that's too big.
- How do you calculate how many pixels the kid should move upwards for each frame the jump key is pressed?
- Is it different for double-jumping, and if so, how?
- What should the FPS be capped at? - I assume the FPS is capped because I know the kid walks at 3 pixels per frame, and without a constant FPS that would mean he moves faster on better computers, which is wrong.
Please don't tell me to use an existing engine. I'm looking to subvert the engine for fun, not just create a fangame.
Thanks!