Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Image sheet being displayed with sprites
Started by uuela9971 Jan 19 2019 04:12 PM

- - - - -
2 replies to this topic
image sheets sprites animation
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

uuela9971

[GLOBAL: userInfoPane.html]
uuela9971
  • Enthusiast

  • 65 posts
  • Corona SDK

I have a simple image sheet of a paint can falling over. This has been run through texture packer and I am using the .png and created .lua file to set up for the animation.

 

The can displays fine and falls over as expected, however the entire sprite sheet displays in the background behind the animated sprite. For each image rendered I get a new display of the image sheet. This makes for a very cluttered scene.

 

Any ideas on how to correct this issue?

 

 



[TOPIC: post.html]
#2

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 770 posts
  • Corona SDK

I use texture packer without any issues, and have from the beginning after reading the documentation. I'd go back and start there.

[TOPIC: post.html]
#3

uuela9971

[GLOBAL: userInfoPane.html]
uuela9971
  • Enthusiast

  • 65 posts
  • Corona SDK

Fixed, had an old piece of code in the class that was causing the issue.




[topic_controls]
[/topic_controls]