I ran out of time. Haxepunk gave me more headache today than I expected. Nevertheless I learned a lot this past week. I still would like to expand this to a real game with some interesting mechanics, but that’s something for next month. I even made the building sprites:
You can try out the tree generator by pressing “Space” to make new trees. Nothing else to do :(. (And also it’s a little too wide for this blog page, so it’s warped)
Finally I was able to implemented the leaves on the trees. This took me some unexpected effort because I had to figure out some specialties about HaxePunk and different behaviour of Image, Graphic and Entity objects. So take a look at those beautiful trees ;).
Next to add is the buildings and game logic. Have to finish it today. Hope it will work.
Progress on this project is coming along really slow. I have to admit that it takes some time to get into a whole different language (Haxe) with my second project with HaxePunk. This, in combination with other time restrictions (work), makes me doubt if I can finish this game within May. I really hope to implement the basic mechanics to try it out.
Nevertheless, here is a screenshot of the extended tree generator. I only have too add some leaf (circles) and then I can get to the game logic and interaction.
Unfortunately my spare time for coding today is over which means, that this is only a half finished prototype. Nevertheless I’d like to present you the basic random tree generator. You can refresh the level by pressing “space”.
Next to add is the logic for growing the side branches and generating the leaves. After that I will implement the game interaction and logic.
Finally I’ve written the first lines of code today. These are to create the basic graphics on the screen. Unfortunately I haven’t started to implement the real growth of trees, so this is just a sprite test. Nevertheless it works fine. So I’m quite happy with the outcome of today’s work. I also specified the game mechanics on paper. The game will be about balancing the 4 different ressources (soil, water, air and energy) by constructing five different buildings and let the trees grow. At the start of the game a goal is selected randomly by a fixed set of goals. These goals will include making a specific amount of trees or a specific height. Fine tuning of the concept is still necessary.