Skip to main content
Participant
July 27, 2020
Question

whats the code for a moving character

  • July 27, 2020
  • 1 reply
  • 228 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 has been closed for replies.

    1 reply

    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