I am really bad at understanding ds_lists. I get the logic (kinda) but it is hard for me to know where and when to utilize it. However, this video helped understand it more. Now I can actually draw a value on screen. Nice.
@@MrZarupta Interesting! I (after 5 months) understand ds_lists a lot better. Do you post videos of your game? I love to see other people's work in progress so I can learn/get inspired.
Thanks for zooming more into the code, Great improvement from your first videos. I like to watch some videos on mobile and zoomed in code helps. Thanks.
Good to hear that it is visible on smartphones. I still don't understand why people watch coding tutorials on the fly in their smartphones, but I guess I am to old school for that.
An idea for another DS video, how would you search for a pattern in a DS list, using another DS list? Say the game tetris, for example, where the brick states meet winning criteria.
Well sort of, what you can do with a ds_grid (one extra dimension plus from ds_list) is make a pathfinding algorythm, that searches for the shortes way to a destination. That is being used in google maps or for example cave blazers. But that is a bit complex. Search a ds_list entry in a ds_list? Well you can do that, you chain them together, theoretically so many times as you want.
Hm, you mean being stored and save externally from your project file? Then you can go sloppy/quick and dirty with .ini files or go the advanced route and use the JSON format.
The system you made is great, but I found one thing in the system that made my game crash. When I have less than 2 Items in my inventory and equip an item it crashes saying "variable null couldnt be found". Im just writing this in case somebody else in their games has 1 item and encounters that problem. But anyway thank you so much for that tutorial because I kinda struggled with getting behind the concept of ds_lists let alone using it for an inventory^^
Hm, that stuff is absolute basics. So if you are brand new to programming (which is totally fine, I started blank too), maybe check out content which is made for beginners, like "introduction to GameMaker".
It teaches the absolute basics and that's what I needed, thank you as always
You are welcome mate!
you are single handedly teaching me how to use game maker
Always glad I can help out a fellow developer! Please do check out Pixel Pope and Friendly Consmonaut also, they are high quality GameMakers.
Thank you. I was stuck at something and your video helped me.
Sweet! Glad it helped you out.
I am really bad at understanding ds_lists. I get the logic (kinda) but it is hard for me to know where and when to utilize it. However, this video helped understand it more. Now I can actually draw a value on screen. Nice.
Good to hear that. In the end they are just lists to save stuff in (like gorcery list) and then delete the list because there is no use for it later.
If it helps you 5 months later: I am planning to use this code to create the list for a shop of items in my game.
@@MrZarupta Interesting! I (after 5 months) understand ds_lists a lot better. Do you post videos of your game? I love to see other people's work in progress so I can learn/get inspired.
Thanks for zooming more into the code,
Great improvement from your first videos. I like to watch some videos on mobile and zoomed in code helps.
Thanks.
Good to hear that it is visible on smartphones. I still don't understand why people watch coding tutorials on the fly in their smartphones, but I guess I am to old school for that.
@@1upIndie busy adulting. Sometimes when you walk the dog or on commutes if some one else is driving, gotta learn on the go.
thanks for the video its finaly clear now what they are.
Ya welcome!
Hey man your pixel art is really good
thank you for the tutorial
Ya welcome. Make good games!
An idea for another DS video, how would you search for a pattern in a DS list, using another DS list? Say the game tetris, for example, where the brick states meet winning criteria.
Well sort of, what you can do with a ds_grid (one extra dimension plus from ds_list) is make a pathfinding algorythm, that searches for the shortes way to a destination. That is being used in google maps or for example cave blazers. But that is a bit complex.
Search a ds_list entry in a ds_list? Well you can do that, you chain them together, theoretically so many times as you want.
how to save and load ds_list
Hm, you mean being stored and save externally from your project file? Then you can go sloppy/quick and dirty with .ini files or go the advanced route and use the JSON format.
The system you made is great, but I found one thing in the system that made my game crash.
When I have less than 2 Items in my inventory and equip an item it crashes saying "variable null couldnt be found".
Im just writing this in case somebody else in their games has 1 item and encounters that problem.
But anyway thank you so much for that tutorial because I kinda struggled with getting behind the concept of ds_lists let alone using it for an inventory^^
Good to hear!
U just throw expert things...
Hm, that stuff is absolute basics. So if you are brand new to programming (which is totally fine, I started blank too), maybe check out content which is made for beginners, like "introduction to GameMaker".