gsKit starter kit Q*Bert

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

gsKit starter kit Q*Bert

Post by ps2devman »

gsKit starter kit Q*Bert

http://home.tele2.fr/~fr-51785/ps2_qbert.zip
(2D sprites with transparentcy)

'Magic biases' from Jbit have been used for high quality texture mapping
(http://www.jbit.net/ps2/gs-linear-sprite.html )

Triangle : Quit
Cross : Start game while demo is running or Pause game while playing
Square/Circle : Swap between antialiased and sharp sprites (linear/nearest filter)

Move right analog stick into diagonals to have Q*Bert jump
User avatar
evilo
Posts: 230
Joined: Thu Apr 22, 2004 8:40 pm
Contact:

Post by evilo »

wow great :)

I'll try as soon as I get back to home :)

thank you (I love Q*bert!)
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Thx.

I've updated pong and q*bert sources.
Appropriate calls were missing to display correctly info in exception.c when an exception fires.
Now, will even display 'try addr2line -e prog.elf nnnn' (to find line out)

You can try to generate an 'address store' exception with this:
{
long a=0;
short *b;
b=(short *)(((u32)(&a))+1);
*b=0;
}

Also added non necessary primalpha setting in system.c with comments to explain the transparency formula in q*bert
Post Reply