Archive for November, 2010

My first useful hack !

November 27th, 2010
Comments Closed

Perhaps you noticed I didn’t post a lot between july and november ?
In fact, I was really busy with an interesting hack : add 6 buttons support to NH’94 game.
If you play the classic game, you have to long press B button to select the goal….it’s a really poor game play!
I could easily understand why clockwise asked me to make this hack.
After a lot of disassembling and 68k asm frustration, I was finally able to add this feature with the less code as possible.
I would like to thanks everyone from Spritesmind’s forum who, as usual, helped me : Chilly Willy (6buttons asm routine), Hardwareman and others on the asm tricks…

I will release soon a full article on how I did it so it will help anyone wanting to do the same on another game.

Megadrive | Posted by KanedaFr

AnimLib -v3, with behavior

November 25th, 2010
Comments Closed

I finally finished my animated sprite library, with behavior.
Felicia now jumps like a frog using this code

void Felicia_update( struct AnimatedSprite *felicia )
        if (felicia->curFrame<2)        return;
        if (felicia->curFrame>6)        return;

        felicia->x %= 320;

int main( )
        struct AnimatedSprite *animFelicia;

        animFelicia = Anim_New(FELICIA_ANIM, &felicia, 1, 10, 70, PAL1 );
        Anim_SetBehavior(animFelicia, &Felicia_update);

        while(1) { Anim_Update(); }

Note this demo is now using the last version of Stef’s GenDevKit

Megadrive | Posted by KanedaFr

AnimLib -v2

November 21st, 2010
Comments Closed

I made a more GDK linked version

I can’t understand how I made the newbie’s mistake to update AFTER vsync and not DURING vsync!

Now working on behavior : each step, anim sprite will call its own update function.
Very handy because you don’t have to handle every anim x/y/properties update on one function.
Of course, not great for EVERY game since you haven’t fine control (like update some sprites every 3 frames, etc…) but I’m pretty sure it would be great for fighting game or end level STG boss!

Megadrive | Posted by KanedaFr

Anim lib for genRes in progress

November 17th, 2010
Comments Closed

I can’t believe it! It’s been so long I code for genny…

Today, I rewrote my anim engine for genRes using GenDevKit… Result is quite good :

Download ROM sample

Megadrive | Posted by KanedaFr


November 14th, 2010
Comments Closed

I thought I had to skip on RetroGC again this year (silly me) but I finally made a quick visit to all these retro geek 😉
Very fun to see all these guys use their spare times to make so many great things : RType on CPC464 must be a nightmare to code!

Misc | Posted by KanedaFr

Genny, I miss you !!!

November 9th, 2010
Comments Closed

I finished several Flash projects this year…and you can’t imagine how much I miss Genny development !
I think there is something strange with me : why should I spend my precious free time for something I won’t win a penny from ?

But, for now, I must chose between finishing a game or start a hardware based project…

Misc | Posted by KanedaFr