TRP
Member
Greetings,
Looking for help with an issue I'm having. I'm using touch or global left mouse button to move the player around. I also want the player sprite to change when I go right and down. I'm using the below code in the step event.
//sprite change player movement
if obj_player.direction=180
{
draw_sprite(player_flip, 0, x, y)
}
if obj_player.direction=270
{
draw_sprite(player_flip, 0, x, y)
This doesn't work...wondering if I'm even on the right track...
Thanks for your time,
Looking for help with an issue I'm having. I'm using touch or global left mouse button to move the player around. I also want the player sprite to change when I go right and down. I'm using the below code in the step event.
//sprite change player movement
if obj_player.direction=180
{
draw_sprite(player_flip, 0, x, y)
}
if obj_player.direction=270
{
draw_sprite(player_flip, 0, x, y)
This doesn't work...wondering if I'm even on the right track...
Thanks for your time,