Vodafone 3gc & VGA full screen
Develop a Vodafone midp2.0 game. You can set the midxlet-screensize value in the MIDlet attribute value to set the game screen size. According to the Development Data provided by SoftBank, this value is limited to the following values: 120,130 or 240,260 or 240,320 or 480,520. The 802se model is a special case: 176,182.
I met a game yesterday. midxlet-screensize is set:
Midxlet-screensize: 240,260
In the game, useSetfullscreenmode(True); Set full screen, and use dual-buffering to describe the image. The results are not full screen on v804sh, v804n, v904sh, and v905sh, but on other models. Even if I have increased the background buffer height by 60 pixels (to solve the full screen problem, which is effective for 903sh and so on), I am still confused.
In the previous game, the midxlet-screensize attribute is not set at all.Setfullscreenmode(True); Set the full screen, and use double buffering (the buffer height is increased by 60 pixels) to depict the image and run well on v904sh. The same method was ineffective in the game yesterday because the midxlet-screensize attribute was not set, the resolution was high, and the image was reduced. God, the ghost knows what special likes these machines have ~
Today, I tried to remove the dual buffer and directly describe it. It's okay. I really don't understand ~~