Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2007, 07:09 AM   #1
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)
project: tetris

This morning I tried gtktetris. Of course it's megalomaniac to port an action game for iLiad.

What? Tetris is an action game? Yep, rapid movements on screen. Not the same as a board game.

Oh, it's working & addictive. Screen refreshes need many tweaks, but playing level 1 is ok. I played it with USB & software keyboard, because I'm too stupid [right now] to add support of flipbar/up/dot/down buttons.

on my private to-do-list:
I have to learn to add support of iLiad's buttons. And fast please.

#1 tetris on iLiad's screen
Attached Thumbnails
Click image for larger version

Name:	gtktetris.png
Views:	815
Size:	129.3 KB
ID:	5690  

Last edited by yokos; 09-21-2007 at 12:06 PM.
yokos is offline   Reply With Quote
Old 09-21-2007, 07:13 AM   #2
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
To support buttons, simply set the gtk title to "sh".

Also, it will need to be launched from the contentlister when testing.
Adam B. is offline   Reply With Quote
Advert
Old 09-21-2007, 08:13 AM   #3
nekokami
fruminous edugeek
nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.
 
nekokami's Avatar
 
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
Yokos, you're crazy. But I have to say I like your kind of insanity.
nekokami is offline   Reply With Quote
Old 09-24-2007, 02:11 PM   #4
firekat
Groupie
firekat has a complete set of Star Wars action figures.firekat has a complete set of Star Wars action figures.firekat has a complete set of Star Wars action figures.firekat has a complete set of Star Wars action figures.
 
Posts: 157
Karma: 314
Join Date: May 2006
Tetris?

No, no no! If you put Tetris on the iLiad all my time would be spent playing Tetris all day long! I am addicted to Tetris. I have to make sure it's not on any of my electronic devices. Same thing for Mahjong.

shhh, secretly a Tetris port sounds really neat!
firekat is offline   Reply With Quote
Old 09-24-2007, 02:41 PM   #5
mind
Member
mind began at the beginning.
 
Posts: 24
Karma: 11
Join Date: Sep 2007
Device: iLiad
Is there a refresh after every step a brick does? Is it smooth? All this sounds cool
mind is offline   Reply With Quote
Advert
Old 01-22-2008, 03:08 PM   #6
Gogolo
Addict
Gogolo has learned how to buy an e-book online
 
Gogolo's Avatar
 
Posts: 353
Karma: 92
Join Date: Sep 2007
Device: DR1000S, Nook ST (rooted), Kobo Aura one (ksm)
Hi yokos - any progess with tetris? Would be a nice game ...

Greetings
Gogolo
Gogolo is offline   Reply With Quote
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:	616
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
Old 01-25-2008, 11:34 AM   #8
Gogolo
Addict
Gogolo has learned how to buy an e-book online
 
Gogolo's Avatar
 
Posts: 353
Karma: 92
Join Date: Sep 2007
Device: DR1000S, Nook ST (rooted), Kobo Aura one (ksm)
Oh cool you look at it again. Thanks.

You can edit xpm with gimp: http://www.gimp.org/

I could help here (just edited xpm for micropolis), if I know wheres the problem.
Edit: Ah I understood now: You could edit the images, but tetris didnt like them anymore, yes?

Greetings
Olivier

Last edited by Gogolo; 01-25-2008 at 11:55 AM.
Gogolo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad The iLiad OS Project jharker iRex Developer's Corner 145 12-09-2013 12:44 PM
Does anyone want to take on a project? Nate the great Workshop 2 10-19-2007 11:05 PM
Twain Project Nate the great Sony Reader 19 07-17-2007 11:57 AM
iLiad My Next Project: XMMS Adam B. iRex Developer's Corner 20 03-21-2007 03:40 PM
Guttenberg project liems Sony Reader 4 10-28-2006 12:10 PM


All times are GMT -4. The time now is 07:11 AM.


MobileRead.com is a privately owned, operated and funded community.