Thread: iLiad project: tetris
View Single Post
Old 01-25-2008, 06:58 AM   #7
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
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:	714
Size:	20.3 KB
ID:	9525  

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