tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/13223-cant-use-signal-statemachineRobotlegs: Discussion 2018-10-18T16:35:58Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-17T20:25:41Z2015-06-22T07:35:00ZCant use Signal StateMachine <div><p>Hello there,<br>
I am trying to use State-machine with RL2. I have successfully
tested the state-machine by Joel Hooks , which is Event based. I
followed this <a href="http://knowledge.robotlegs.org/discussions/robotlegs-2/3418-finite-state-machine-utility-for-rl2">
discussion</a> . But this does not have exiting and entering
gaurds.<br>
Then I found <a href="http://knowledge.robotlegs.org/discussions/examples/937-signal-based-state-machine-extension-for-el-20">
this</a> in resources and i like the features mentioned on <a href="https://github.com/DavidWhittingham/robotlegs-extensions-SignalStateMachine">
the extension</a> repo page. I am trying to test a simple example
but cant. I used all the dependencies mentioned. It seemed that the
<a href="https://github.com/DavidWhittingham/robotlegs-extensions-SignalStateMachine/blob/master/src/robotlegs/bender/extensions/signalStateMachine/decoding/SignalXMLStateDecoder.as">
SignalXMLStateDecoder</a> at lines 283 and 299 uses
<code>this.signalCommandMap.map(signalClass, stateName)</code> ,
whereas <a href="https://github.com/pixels4nickels/robotlegs-extensions-SignalCommandMap/blob/master/src/robotlegs/bender/extensions/signalCommandMap/api/ISignalCommandMap.as">
ISignalCommandMap</a> has different signature for <code>map</code>
method... How can i use this Signal State-Machine?? Or some other
library/extension (preferably using Events instead of Signals)
which uses guards for entering/exiting a state?<br>
I hope its not too late with all the Flash stuff fading away
:(.</p></div>thexebtag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-18T08:18:27Z2015-06-22T07:35:00ZCant use Signal StateMachine <div><p>Hello,</p>
<p>You're right, the libraries used in those projects might be
old.<br>
I suggest to contact the authors directly, either on github or on
twitter.</p>
<p>I'm sure Neil will be willing to help you. Try @neilmanuell on
twitter.<br>
I'll also try to contact him and let him know about your
questions.</p>
<p>I don't know of any other StateMachine extensions for robotlegs
2.</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-18T08:51:32Z2015-06-22T07:35:00ZCant use Signal StateMachine <div><p>Hi<br>
I'm afraid I'm no longer maintaining those repos, due as you say to
the fading of AS3.</p>
<p>however Joels state-machine (which is a straight port of my
pureMVC original) does have entering and exiting guards</p>
<p>Take a look at the pureMVC docs here:<br>
<a href="https://github.com/PureMVC/puremvc-as3-util-statemachine/wiki">https://github.com/PureMVC/puremvc-as3-util-statemachine/wiki</a></p>
<p>I think it explains how to cancel a transition</p>
<p>get back to me if you have problems</p></div>neiltag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-19T13:35:00Z2015-06-22T07:35:00ZCant use Signal StateMachine <div><p>Thanks Odina.<br>
Neil, i'll look these and will bother you about it :) some year ago
my colleagues used puremvc +statemachine to animate a character.but
i canot access that code before 1 month.</p></div>thexebtag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-19T15:11:09Z2015-06-22T07:35:00ZCant use Signal StateMachine <div><p>Just to confirm, use Joel Hooks' until, but as it is a straight
port you<br>
can use the documentation from pure MVC</p></div>Neil Manuelltag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-22T11:57:48Z2015-06-22T12:02:12ZCant use Signal StateMachine <div><p>I got it working just fine :) I have commit some changes to both
extensions<br>
<a href="https://github.com/thexaib/robotlegs-extensions-SignalStateMachine/tree/patch-1">
Signal StateMachine</a> and <a href="https://github.com/thexaib/robotlegs-extensions-SignalCommandMap/tree/thexaib-patch-1">
Signal CommandMaps</a></p>
<p>Thanks for your support.<br>
Long Live AS3.0 ;) :P</p></div>thexebtag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-24T13:33:30Z2015-06-24T13:33:30ZCant use Signal StateMachine <div><blockquote>
<p>I have commit some changes to both extensions</p>
</blockquote>
<p>nice</p>
<blockquote>
<p>Long Live AS3.0 ;) :P</p>
</blockquote>
<p>+1</p>
<p>I guess this is resolved?</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/371549422015-06-24T17:10:19Z2015-06-24T17:10:19ZCant use Signal StateMachine <div><p>Yes Odina, Thanks for the support :)</p></div>thexeb