Changing Character gravity in Paper2D starter project

Hey guys, first post here. :slight_smile:

So basically the general idea is I want to make a 1 level paper 2d side scroller (I’m using the template that comes packaged with UE 4). There’s three things I want to code for it.

  • First I want to code a “pickup” so that when you run into it, it changes how high the character can jump, or give the character double jump so that the character may get to the last platform. (maybe even put a message on screen telling players this has happened).
  • Secondly I want to be able to code in a failure state so that if you fall off one of the platforms it puts you back at the beginning.
  • Thirdly I want a success state. Basically if you reach the final platform I want there to be a message that says well done and then resets the level.

I’m not expecting the code to just be given to me, as I’d love to be able to learn how to do all of this for future reference. Thanks for your time in reading this, and thanks in advance if you decide to help me :slight_smile: