So I have a Boston area class on Construct 2 that I'm giving. It's going to be a two hour crash course. I got a request to do a platformer and funny enough, of all the games I've made with C2, I've really not done much with platformers.
Now I know how to do it for the most part with the traditional platformer behaviors and what not, but I wanted to really teach the class how C2 works without relying on premade behaviors. I want to take them through each of the steps of how the platformer is working..
I checked out various tutorials out there, but they all seemed to rely on the platformer behavior. I'm also personally fond of building any game with basic components for greater control, so this is for me as much as the class and for anyone else who wants to control player movement better.
I'm thinking something like a straight Super Mario platformer. I've already made a bit of progress on this. I have a guy jumping, you can see here http://part12studios.com/temp/platformer/ so here is the trouble i'm having:
1. how to slow a guy down? I'm seeing that I can make a guy accelerate with no problem.. but then turning around becomes fight against momentum and also releasing a keypress results in unreliable deceleration
2. how do i max movement. I tried some ways of monitoring velocity, but wasn't finding a good way to regulate velocity when things were going too fast.
3. I used physics, but maybe doing a more controlled platformer is better using some other method to jump and such?
Any advise / tips on this would be really helpful!