Mert
Member
Hi.
I create some bullet objects whenever I receive a callback from a javascript extension, and keep doing that. These bullets are destroyed within seconds. However, when I lose the focus of the screen(like switching to another tab, or switching to another window) and return back to the game, all the creation order comes at once and freezes the game drastically! (for a while)
I create some bullet objects whenever I receive a callback from a javascript extension, and keep doing that. These bullets are destroyed within seconds. However, when I lose the focus of the screen(like switching to another tab, or switching to another window) and return back to the game, all the creation order comes at once and freezes the game drastically! (for a while)
- A javascript extension sends an async event back to Game Maker.
- In the Social Async Event, Game Maker creates a bullet object.
- I use os_is_paused()==false to see if the focus is on, and then create the object.