GMS 2 - How to use Data Structures - Ds_lists and ds_maps

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 17

  • @NeZversSounds
    @NeZversSounds 6 років тому +35

    Please, if you want to gain more popularity, fix your audio. Video looks great but painful to watch when those loud glitches in audio appear.

  • @TionardChaster
    @TionardChaster 6 років тому +13

    tutorial about memory leakage. You should've told about ds_list_destroy, and ds_map_destroy... You always have to destroy ds_lists, _maps and other ds_ at least during game_end

    • @arvidinator3184
      @arvidinator3184 2 роки тому

      i'm pretty sure game maker destroys all data structure lists and maps when closing the application, but yes in general ds_list_destroy and ds_map_destroy are good practice for preventing memory leaks.

  • @JaisonJFranklin
    @JaisonJFranklin 4 роки тому +1

    This is like a object in javascript, then. I finally understood. Thanks!

  • @blitzercreg
    @blitzercreg 4 роки тому

    I am 3 years behind here, but when I try this code I get an error that the list "people" is not defined in my script. Any idea if GMS2's ds_list system has changed since 2017? I feel I cannot follow some tutorials because it is not functioning like it did then. I also suck at programming so there is that...

  • @taoliu7312
    @taoliu7312 5 років тому

    Very good tutorial! Simple and easy to understand!

  • @MrSaintRai
    @MrSaintRai 5 років тому

    You called from the script the people on the create of the object, how does the script know that's the list it has to access?

  • @tomasmoren9016
    @tomasmoren9016 6 років тому +2

    What is the age of empires?

  • @王逸之-i7m
    @王逸之-i7m 4 роки тому

    Really neat example!

  • @dmytromahas9207
    @dmytromahas9207 5 років тому

    Thank you, you are a best teacher of GML!

  • @justingreenland50
    @justingreenland50 5 років тому

    Thank you for your tutorial friend

  • @joeendel3614
    @joeendel3614 4 роки тому

    too bad the video is out of focus and the sound is terrible. Also the background music doesnt help to make u more audioable. Explanation good tho!

  • @matthewsmith2649
    @matthewsmith2649 5 років тому

    okay, so NOWKDFKDJL we have our list

  • @jedidiah2686
    @jedidiah2686 6 років тому +6

    Stop it, just stop. My ears are bleeding!