631
Programming / Re: Battlescape development
« on: November 07, 2010, 06:51:38 pm »
I'm happy to anounce first visible results of the unit drawing code I have been working on lately.
As you can see, it is currently only drawing the heads of the soldiers.
The drawing routine works 100% on a rule-based parameters system, so it's as flexible as it gets, nothing hardcoded. This means in the future easy implementation of other units, or more advanced unit animation, etc without code changes.
The downside is, for every unit you have currently 63 parameters to configure, which can become even more later on.
Other stuff I have been working on:
- reading of RMP files = spawnpoints of aliens on the map, and later on for AI pathfinding
- moved MAP and RMP file loading to ResourcePack
- Soldiers are positioned on the proper tiles inside the skyranger
and in between I'll get that soldier summary panel on the bottom look right.
As you can see, it is currently only drawing the heads of the soldiers.
The drawing routine works 100% on a rule-based parameters system, so it's as flexible as it gets, nothing hardcoded. This means in the future easy implementation of other units, or more advanced unit animation, etc without code changes.
The downside is, for every unit you have currently 63 parameters to configure, which can become even more later on.
Other stuff I have been working on:
- reading of RMP files = spawnpoints of aliens on the map, and later on for AI pathfinding
- moved MAP and RMP file loading to ResourcePack
- Soldiers are positioned on the proper tiles inside the skyranger
and in between I'll get that soldier summary panel on the bottom look right.