TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
Too much lagging [SOLVED]
Pages:
1
Too much lagging [SOLVED]
memmaralit
Posts: 24
July 20, 2015, 02:46:37 am
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
July 20, 2015, 09:05:44 am
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
July 20, 2015, 09:23:31 am
Quote from: Justin on July 20, 2015, 09:05:44 am
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
July 20, 2015, 09:38:47 am
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
July 20, 2015, 10:01:12 am
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
July 20, 2015, 10:05:27 am
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
July 20, 2015, 10:15:31 am
Oh! I get it. Thank you. That's a great idea. I will try it now.
Thanks!
-EsChay
Pages:
1