DirectDraw C++ game

Digging backup files and found old C++ project written almost 10 years ago. It took me an hour to adopt and compile it under VC Express 2012.

Nothing serious found except of impossibility to use HP STL and minor changes in code related to more strict rules for new C++ compiler than before.

The project itself is logic 2D game written using plain DirectX API and few more third-party libraries for routine tasks, like parsing image formats and support zip archive.

The source code is available on GitHub.

Hex Match3 game

Pygame is good tool for quick game prototype. Here is basic match game with next rules:

  • Each cell can be moved in four directions
  • Once cell is moved it shifts linked cells
  • Four and more cells in chain can be deleted
  • Once chain is deleted the countdown timer goes up

So pretty simple but still leave enough place to test different technologies on level higher than simple hello world example.

protomg

The source code is available on GitHub.

2D game for iOS

There are many ways to develop 2D game for iOS. My personal list as follows:

  • ObjectiveC and Cocos2D. The good is Cocos2D and tools around it, especially brilliant SpriteBuilder. The bad is ObjectiveC.
  • C# and MonoGame. The good is C#. The bad is all other, you naturally need to develop everything from scratch, animation, effects, content processing. Shaders compilation requires Windows PC to run 2MGFX tool.
  • C# and Unity. The good is Unity and C#. Haven’t tried too deeply but from tutorials it looks more focused on building a game rather than learning from doing.
  • ActionScript and Flixel. Not yet tested personally but ActionScript is definitely better than ObjectiveC.
  • HTML5 and Phaser with CocoonJS. Not yet tested but looks very promising and uses JavaScript.

Not for iOS but very convienent for quick prototype is pygame library.

Which one to choose depends on what do you want to achieve. Create a game or learn how it works under the hood.