Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

change frame
Started by arshiasamiezad Jun 09 2018 03:54 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

arshiasamiezad

[GLOBAL: userInfoPane.html]
arshiasamiezad
  • Observer

  • 4 posts
  • Corona SDK

I'm a newbie. I'm making a game which is needed changing frame. my game has 4 Direction(up, down, right, left). I want my character to do a different animation when it changes it's direction. I don't know how. And I have another problem too. When my character is walking, should do walking animation. but when It stops from walking, he shouldn't walk. Please give me the codes or tell me where I can find the solution. Thanks for reading. :)  :)  :rolleyes:



[TOPIC: post.html]
#2

bgmadclown

[GLOBAL: userInfoPane.html]
bgmadclown
  • Contributor

  • 688 posts
  • Corona SDK

You should have a look at this: https://docs.coronalabs.com/guide/media/spriteAnimation/index.html



[TOPIC: post.html]
#3

arshiasamiezad

[GLOBAL: userInfoPane.html]
arshiasamiezad
  • Observer

  • 4 posts
  • Corona SDK

thanks. I found the solution :)




[topic_controls]
[/topic_controls]