OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: CoreyC on June 12, 2004, 10:37:15 pm
-
I\'ve updated frozen-bubble in the unstable feed.
If you want to save your high scores, do this before installing:
mv /home/root/.fb* /home
and then after install:
mv /home/.fb* /home/root
Changes:
The \'p\' button now pauses the game. I know that not having a pause button had to annoy somebody out there.
I converted all of the png images fro 24-bit to 8-bit and reduced the coloring from 256 colors to 64 colors. This cuts the file sizes of the images in more than half and improves game speed and loading time. You shouldn\'t even notice the difference on the tiny screen
Got rid of the \'falling bubble\' animation that slowed down gameplay in the 2 graphic level (the default graphics level).
I\'m probably going to do 1 more update, its just going to be a couple of weeks before I have the time. I want to compress the wav files a little to save space and find some more ways to improve speed even more.
-
I find it really boaring having to start over each time again ... or having to load the game manually to the last level I was playing ... so I made a little work around to load the next level respect to the highest hiscore saved.
here it is (replace your /usr/local/bin/frozen_bubble.sh with this):
#!/bin/sh
LEVEL=$(grep "'level'" ~/.fbhighs* |awk '{print $NF}' |tr -d "," |sort -nu |tail -1)
if [ "$LEVEL" != "" ]
then
frozen_bubble -sl -fs -so -l$(expr $LEVEL + 1)
else
frozen_bubble -sl -fs
fi
-
Actually I realized that frozen bubble saves highscore on the level you are plying not the one completed ... so there is no need to do that "expr $LEVEL+ 1" stuff .... just use -l$LEVEL like this:
#!/bin/sh
LEVEL=$(grep "'level'" ~/.fbhighs* |awk '{print $NF}' |tr -d "," |sort -nu |tail -1)
if [ "$LEVEL" != "" ]
then
frozen_bubble -sl -fs -so -l$LEVEL
else
frozen_bubble -sl -fs
fi