Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

State Machine Player Movement?

Explorer ,
Mar 07, 2017 Mar 07, 2017

So I was looking in to things and I think I might make my player movement a state machine. But I can't find any for movement that go over what I need heres what I found: actionscript 3 - Action Script 3, character selection - Stack Overflow  (one of the answers on the page but not the selected one)

This is my adaptation of the state machine class:

[ActionScript 3] citymain - Pastebin.com

and then in the character class:

[ActionScript 3] character class - Pastebin.com

Im not sure how state machines work, actually. So I don't know if I used it right. I know I get a label for the button press, if I do it right... Anyway any help would be appreciated.

heres an other type I attempted: (less complex)

[ActionScript 3] Level code - Pastebin.com

Message was edited by: Maya Stringer

TOPICS
ActionScript
349
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2017 Mar 09, 2017

the more links in a message, the less likely you'll get a response.  also, asking that files be downloaded significantly decreases the likelihood you'll get a response.  and the more nebulous a message (eg, 'state machine player movement'), the less likely you'll get a response.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 09, 2017 Mar 09, 2017
LATEST

Non of those require download. They are just an easier way to view the large quantity of code I have. (plus under the code markers they don't have one for as3, they have c++ and c# whatever those are Wait is c# cs3?) Anyhow it's irrelevant as a newer problem has arisen and its taken priority. I'll probably delete or edit this question after I post the new one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines