Showing posts with label game. Show all posts
Showing posts with label game. Show all posts

Friday, July 24, 2009

Experimenting with haXe

So, I found on the web this nice language that can compile to flash/javascript/php and other bytecodes (even to pure binary) and I decided to give it a try.

And, also, some time ago I started to wonder if I could make a Facebook app (a game).
I started to think to something easy to make and funny to play and then a little flash game on a site with some simple tutorials reminded me of a stupid game I wrote in C at school using only OpenGL's rectangle and triangle.

I spent something like 3 hours trying to code a GameMaker-like engine in flash, but I wasn't able to figure out how the flash drawing system works.
Tired, I pointed my browser to Google and found this nice tutorial on making a 2D game with haXe. Its approach to bitmap blitting is odd: it creates a BitmapData object for the screen, then it creates a Bitmap from it and adds it to the root (flash.Lib.current).

I adapted some of the tutorial code to my engine and now I have some rectangle moving on the screen :). The next step will be to add support for animating sprite and then I can start the funny part: programming the gameplay.

Here is the demo (only 6Kb, you should understand why it is so small xD):

Thursday, June 25, 2009

New release of KlonDuke

New release of my tool to edit iPod Klondike savefiles!

Well, actually it is not a new release, I just rewrote the old code using Qt4 instead of FLTK.
Advantages? Easier to compile, solves some issue and looks nicer :).

You can download the linux binary or the source code from emptylabs @ Google Code (it is name v0.2).

Some screenshots (before, after, about):


P.S.: If someone manages to compile it under MSVC or XCode I'll be happy to link it here :)

Thursday, January 22, 2009

KlonDuke 0.1

Here's my new useless software: KlonDuke
It's a graphical application based on the FLTK2 toolkit that lets you edit savefiles of the iPod game "Klondike".

(You must have already saved a game to use this tool)
It's really simple, just open it, click on "Open", select the "datafile" in the directory IPODDIR/iPod_Control/gamedata_RW/110xx (Where IPODDIR is the directory where the disk is mounted on unix-like systems or something like F: in Windows, and 110xx is the game ID starting by 110 with the last two digits changing from version to version), edit whatever you want (if it shows a wrong player name it's better that you simply close the program), click "save" and then "close" or "quit".

If something goes wrong you can delete the datafile from klondike's directory and the game will create a new one.

Screenshot:


Sources: klonduke-0.1.tar.gz
SHA1 Checksum: 334d212c228e354a9643693f1ecd51b7c028763a
Linux binary: klonduke-0.1_linux.tar.gz
SHA1 Checksum: 5441f93807876dda33dfb8b454a86717647fdd8b
Windows binary: I'm having problem with FLTK2 and MinGW
Mac binary: I don't have a Mac!

P.S.:
If you want to make a precompiled executable that isn't listed there simply leave a comment. I need a Mac binary and a MS VC++ one (VC is better than MINGW).