Too much lagging [SOLVED]

memmaralit

  • Posts: 24
Hi! My game has too much lags and i don't why. Attached is my exported game. Can anyone please try it and tell me what the problem is? Thank you so much! Just press space bar to enter game. awsd are the controls and press enter to talk to the first NPC. Thanks!

« Last Edit: July 20, 2015, 10:30:16 pm by memmaralit »
-EsChay

Justin

  • *
  • Posts: 4716
Sorry, the game runs fine for me. I have no idea.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

memmaralit

  • Posts: 24
Sorry, the game runs fine for me. I have no idea.

Oh. I see. Maybe it's with my PC or something. Earlier I tried deleting some regions and it worked fine, no lags or anything. But then adding some regions again creates too much lag. That's weird. Thank you so much for trying! :)))
-EsChay

Justin

  • *
  • Posts: 4716
Perhaps you could try relying less on regions. Maybe when you press enter, loop through the actors on screen, and if you're within, say, 50 pixels of an actor that has a "dialog" behavior attached, start a dialog using the information in the dialog behavior attached to that actor.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

memmaralit

  • Posts: 24
I think that's what i really need to do then. What do you mean by "loop through the actors on screen"?
-EsChay

Justin

  • *
  • Posts: 4716
I mean to use the block "Scene > Actors > for each [ actor on screen ]".
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

memmaralit

  • Posts: 24
Oh! I get it. Thank you. That's a great idea. I will try it now. :D Thanks!
-EsChay