Tree Data Structure [GameMaker Studio 2]

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

КОМЕНТАРІ • 9

  • @ezeek1
    @ezeek1 4 роки тому +5

    Just discovered your channel, I might have found a hidden gem dude
    Thanks for the tutorial

  • @clongoram
    @clongoram 2 роки тому +1

    So helpful! Thank you.

  • @dugl
    @dugl 4 роки тому +5

    Great video, thank you. Your explanation style is pretty good and simple. I'm gonna use these trees for binary space partitioning for procedural level generation on my project in GMS. I think with 2.3 update with structs and nested arrays you can improve this system.

    • @SamSpadeGameDev
      @SamSpadeGameDev  4 роки тому +2

      Thanks! And I agree about 2.3. 2.3.1 especially gives some additional features to both arrays and structs that are useful, and will probably become the default way to make more complex data structures.

    • @NoahNCopeland
      @NoahNCopeland 2 роки тому +1

      @@SamSpadeGameDev i'd be cool to see data trees with structs

  • @Stefan-bn4wh
    @Stefan-bn4wh 4 роки тому +2

    great content! thx a lot :)

  • @jasonmiller7223
    @jasonmiller7223 3 роки тому +2

    downloaded your source to try learn from but just get black screen when run in gms2 latest version?

    • @SamSpadeGameDev
      @SamSpadeGameDev  3 роки тому +2

      I just tested it (cloned to the repo to my computer and converted the project to 2.3) and it seems fine. One thing to note is that there's only one room and most of the code for the various projects have to be intentionally loaded in. In the most current git version, at present at least, obj_tree_data_structure is the only object in the room. And this object only has a create event. So outside of a debug message and a single show message, all you'll see is a blank black screen even though the project is running.