Chunking the World in my Survival Game - (GameMaker Engine World Generation)

Опубликовано: 15 Март 2023
на канале: MicahTheManiac
541
9

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


Смотрите видео Chunking the World in my Survival Game - (GameMaker Engine World Generation) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MicahTheManiac 15 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 541 раз и оно понравилось 9 людям.