arrow keys to move , i added jump space to shoot i dont play metal slug so i dont know how it works but i think you want to make something like this?
@metalslugXX note : please do read the comments i put inside the project! it'll explain how to project works. (idk how u want the bullets to work so i made 2 options)