|
|
| Author |
Message |
|
| Skully |
Posted: Wed Sep 07, 2011 5:07 pm |
|
|
|
Joined: 21 May 2007
Posts: 8
|
I have made an application to create some animation, which is frame based.
The flow is roughly like that:
1) start frame
2) do defined actions
3) when actions done, send refresh to central animation process, which is a wxPanel with wx_object behaviour
4) panel send repaint message to sprite
5) when all sprites responed done, panel triggers wxWindow:refresh
6) repaint method called from refresh, after that start next frame
That flow is working so far, but when i let my animation go for a while without interaction, it starts to stop/pause.
It stops after the step 4.
When i just move my mouse, it continues for a specific amount of time.
I have the impression it somehow goes into an "sleep" or something.
Someone an idea why that happens? |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|