Hi al! finally decided to make a thread for this problem im having. ive been searching the forums for an answer for a few days now,but no luck yet. im new btw so be gentle ok?
ive been learning to use construct for a few weeks now and ive managed to create a simple basis for a platformer,using other ppls examples and tutorials.have to say im getting more and more excited about construct,its really fun to use and pretty easy too,atleast compared to gamemaker. im gonna do a satirical platformer starring one of my friends, and im gonna give this game to him on his birthday.
ok so on to the problem:
what im trying to do is sort of a dodge/backstep kind of move,where the player shortly slides backwards when a key is pressed(i also plan to use this same move when the player takes damage).
in short,kinda like blatantly copying the dodge from castlevania: SOTN
to be more specific look here
its the move around 5:57 or so.
ive managed to sdo this move(sort of),but with 2 separate buttons(example: press x--move to right / press z--move to left),but it isnt very practical..
how can i make it so that the sprite always moves backwards,when i press a key?
i just cant for the life of me figure it out and i would be really grateful if someone could help me out a bit.
thanks in advance and sorry if my english sucks.