Skip to main content
Participant
July 27, 2020
Question

whats the code for a moving character

  • July 27, 2020
  • 2 replies
  • 237 views

i want to create a simple game with a character moving left and right, i have a nested animation, but whats the code i attach to the object?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Joseph Labrecque
    Community Expert
    Community Expert
    July 27, 2020

    This depends on your target platform and document type - but you'd want to respond to something like the arrow keys and change the x/y position of the character based upon that. 

    Participant
    August 4, 2020

    i know nothing about programming/coding, i wanted a copy past AS3 script i could apply to a symbol