Hey!
I'm making my first game, a platformer and I'm trying out some different mechanics and try to learn as much as possible about the program.
Currently the moving sprites move on flat surfaces smoothly, but when they go up- or downhill they create a wierd looking gap since they only touch the ground with a small part of their animations.
What I would like is to have my sprites, both enemies and the player move so that when they walk up or down a slope or hill, they automatically face slightly down- or upwards. I havn't really managed to work this out myself and wonder how I should do?
Worth mentioning would be that I use a "playerbox" for all interactions with the game world and have the player sprite pinned to it with the: "every tick, set position to playerbox"-event.