I have figured out how to chunk the tile placement in my game! Once I work on a save system, I feel I can focus on adding more content (like new items and building mechanics) to the game. If you want a brief technical summary on how this works, keep reading below. (Also you should consider Subscribing, no pressure.)
Technical Detail:
The world generation and placing of the tiles are both handled separately. Therefore, it is only the tiles that are chunked, I have not added chunking to the world generator, I feel this task might be impossible at the moment. So the world is still all generated at once. My solution in the future will be to save the title placement I will let the seeding itself generate the world. The load time on this is long based on the size of world I am going for but, I don't think it is too long to be considered an issue. Saving the tile placement will allow for newer chunks to still be generated while retaining the old world on the same seed. If there is anyway to generate the worlds faster (say, using multiple threads, something I am unsure if GMS2 can do) then I would be happy to learn about that. It has not been showcased, but I have already developed a system to generate a mega-chunk (9 chunks) around the player and just need to implement a system to generate these mega-chunks as the player moves throughout the world. A video on this should hopefully be out soon.
Visit my Website ➤ https://micahthemaniac.com
Subscribe and follow my Socials
🥚 Twitter ➤ / micahthemaniac_
👾 Itch.io ➤ https://micahthemaniac.itch.io/
🎥 TikTok ➤ / micahthemaniac
... More ➤ https://micahthemaniac.com/about
🎶 Music ➤ "Fender Bender" by Bad Snacks, YouTube Audio Library
Micah Thompson / MicahTheManiac
Watch video Chunking the World in my Survival Game - (GameMaker Engine World Generation) online without registration, duration hours minute second in high quality. This video was added by user MicahTheManiac 15 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 541 once and liked it 9 people.