Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: sokoban game - Problem fixed!
From: Elliott, Tim (Tim.Elliott_at_ips-sendero.com)
Date: 2002-10-16


After playing around all day with this, I figured out the problem.
It was my font.
I had been playing around with the "timR08.fnt" for a few days. I assume
that is supposed to be TimesNewRoman8. Anyway, they way I stumbled across
the answer was when I started playing around with the code for sokoban today
and changed the position of where it placed the "moves" variable on the
screen. It turns out that ONE pixel further up the screen worked perfectly.
I also went back and tested this position with the default font and because
the pixels are so small, I couldn't even tell that it had moved up. I am not
sure what the other fonts are going to look like in the game, but this one
sure had me perplexed.
The code had the variable being placed at vertical position 54. I changed my
copy of the code to place the variable at vertical position 53. I can test
out the rest of the fonts and let everyone know the results if you guys want
me to.

-----Original Message-----
From: Elliott, Tim [mailto:Tim.Elliott_at_ips-sendero.com]
Sent: Wednesday, October 16, 2002 10:19 AM
To: 'rockbox_at_cool.haxx.se'
Subject: RE: sokoban game

Mine doesn't. I tried the official 1.4 build, and a few of the daily builds.
None of them will show my moves. It has the word "Moves" with nothing under
it no matter how many times I move. The Level indicator seems to work
though. When I change levels it will indicate what level I am on.

-----Original Message-----
From: Robert Hak [mailto:rhak_at_ramapo.edu]
Sent: Wednesday, October 16, 2002 10:01 AM
To: 'rockbox_at_cool.haxx.se'
Subject: Re: sokoban game

umm.. it does.

On Wed, 16 Oct 2002, Elliott, Tim wrote:

Isn't the game supposed to keep score by counting your moves and displaying
them under "Moves"?



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa