Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on November 05, 2018, 06:21:08 PM
-
Hi !
This is the FSM I wrote for a function. One Firework will spawned on 3rd kill, Two fireworks on 6th kill and 3 Fireworks on 9th and coming every 3 kills.
This is the FSM I wrote
(https://i.imgur.com/A41Pj9j.png)
a member from another forum gave me a solution with just 5 states.
Look at my FSM. I have lot of states and each states has many actions. Since I am a newbie and having lack of Logical thinking, I have to go through many steps to get the job done.
Will writing FSM with lot of damn states will lag/slowdown mobile device ?
Just asking :)
-
No, using Playmaker has a negligible overhead compared to coding.
-
Hi,
yes, it's negligeable. The overhead is 1Mb ( the size of the playmaker dll core to run your fsm, everything else ( actions) are plain c# scripts)
also, it's not the number of states but what you actually and which one is active ( only one state is active per fsm. so it's more the actions you use and when/how that matters.
Bye,
Jean