Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Games
  • Assigned To
    kkurbjun
  • Operating System Sansa c200
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bertrik - 2009-09-05
Last edited by bertrik - 2009-12-17

FS#10585 - c200: Brickmania ball moves very slowly and bonus items don't fall down

On sansa c200 and c200v2 in the brickmania game plugin, the ball moves very slowly. Also bonus items don’t drop anymore, they just keep floating at the position of the brick they were in.

Reverting r22582 (”Brickmania: Make the game speed scale with the GAMESCREEN_HEIGHT”) makes it work again.

Closed by  bertrik
2009-12-17 22:38
Reason for closing:  Fixed

Confirmed on Sansa Clip.

Try this:

   bm.diff (1.6 KiB)

Some minor change.

   bm.diff (1.5 KiB)

About the speed:
I think that some colossal loop is needed a faster CPU, so the game is slower than the supposed.
Before r22582, It was supposed to be very fast, so it became balanced.
In r22582, the speed was changed, (by the size of the screen), and from then, it’s supposed to be normal, and, in actual fact, slow.

Some time ago, I write some code to replace that loop (It’s in  FS#10485 , but there is many other changes there)
This code, caused brickmania become very fast (if I remember it correctly, I couldn’t finish level 4)
But this was before r22582, and there was to many other changes, so auto-merging is impossible.
However, I can rewrite this part of the code, but it’s still a large change, so I think that it’s better that a develop will have a look.

I think that this file make it a bit better.
Still, there are a lot of think that can be improved. (And also some bugs that can be fixed)

   bm.diff (2.8 KiB)

Is this still a bug? The fixed point conversion should correct all of the problems smaller screens were seeing. The game loop could be faster, but it appears to be fast enough even with slower processors.

Works fine for me now on sansa clip and sansa c200.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing