ZDoom ACS Scripting Tutorial #13 - 2D Arrays

Chubzdoomer Guide 2 years ago

Description

Learn how to store multiple arrays under a single name! 2D arrays have countless uses, from representing grids to holding closely related sets of data. In this tutorial I explain exactly how they work and show how to use them to create a basic "enemy wave" spawn system.

Tutorial WAD:
https://www.mediafire.com/file/84e2txqvl7qcdns/2D+Arrays+Example.wad/file

1D & Parallel Arrays Tutorials:
https://www.youtube.com/watch?v=leePQiM8Alg&list=PLuDCrjOek9njK8hXkZmTxaU8PWzjzGql7
https://www.youtube.com/watch?v=oDhxqB-OTo8&list=PLuDCrjOek9njK8hXkZmTxaU8PWzjzGql7

ZDoom Wiki Links:
https://zdoom.org/wiki/Arrays
https://zdoom.org/wiki/Spawn_number
https://zdoom.org/wiki/Thing_Hate

Timestamps:
00:00 Intro
02:57 Map Tour
04:27 Basic 2D Array Example
15:02 Creating the Wave System
40:12 End Result & Conclusion