playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Should I enable Every Frame option or use a wait for 1 min action?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Should I enable Every Frame option or use a wait for 1 min action? (Read 1139 times)
Silicon Power
Full Member
Posts: 186
Should I enable Every Frame option or use a wait for 1 min action?
«
on:
November 14, 2019, 07:42:30 AM »
Hi. I want to know which is better for a better performance? Enabling every frame or using a wait action too loop every 1 second?
Logged
Thore
Sr. Member
Posts: 480
Re: Should I enable Every Frame option or use a wait for 1 min action?
«
Reply #1 on:
November 14, 2019, 09:25:25 AM »
Checking once a second is better for performance than checking 60 times per second, but it might depend on what precisely is set on every frame. Generally, be mindful of performance, but don’t worry too much at the beginning.
Logged
Starter Guide: Custom Actions
tcmeric
Beta Group
Hero Member
Posts: 768
Re: Should I enable Every Frame option or use a wait for 1 min action?
«
Reply #2 on:
November 14, 2019, 11:02:54 AM »
Just to add on to that. Wait actions also run on the update loop. The wait action also checks a float during that update. So if the everyframe action is just checking a bool, int, float, etc, it would be the defacto the same.
Agreed, worry not, unless you have 1000 fsm doing this
Logged
Silicon Power
Full Member
Posts: 186
Re: Should I enable Every Frame option or use a wait for 1 min action?
«
Reply #3 on:
November 14, 2019, 05:46:09 PM »
Thanks for help.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Should I enable Every Frame option or use a wait for 1 min action?