Hello. I have game where there is a chef which will flash an order then after that, the ingredients will slide down. The ingredients then can be clicked to left of right. Do you happen to know how I can make them move in that order?
like for example, if i have an actors with their designated movement, how can i make them move in the order i mentioned above? because when I run it, they all move at the same time :(
I have a game where in this will be the flow:
1. Chef will enter and a dialogue text will flash on the screen (actor chef will show the food order, ex. burger)
2. The ingredients of the order then (actors: bun, burger patty, lettuce tomatoes) will slide down the screen wherein the player can click the key arrow left if the ingredient is part of the order and key arrow right if not.
The problem is that, I don't know how can i move these many actors in order. I want the chef to show first then disappear. Then, the ingreidents then show, then the player can now play. When i run my code, all actors move at the same time.
Maybe you should have your world deal with the key presses and inform the "current" ingredient how to respond. This would most probably require that you have a list or array of the ingredients to iterate through as the key presses are detected.