2D Vectors and Arrays
Channel:
Subscribers:
2,650
Published on ● Video Link: https://www.youtube.com/watch?v=D5M3sEyr_es
Today we went over how to make 2D arrays and vectors. 2D Arrays have a slight advantage here in terms of being more clean-looking (int arr[10][10] makes a 10x10 array, much less typing), and 2D vectors are kinda... meh? Especially since you can't guarantee they remain rectangular in shape, and will cause more cache misses... but they're kinda the best we have right now until the C++ Committee gives us something better.
We also spent some time looking at the demo code for the project and went over again how to use the Colors header file to make a simple 2D text game.
Other Videos By Bill Kerney
2021-10-02 | Fallacies Part I |
2021-09-30 | How to export and import assets between projects in UE4 |
2021-09-30 | Making an AI Enemy Part II |
2021-09-30 | Invalid/Valid/Sound II + Hamiltonian/Eulerian Paths and Cycles |
2021-09-30 | UE4 Damage System and HUDs with UMG |
2021-09-30 | Top-Down and Bottom-Up Programming |
2021-09-29 | Midterm I Review |
2021-09-29 | Making a Castle with the Procedural Spline Walls System |
2021-09-28 | Making an AI Opponent Part I |
2021-09-28 | Graph Theory I |
2021-09-27 | 2D Vectors and Arrays |
2021-09-27 | Scratch Part II |
2021-09-25 | Auto + Growing Vectors + Nonblocking I/O |
2021-09-24 | Introduction to Scratch |
2021-09-23 | Niagara Part II |
2021-09-23 | Landscape + Foliage, Hitscan Weapons, Niagara Particle Effects |
2021-09-23 | Syllogisms |
2021-09-23 | Vectors vs. Arrays (i.e. why Vectors are better) |
2021-09-22 | Ethics in Autonomous Vehicles |
2021-09-21 | Karnaugh Maps, Simplifying If Statements |
2021-09-21 | Destructible Meshes - Blueprint Interactions |
Tags:
csci 40
arrays
vectors
2D arrays
2D vectors
libcolors
text-based games