Jump to content

  • Log In with Google      Sign In   
  • Create Account

Felix Ungman

Member Since 19 Nov 2007
Offline Last Active Today, 07:52 AM

Topics I've Started

openwar (Samurai Wars) available on GitHub

10 June 2013 - 02:11 AM

The openwar platform/engine for the iOS game Samurai Wars (https://itunes.apple.com/app/id442916628) that I've been working on is now on GitHub (https://github.com/openwar/openwar).


Currently Mac-only (will port to Windows in the near future) and is built using C++, glm and some custom OpenGL code.


Samurai Wars is a real-time tactical war-game for two players set in the Sengoku jidai period of medieval Japan. Be a samurai warlord and command your troops on the battlefield, using tactical skill to defeat the enemy army. It features realistic battle simulation of thousands of individual soldiers


Attached File  mzl.uvhdxmzj.340x340-75.jpg   16.94KB   20 downloads

Next up I will complete the map editor. And after that, it's lua-scripting of battles.

Attached File  OpenWarEditor.gif   23.08KB   22 downloads

Cel-shaded terrain and performance on iOS / OpenGL ES 2.0

18 February 2013 - 08:07 AM

I'm experimenting with full screen terrain rendering on the iPad, using a cel shader that goes something like this:

1) render the terrain unto screen with cel lighting

2) render the depth only into a texture

3) render this texture unto the screen using a sobel filter


The performance of step 1 alone is currently adequate (although I haven't started optimize it yet). But I'm having a little trouble getting good performance when all passes are combined. The depth buffer is apparently rendered twice, which seems unnecessary. Is there any way to combine these passes, or otherwise optimize this approach?


Attached File  Landscape.jpg   27.93KB   54 downloads

Samurai Wars 1.0.5 for iOS

22 March 2012 - 02:32 AM

The new version 1.0.5 is finally out.

It was originally released last year and have been laying dormant as I've been working on other things. But recently I've made an effort to bring it into shape, getting it closer to the original vision I had for it. The big new feature in this version is online play.

The game is a tactical real-time war-game for two players set in medieval Japan. It represents the battle between two armies, simulating thousands of soldiers individually.

iTunes link: