Tag Archive for 'gaming'

iOS Development Optimizations Part 4 – Pathfinding

Closed

Tower Defense and Hero Defense are actually quite different in terms of pathfinding. For Hero Defense, we had to statically create a nav-mesh at design time, and all of our entities – player and foe alike – navigated it using A* at both the high level and the local level. Since we had so many […]

iOS Development Optimizations Part 3 – Resource Management

Closed

Even having done everything we could to minimize the number of textures we needed to load, there was still room for improvement. Sprite sheets were tightly packed, the entire level was rendered into its own texture set, and we’d even run all of the textures through Apple’s PVR compression to cut the file size down […]

iOS Development Optimizations Part 2 – Map Design

Closed

The key to having great content is having great tools. Well, that, talent, and dedication. We do have a great map editor that we use for our level design, though. †Not only does a custom-built tool make designing our levels much easier, it allowed me another opportunity to apply some optimizations. For Townrs Defender, we […]

iOS Development Optimizations Part 1 – Sprite Engine

Closed

In the time between Townrs Defender and Spires, I had the opportunity to rework the sprite engine to optimize performance in many ways. †You may remember that Townrs Defender had a number of, in particular, memory issues – on older devices it would frequently have to disable music to guarantee it would run. †So, memory […]