Search the site
Monthly Archives: April 2014
The funny thing about AI, is that once you let it loose it starts living on it’s own. So I was poking around, fixing various bits and pieces and added a second player to the Lake map.
I’ve been thinking about organizing troops in NextGame. This post is a snapshot of my thoughts, incomplete and fragmented, so please allow enough room for later changes and details to be added. Firstly we would want to keep the Rock-Paper-Scissors principle, … Continue reading
Taking advantage of 3D and stone deposits being decals, now stone can be mined from any direction and from any terrain type underneath: P.S. Meanwhile School and Store got a little sketching progress.
Last week has been rather busy, so most of the time spent was in shorter session and aimed at refactoring. Redoing rendering approach. Now houses and units do not draw themselves, like they used to. That allowed to put all … Continue reading
Last time we have stopped on basic terrain appearance. How mixing surfaces and transitions between them works. Today’s the second part of the terrain being explained – decals.
We have a custom type – TKMPoint. That type is basically a pair of values X and Y. In older days when we wanted to add two points together (for example defense position and unit position within the group) we needed … Continue reading
I have been asked an excellent question – how do terrain tiles and objects work in NextGame? NextGame maps are still created from tiles, but those tiles have taken an extra dimension and I’ll try to explain what does that mean. … Continue reading
Irregardless of other features, I’m quite confident that there will be mine-able stones in the game. In the older days they were made as a special terrain type, but that approach had many pros. So how can they be made … Continue reading
Since NextGame moved to 3D all unit picking routines became outdated. So today I have implemented a new unit picking algorithm. It works by checking an intersection between ray cast from players view and units bounding boxes. Of course a … Continue reading