Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
I am making a Tower Defense game for a class and am trying to get the image of the "enemy" to move across the screen. I can't seem to get it to work though. I watched a tutorial online of something similar and thought I had it figured out but it's not doing anything. Here is what I've got so far:
this is attached to the image "Miner" card (the Miner is the enemy)
Hi Ethan,
You are confusing LC. You are telling it to do something in 10 seconds without waiting. You can either say in 10 seconds or you can say without waiting but not both. If you say 10 seconds, it will take 10 seconds for the image to traverse the path. If you say without waiting, LC uses a system moveSpeed value to traverse the path.
You could read (and learn) from his games and
after reading all his posts, you can buy his book
to learn all his game making algorithms and techniques: http://livecodegamedeveloper.com/book.html
I bought his book months ago, an learned a lot
about his techniques.
Have a nice weekend!
Alejandro
Last edited by capellan on Sun Feb 28, 2016 12:12 am, edited 1 time in total.
so if I change it to on mouseUp it works, but I need it to start by itself after a certain amount of time. I know how to set the time, but for now I just want it to start immediately. But for whatever reason it won't do anything with the on openCard (and you were right it is on openCard, not on cardOpen).