new Game for freerunner: xlogical

Sander van Grieken sander at 3v8.net
Thu Nov 13 17:45:41 CET 2008


On Thursday 13 November 2008 13:45:28 Aapo Rantalainen wrote:
> >Hi All,
> >I just finished the recipe for Xlogical based on Aapo's patches and while
> > we wait until the recipe gets merged to OE/OM, I've put a binary package
> > online for you all to enjoy. I added music, sounds and a wrapper script
> > that rotates the screen to landscape. Right now the music is enabled by
> > default, but I can disable that if that is unwanted behaviour. package is
> > here :
> >http://3v8.net/~sander/openmoko/xlogical_1.0-8-r0.1_armv4t.ipk
> >Let me know what you think.
> >
> >grtz,
> >Sander
>
> Hi, this is great. It raises my motivation to continue with xlogical.
>
> I have some points:
>
> a) audio
> Ok, maybe I overreact when I threw all sounds away. I still suggest
> that default wrapper script is:
> xrandr -o 3
> xlogical.bin audio.enabled=0
> xrandr -o 0

This would only disable the sound on freerunners, since this wrapper script is 
only installed when the device is a GTA01 or GTA02. OE can build it for many 
more devices, so it would have to be set in the 
/usr/share/xlogical/xlogical.properties (that location should probably move to 
/etc too).

There are also volume controls in the game itself, so sound can be disabled by 
the user very easily. If we would disable sound by default, ppl must tinker 
with the config file to get it enabled again, so I somewhat prefer to leave it 
enabled.

Even better would be a 'mute' checkbox, so we can save us the cpu cycles on 
audio.

> b) missing hi-score file
> The file /usr/local/var/xlogical/xlogical.scores is missing. (the
> location is stupid, so change it too. This is some configuration time
> parameter like datafolder.)
> message: ERROR!  Could not open hi-score file.
> (I think the whole hi-score/point system is useless and so 80's)

I like highscores :)

I noticed the error too though, should not be too hard to put it in a good 
location, somewhere under /var or something (/var/local?)

> c) dependeries: libsdl-image-1.2-0
> my package:
> Depends: libsdl-1.2-0 (>= 1.2.9), libsdl-image-1.2-0 (>=1.2.3-r0)
>
> your package:
> Depends: libsdl-1.2-0 (>= 1.2.11), libc6 (>= 2.6.1),
> libsdl-image-1.2-0 (>= 1.2.6), libsdl-mixer-1.2-0 (>= 1.2.6),
> libstdc++6 (>= 4.1.2), libgcc1 (>= 4.1.2)
>
> With fdom: opkg install libsdl-image-1.2-0
> Package libsdl-image-1.2-0 (1.2.3-r0) installed in root is up to date.
>
> And installing your package says:
> * ERROR: Cannot satisfy the following dependencies for xlogical:
>          *  libsdl-image-1.2-0 (>= 1.2.6) *
>
> With -force-depends it works, so you can decrease the needed
> libsdl-image version.

This is what bitbake puts in the package by default. I will try to make it 
depend on the versions you mention.

> d) title_text_2.bmp
> Image title_text_2.bmp says "PRESS (ESC) TO START". You can press or
> click anything to start, so here is same image without text:
> http://www.cs.helsinki.fi/u/rantalai/freerunner/title2_template.bmp
> (maybe someone wants write something to it?)

maybe just "START" ?

> e) title_text_4.jpg
> Startup screen is 640x497, but used window is (now) stardard 640x480,
> so here is resized image:
> http://www.cs.helsinki.fi/u/rantalai/freerunner/title_text_4_standardsize.j
>pg (text are raised a little bit)

I not sure what you mean exactly. I included your patches for the small 
screen, is this another issue?

> I'm planning to make some level selecting dialog (shows which levels
> are passed and which are skipped). Or do we like that
> levelcode/password-system?

I like your idea.

grtz,
Sander





More information about the community mailing list