Trying to get around timers, tad issue.
SBSEA2202
Member, PRO Posts: 2
So basically what I am trying to get gamesalad to do is flip an attribute to a bool to true and false every 2 seconds. I am trying to use a rule to get it to do it to save on overhead later. But all it will do is spawn 4 actors then stop altogether. I would like to note a few things in the screen shot I only have one of the rules that is flipping the bool. The other one is identical except the opposite true/false statement. I also have tried just using > does not seem to want to fire off right. Works just fine as soon as I put it back into a standard timer..... I am starting to go nuts because I know I have made this work before.
Comments
lets say the bool is called AAA
put a timer every 2 seconds
change attribute AAA to not(AAA)
im trying edit to upload an image but it wont let me
What Icebox said . . .
. . also another solution is to use an Integer attribute rather than a Boolean attribute, and then use this simple equation:
Every 2 seconds
Change attribute AAA to 1-AAA
I am trying not to use the timer rule gamesalad has, though. They tend to really tax devices if your game is very timer heavy. I had it set up with timers like Icebox had and that works fine. I am just trying to get around it to free up processes.
This is not true that is an old issue from many years ago. Use a timer. I use them all the time.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I've used lots of timers too like @Lost_Oasis_Games and have never had any problems or slow downs using them.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
As others have said, the timer problems are no longer valid. GameSalad specifically fixed the big timer issues a couple of years ago. Go nuts with them now.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
I'm also in the timer camp ! When I need to use them I use them, I've never really had issues.
There you go a general consensus from four of the top veteran developers.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Yeah, that's all well and good, but unless the idea's been approved by Tony the Spider (and that's not likely to happen) it doesn't really mean much.
Now that is a stamp of approval!
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS