Skip to main content
Participating Frequently
June 24, 2023
Question

Need help with Character Movement and Animation

  • June 24, 2023
  • 1 reply
  • 217 views

I have a character pixel sprite template that has it running and jumping is there any way to get those images into animate cc or do I have to create a gif of the running sequence and upload it to animate cc. Also how do I code a character to run and jump with arrow keys. I've already tried code snippets while the character was selected and did AS> animation> move with keyboard arrows but when I play test the animation the page is completely blank. When I took out all of the code and playtested it again the animation was back. 

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 24, 2023

what file type is your sprite.

 

for coding, as3 or html5?  

 

then for novices, it's easier to create a new fla with simple object that you try to control with snippets.  once you understand that, you're more likely to be successful with a more complex fla.

Participating Frequently
June 24, 2023

I have a series of seperate png images of the character's movement and I'm using as3. 

 

kglad
Community Expert
Community Expert
June 25, 2023

you can import png's into animate, and animate detects a sequence it will offer to load them all even if only one is picked