Rockbox mail archive
Subject: RE: sokoban game - Problem fixed!
From: Elliott, Tim (Tim.Elliott_at_ips-sendero.com)
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
From: Elliott, Tim [mailto:Tim.Elliott_at_ips-sendero.com]
Sent: Wednesday, October 16, 2002 10:19 AM
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.
From: Robert Hak [mailto:rhak_at_ramapo.edu]
Sent: Wednesday, October 16, 2002 10:01 AM
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