OpenWindowedScreen freezes
Posted: Mon Jul 14, 2014 5:39 pm
Hello guys.
My problem is about OpenWindowedScreen. When i run my game at full screen mode, everything works just fine, but when i run it at Windowed Screen it starts as it must. 'NPC's' moving as they made to and etc.
But when i create a 'tower's' (not single one, like after 78 towers created (each tower is 2 sprites -> body and head (head is 3d sprite for rotating)) WindowedScreen like 'freezes' looks like it just stops drawing it at window, because, on example, KeyboardPushed(#PB_Key_Escape) for closing game still works. So my questions are: how can i solove this problem and why it happens? Is there limit on sprites created for WindowedScreen?
P.S. Im using for each tower new 3d and 2d sprite (for rotating each tower's sprite to it's shot target).
P.S.S. Mby i had to write topic at Game Programming? :d
My problem is about OpenWindowedScreen. When i run my game at full screen mode, everything works just fine, but when i run it at Windowed Screen it starts as it must. 'NPC's' moving as they made to and etc.
But when i create a 'tower's' (not single one, like after 78 towers created (each tower is 2 sprites -> body and head (head is 3d sprite for rotating)) WindowedScreen like 'freezes' looks like it just stops drawing it at window, because, on example, KeyboardPushed(#PB_Key_Escape) for closing game still works. So my questions are: how can i solove this problem and why it happens? Is there limit on sprites created for WindowedScreen?
P.S. Im using for each tower new 3d and 2d sprite (for rotating each tower's sprite to it's shot target).
P.S.S. Mby i had to write topic at Game Programming? :d