19:31:57.802 WARNING: C:\Users\user\Documents\Corona Projects\Game Dev Course\Lecture 02\GameDev-03-DisplayAnimate\main.lua:13: Failed to find image ‘image/snake.png’
19:31:57.802 ERROR: Runtime error
19:31:57.802 C:\Users\user\Documents\Corona Projects\Game Dev Course\Lecture 02\GameDev-03-DisplayAnimate\main.lua:14: bad argument #1 to ‘newSprite’ (ImageSheet expected, got nil)
19:31:57.802 stack traceback:
19:31:57.802 [C]: in function ‘newSprite’
19:31:57.802 C:\Users\user\Documents\Corona Projects\Game Dev Course\Lecture 02\GameDev-03-DisplayAnimate\main.lua:14: in main chunk
Am very very new to this. Help is greatly appreciated.
Can you supply a link to the instructional material or tutorial you were following?
That looks like you’re using a very old example that is no longer valid. The V1 warning is saying, “Hey! This code was written for Corona Graphics V1!” Corona has been V2 for many years now, so I think we need to get you onboard with newer examples.
BTW: This is an example of “Hijacking a thread”. Your question about levels should have been it’s own unique post as well as the question about stars. This is a thread about issues running sprites made with Texture Packer and has nothing to do with Stars or Level making. Please create new threads for these topics.
I decided to delete my response to your questions since I’m contributing to the redirecting of this conversation.
There are two main reasons for this no hijacking rule. First if someone has information to share with you about how to handle levels, they are not going to look into a thread about sprites with texture packer. The opposite is also problematic. If someone comes here looking for the answer to sprites with texture packer and they find a thread discussing how to show stars, they won’t be getting what they came here to find.
If you can’t find an appropriate thread related to your specific question, then start a new one. As for the two questions in one, it’s similar, if the thread starts talking about levels and changes to stars, people will get confused about what the thread is about, so again, it’s best to split the conversations.
Can you supply a link to the instructional material or tutorial you were following?
That looks like you’re using a very old example that is no longer valid. The V1 warning is saying, “Hey! This code was written for Corona Graphics V1!” Corona has been V2 for many years now, so I think we need to get you onboard with newer examples.
BTW: This is an example of “Hijacking a thread”. Your question about levels should have been it’s own unique post as well as the question about stars. This is a thread about issues running sprites made with Texture Packer and has nothing to do with Stars or Level making. Please create new threads for these topics.
I decided to delete my response to your questions since I’m contributing to the redirecting of this conversation.