Register Guidelines E-Books Search Today's Posts Mark Forums Read

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, 08:09 AM   #1
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
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:	584
Size:	129.3 KB
ID:	5690  

Last edited by yokos; 09-21-2007 at 01:06 PM.
yokos is offline   Reply With Quote
Old 09-21-2007, 08: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,695
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
 
Advertisement
Old 09-21-2007, 09: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, 03: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, 03: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
Old 01-22-2008, 04:08 PM   #6
Gogolo
Addict
Gogolo has learned how to buy an e-book online
 
Gogolo's Avatar
 
Posts: 345
Karma: 92
Join Date: Sep 2007
Device: iLiad V2 and DR1000S (OMG)
Hi yokos - any progess with tetris? Would be a nice game ...

Greetings
Gogolo
Gogolo is offline   Reply With Quote
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
Old 01-25-2008, 12:34 PM   #8
Gogolo
Addict
Gogolo has learned how to buy an e-book online
 
Gogolo's Avatar
 
Posts: 345
Karma: 92
Join Date: Sep 2007
Device: iLiad V2 and DR1000S (OMG)
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 12:55 PM.
Gogolo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:44 PM
Does anyone want to take on a project? Nate the great Workshop 2 10-20-2007 12:05 AM
Twain Project Nate the great Sony Reader 19 07-17-2007 12:57 PM
iLiad My Next Project: XMMS Adam B. iRex Developer's Corner 20 03-21-2007 04:40 PM
Guttenberg project liems Sony Reader 4 10-28-2006 01:10 PM


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


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