Premium Features

Download Video

Queueing Dialogue

Published 3 years ago

After an attack, it makes sense to display a snippet of text that describes what action was just taken. This video will show you how to show that snippet not only after we choose an attack, but also after the enemy selects an attack on their end.

We'll use the "queue" data structure to achieve this effect.

  • 0:00 - Create Dialogue Box

  • 6:12 - Refactor Battle Code Into Separate File

  • 7:52 - Queueing Enemy Attacks

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
A
Aiki posted 2 years ago
1

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.