Showing different images when moving?
Posted: Thu Oct 26, 2017 3:19 am
Hello there,
I'm new to this forum and still quite new to livecode(around 2 weeks experience)
I have maze game or at least that what I call it that I am currently working on. It's my first game that I would be attempting to make and pretty proud of the outcome so far. However I ran into a problem
I would be having a character with an idle animation gif and 4 different directional sprites so let's say when i hold down the down arrow key, it would hide my character idle animation and show the appropriate directional sprite.
As of now what happens is both the Idle animation and Directional sprites flicker back and forth when any of the arrow keys are held down to move. Any help on how I would be able to keep the idle animation hidden while any arrow keys are pressed and make Idle animation visible and directional sprites hidden when the arrow key is released would be greatly appreciated.
I have attached a link to my google drive with the example codes I'm using to test with.
https://drive.google.com/open?id=0B-acN ... U1iYUlIblU
I'm new to this forum and still quite new to livecode(around 2 weeks experience)
I have maze game or at least that what I call it that I am currently working on. It's my first game that I would be attempting to make and pretty proud of the outcome so far. However I ran into a problem

I would be having a character with an idle animation gif and 4 different directional sprites so let's say when i hold down the down arrow key, it would hide my character idle animation and show the appropriate directional sprite.
As of now what happens is both the Idle animation and Directional sprites flicker back and forth when any of the arrow keys are held down to move. Any help on how I would be able to keep the idle animation hidden while any arrow keys are pressed and make Idle animation visible and directional sprites hidden when the arrow key is released would be greatly appreciated.
I have attached a link to my google drive with the example codes I'm using to test with.
https://drive.google.com/open?id=0B-acN ... U1iYUlIblU