Colony buildings and junk
Jul. 15th, 2020 12:43 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
While I started blogging about my game recently, I began coding months ago. Recently I moved into coding colony buildings... or, at least, the framework for them and came up to a usual ‘feature’ (haha!) of GameMaker.
GameMaker has no support for objects (those unfamiliar with programming concepts, objects are just a conventional way to neatly organize and write code). This means that all the logic needs to be accomplished in a fairly old-school way with arrays. Ah, memories of my earliest days programming lol :D
I was able to create a structure, almost like a primitive database, to organize all the colony building data. It turned out simple enough that I don’t think I will have problems extending and integrating it further into the game. I was even able to create a basic tool around it for later testing! :: happy dance::
I’m used to things becoming more complicated than they look at the beginning but this went pretty smoothly. This makes me very happy :)
GameMaker has no support for objects (those unfamiliar with programming concepts, objects are just a conventional way to neatly organize and write code). This means that all the logic needs to be accomplished in a fairly old-school way with arrays. Ah, memories of my earliest days programming lol :D
I was able to create a structure, almost like a primitive database, to organize all the colony building data. It turned out simple enough that I don’t think I will have problems extending and integrating it further into the game. I was even able to create a basic tool around it for later testing! :: happy dance::
I’m used to things becoming more complicated than they look at the beginning but this went pretty smoothly. This makes me very happy :)