JeZxLee Posted July 20, 2017 Share Posted July 20, 2017 Hi, I need a method to check if a Pixi sprite exists. For example I have a "FloppyDisk" sprite which is shown on title screen but not previous screen. I need a method to check if Pixi sprite called "FloppyDisk" has been loaded. Thanks! JeZxLee Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted July 20, 2017 Author Share Posted July 20, 2017 Just setting the sprite name to null seems to work... JeZxLee Quote Link to comment Share on other sites More sharing options...
xerver Posted July 20, 2017 Share Posted July 20, 2017 18 hours ago, JeZxLee said: I need a method to check if Pixi sprite called "FloppyDisk" has been loaded. Do you mean texture? You don't load sprites, so I'm not sure what you are asking for specifically. How are you loading the sprite? What do you mean by "loaded"? Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted July 20, 2017 Author Share Posted July 20, 2017 I got it working, thanks! JeZxLee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.