SOLVED Make a Platformer Character Manually?

I’m making a platformer, but the Platform Character Behaviour only let’s the player move with the arrow keys and jump with the space bar. I don’t want that, I want to make the player move, jump, and attack with other keys. I don’t know how to manually do that, though.

I’ve tried looking up tutorials, but every one I’ve found so far is just adding the Platformer Character behaviour, so they aren’t helpful. I’m experimenting with the Physics2 behaviour, but I’m getting stuck.

Does anyone know a tutorial to help program a platformer character without the platformer behaviour?

You seem to have misunderstood how the platform behavior works.

What you’re describing is just the default controls. There is a toggle in the behavior for “Default Controls”. If you disable that the arrow keys/space bar will not control the character.

You should re-look at the tutorials on the wiki, as well as the examples in the engine, as many of them do not use default controls.

Thanks for reminding me about the Default Controls checkbox, I totally forgot about that!

I was able to find a tutorial to get the character moving, so that helped a lot!

2 Likes