Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

problems with SetFrame(2) and play()
Started by drewvy Sep 28 2019 11:14 AM

1 reply to this topic
setframe play sprite
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

drewvy

[GLOBAL: userInfoPane.html]
drewvy
  • Observer

  • 17 posts
  • Corona SDK

If I setFrame(1) and play() a sprite, it animates as expected.

But if I SetFrame(2) and play() is doesn't animate.

 

 

Sprite setup

{ name=POSING, start=1, count=13, time = 100, loopCount= CORONA_LOOPFOREVER }

 

I've seen this question posted before and it was never answered.



[TOPIC: post.html]
#2

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 596 posts
  • Corona SDK

Hi @drewwy, can you show us the exact code you are using?  Remember to use the code button or

 to display your code as code.

 

Also, what is "CORONA_LOOPFOREVER"?




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: setframe, play, sprite