Theres a lot of templates to help you create games. Search for platformer 2d or sidescroller template. You will probably find something to get you started.