Thread: iLiad project: tetris
View Single Post
Old 01-25-2008, 07:58 AM   #7
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Quote:
Originally Posted by Gogolo View Post
Hi yokos - any progess with tetris? Would be a nice game ...
Well, to be honest I did nothing with it all the time. Thanks for your reminder.
So I did some work yesterday.

Right now I'm struggeling with the included graphics files [xpm] of the blocks. I wanna have them more iLiad friendly.
I edited them in Krita, but make doesn't like them. Whatever the crux is...

Support of iLiad buttons is working now. But I have to turn the blinking LED off. I could get a epileptic seizure when playing it. I have to check this out.

screenshot: keys/buttons layout. "drop block" should be flipping bar.

[EDIT]: Oh, problem with loading edited X PixMap files is solved:
First 2 lines of all xpm files have to be:
Code:
/* XPM */ 
static char * blocks_xpm[] = {
When editing the file big_blocks.xpm in Krita/GIMP it got:
Code:
/* XPM */ 
static char * big_blocks.xpm[] = {
Attached Thumbnails
Click image for larger version

Name:	gtktetris_help.png
Views:	378
Size:	20.3 KB
ID:	9525  

Last edited by yokos; 01-28-2008 at 01:06 PM. Reason: X PixMap
yokos is offline   Reply With Quote