S
sefi331
Guest
Hi guys, I have a really weird problem. I use a portal animation in my game. When the object that has the portal animation in his step and draw event got created - it makes the game stuck and lag for a second, but only when the object is first created. After that the object got destroyed and recreated again with no lag at all - everything go smoothly. I tried to change the code so the object will get created when the game first start and not be destroyed at all (control the animation creation by variables) and it still not working. The object using the famous approach script in his step event and draw event. Did someone got any idea why it happens? Thank you.