How do I code jumping, platforms, and player movement across the screen? (2D)

Write your question here.

How do I code jumping, platforms, and player movement across the screen?
I was just needing this so I can start coding a level of a platformer.
Another thing I was wondering, does any of this code be in a different library other than IOStream and string.
Thanks!
I will assume you are new, which is fine! I recommend checking out lazyfoo.net for great SDL tutorials. There are some tutorials on basic character movement.

If you do not want to get too bogged down with setting up libs and learning a lot of details you may not understand yet, then I would recommend something like GameMaker. It will help you more quickly get to the point of player movement and understanding the theory behind it and only it.

As far as your second question goes, I would say no. Those are mostly just utility libs to help get certain things done. Sadly with programming, you have to write how you want things to behave. There arent really any magical functions that are like:
playerMovementGo();


Hambone
Topic archived. No new replies allowed.