1 decade ago by Hugeen
Hi,
I'm doing some experiments with ImpactJS and Node and I noticed a problem in the update loop.
To illustrate the problem I have placed 3 console.log :
- 1 when I receive the event to send a missile
- 1 when I spawn the missile Entity in game
- 1 when the first update loop for the missile is called
Here is the video I recorded to show you this "bug"
http://www.youtube.com/watch?v=2rP7feVPeWQ
You may find that when I leave my game window the update loop is not played.
I searched a little bit in the source code of impact but I have not found a solution. If someone has an idea I would appreciate a lot.
Thank you
Bye
I'm doing some experiments with ImpactJS and Node and I noticed a problem in the update loop.
To illustrate the problem I have placed 3 console.log :
- 1 when I receive the event to send a missile
- 1 when I spawn the missile Entity in game
- 1 when the first update loop for the missile is called
Here is the video I recorded to show you this "bug"
http://www.youtube.com/watch?v=2rP7feVPeWQ
You may find that when I leave my game window the update loop is not played.
I searched a little bit in the source code of impact but I have not found a solution. If someone has an idea I would appreciate a lot.
Thank you
Bye