albrow / elara

Work-in-progress educational programming game
https://elaragame.com/
Other
73 stars 5 forks source link

Add a delay before asteroid strikes #65

Open albrow opened 12 months ago

albrow commented 12 months ago

Right now, the asteroid strike animation plays immediately after pressing the "Deploy" button. It would be more exciting and more intuitive if it triggered on a short delay. This would make it so that G.R.O.V.E.R. reads the safe_direction from the data point and then the asteroid strikes.

The delay would likely need to be configured for each level. This change might also require moving asteroid warnings into State as opposed to being a property of each level.