[BUG] Graphics don't update properly
Posted: Mon Dec 05, 2011 10:05 am
While this is probably a known bug, I've seen some games work so I guess it works in some situations but not in others, so I thought it might be a good idea to make a thread about it.
I run this very simple code (which will eventually be a totally awesome game).
http://dl.dropbox.com/u/7572962/MILF.love
Basically what it does is that is has a state system, and one state draws something (green background with a picture that can be clicked to go to the next state) and the other state draws two pictures and a blue background.
What happens is that when you go to the next state, the green background is kept and the pictures don't show correctly.
However, if you somehow update the graphics, by for example changing the orientation of the phone to portrait and back to landscape, it looks fine. Any workaround? Or is this something that is worked on?
I'm running today's love-android on CM7.1 on a HTC Desire.
Also, by the way, any way to force landscape yet?
I run this very simple code (which will eventually be a totally awesome game).
http://dl.dropbox.com/u/7572962/MILF.love
Basically what it does is that is has a state system, and one state draws something (green background with a picture that can be clicked to go to the next state) and the other state draws two pictures and a blue background.
What happens is that when you go to the next state, the green background is kept and the pictures don't show correctly.
However, if you somehow update the graphics, by for example changing the orientation of the phone to portrait and back to landscape, it looks fine. Any workaround? Or is this something that is worked on?
I'm running today's love-android on CM7.1 on a HTC Desire.
Also, by the way, any way to force landscape yet?