J2ME Samsung double buffer problem

Started by
1 comment, last by Clive_T 18 years, 1 month ago
I write a game where the level consists of small pieces (tiles) of size 16x16. To make the game faster I use two buffers. First I draw all the level piece on one buffer, then (when I move) I draw one buffer to other with some offset, and then draw the borders (some pieces must come onto screen). Every phone works right but not Samsung (mainly X640). I think one buffer is not drawn right onto the other, and border pieces are drawn right. The other problem is with some colors that are not drawn at all. The problem is only on Samsung device. Siemens, Sony Ericsson and Motorola work right!
VATCHENKO.COM
Advertisement
Bumping to a more appropriate forum.
If it's only certain colours which seem to be wrong, make sure your png with the tiles on it has been saved without transparency.

Some Samsungs decide for themselves what will be transparent though!
Try loading your tiles.png into Paintshop Pro, then saving them out again.

This topic is closed to new replies.

Advertisement