charlie137-2.blogspot.com
Charlie's Second Blog: July 2013
http://charlie137-2.blogspot.com/2013_07_01_archive.html
Tuesday, 2 July 2013. Object Oriented in C. Of course at first glance C seems to be the perfect choice to implement this kind of design. We could have something like:. Class Object { public: virtual void iter(float dt); virtual void render(); private: Vec pos; / . }; class Player : public Object { / . }; class EnemyA : public Object { / . };. Then we could implement Player: iter to update the player position when we press a key, and EnemyA: iter to move the enemy the way we want it. Struct Object { void ...
charlie137-2.blogspot.com
Charlie's Second Blog: September 2011
http://charlie137-2.blogspot.com/2011_09_01_archive.html
Friday, 23 September 2011. Ascii art Tetris game. I was bored so I wrote this little online tetris game in ascii art. I hope someone will have fun playing it. Links to this post. Subscribe to: Posts (Atom). Ascii art Tetris game. Awesome Inc. template. Powered by Blogger.
charlie137-2.blogspot.com
Charlie's Second Blog: Voxel Invaders ported to javascript using emscripten
http://charlie137-2.blogspot.com/2013/01/voxel-invaders-ported-to-javascript.html
Wednesday, 30 January 2013. Voxel Invaders ported to javascript using emscripten. We just released a javascript version. Of our game voxel invaders. That can run on any browser with webgl support. Turns out the port was pretty easy, and I didn't have to write a single line of javascript. So how did we do it? Since our game was written entirely in C, we used emscripten. Some standard C functions are missing. The one that really hit me was. Instead. As a bonus, it turns out the code using. Sound When doing...
charlie137-2.blogspot.com
Charlie's Second Blog: July 2011
http://charlie137-2.blogspot.com/2011_07_01_archive.html
Sunday, 10 July 2011. Voxpaint, an opensource 3d voxels painter. This is the first release of a small 3D voxels painter I had been working on recently. For the moment it cannot do much, but I am planning to use to create some video game graphics. The code is hosted on launchpad: https:/ launchpad.net/voxpaint. Check out the videos:. Links to this post. Subscribe to: Posts (Atom). Voxpaint, an opensource 3d voxels painter. Awesome Inc. template. Powered by Blogger.
charlie137-2.blogspot.com
Charlie's Second Blog: October 2012
http://charlie137-2.blogspot.com/2012_10_01_archive.html
Sunday, 7 October 2012. Video Game in C: using X macros to define game data. As my brother and I recently released our last video game voxel invaders. On android and symbian, I though I would share some of the technical details about it. For my the first post I will talk about a quite useful, although rarely used, C trick known as "X macros", and how we can use it to simplify game code. In the code) that looks like that:. The important attribute of the structure is the first one:. By the way, this kind o...
charlie137-2.blogspot.com
Charlie's Second Blog: September 2012
http://charlie137-2.blogspot.com/2012_09_01_archive.html
Sunday, 23 September 2012. Voxel Invaders : space invader 3d voxels. This week we (noctua software) released our new video game for android phone: voxel invaders. This is the sequel of our previous game Retrocosmos. And it follows the same principle (making a fun space invader game for touch screen devices). Only this time we used 3d voxels (the equivalent of pixels in 3d) for all the graphics. From a marketing point of view, we did two versions of the game: a free demo. And a full paid version.
charlie137-2.blogspot.com
Charlie's Second Blog: August 2009
http://charlie137-2.blogspot.com/2009_08_01_archive.html
Friday, 7 August 2009. Check python coding style on the fly with emacs. A nice emacs trick : using flymake-mode. And this python code styles PEP8 checker script. Written by Johann C. Rocholl, we can have automatic real time checking for standard python coding style. To make this work I copied the script (pep8.py) in my PATH, and then I added this block of code in my .emac file :. When (load "flymake" t). Let* ( temp-file (flymake-init-create-temp-buffer-copy. Py '" flymake-pylint-init) ).
charlie137-2.blogspot.com
Charlie's Second Blog: February 2011
http://charlie137-2.blogspot.com/2011_02_01_archive.html
Monday, 21 February 2011. From org-mode to zim. In a previous post. I shared my enthusiasm with org-mode. The great emacs module for keeping notes and getting things done. At the time I was using org-mode for pretty much everything : taking notes, keeping my contacts list, monitoring the time spent working on different projects, etc. But these days, even though I still think org-mode is one of the most powerful notes taking system out there, I don't use it anymore. Now I am using a mix of hamster. Every ...
charlie137-2.blogspot.com
Charlie's Second Blog: Ascii art Tetris game
http://charlie137-2.blogspot.com/2011/09/ascii-art-tetris-game.html
Friday, 23 September 2011. Ascii art Tetris game. I was bored so I wrote this little online tetris game in ascii art. I hope someone will have fun playing it. Very cool. would be cool if you did a video talking through the code, kinda like Paul Irish does with html5boilerplate. 1 November 2011 at 09:52. Abhijeet N. Vaidya. 10 January 2013 at 00:13. Subscribe to: Post Comments (Atom). Ascii art Tetris game. Awesome Inc. template. Powered by Blogger.