Access data structures + arrays [Game Maker | Basics]

Channel:
Subscribers:
11,800
Published on ● Video Link: https://www.youtube.com/watch?v=hnYtW4ang4I



Category:
Tutorial
Duration: 7:27
1,162 views
77


This basics video tutorial shows you how to access data from structures like ds_list, ds_grid, ds_map or arrays in GameMaker.

The idea is quite simple. You create your own data like a ds list or an array and want to access/read out the value stored in there. Accessors are a shorter way to do that with a specific letter for each data structure. So if you want to access a specifc index of an array you can use the @ letter or for example for the ds_list the | letter. That's it!


Video on arrays:
https://youtu.be/m4TzXe-hXpk

Video on ds lists:
https://www.youtube.com/watch?v=3ygcKjltSQY


Cool monster image from video thumbnail:
https://opengameart.org/content/main-art-from-monster-rpg-2

Offical manual on that topic:
https://manual.yoyogames.com/GameMaker_Language/GML_Overview/Accessors.htm


👑 Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
📸 Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
💬 Discord: https://discord.gg/gvr98nb
📜 Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:39 Subscribe
0:54 Theory of what accessors and data structures are
1:19 Example of a simple data structure, here a ds list
4:49 Same thing for accessing arrays
5:34 Foreshadowing of the evil to come, structs







Tags:
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial
game dev
game developer
gamemaker access ds list
gamemaker access array
gamemaker get array value
gamemaker access data structure
gamemaker data structure tutorial
gamemaker access array tutorial