Premium Features

Download Video

Queueing Dialogue

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 3 years ago

if anyone is reading this make sure to follow the fireball section before this one or it will get confusing.

1

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.