Загрузка...

Rotating Queue (Read description for more info) #gamedev #indiedev #games #godot

Using a queue, the player and enemies take turns moving. These turns are dependent on the player, so if the player clicks to move 5 tiles, then all entities (this includes the player) will take turns performing some action before passing the turn to the next in queue.

Here's an example of what the queue looks like:
1. [Player, Enemy] ***Player moves then gets moved to the back of queue
2. [Enemy, Player] ***The enemy can now perform some action and moves to the back of queue
3. This would repeat for however many turns all entities are permitted to move for.

Видео Rotating Queue (Read description for more info) #gamedev #indiedev #games #godot канала ForgottenMercenary
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять