Quote: "Variable is used without being defined "
This error could mean 2 things.
1. You are using a variable that has not been defined in your file that needs to be set to Global in your Main.agc file
2. You have not designated a value to your variable.
SetSpritePosition(Character,X,Y)
This alone would cause this error
The right way...
X = 100 : Y = 100
SetSpritePosition(Character,X,Y)
or
Global X = 100
Global Y = 100
SetSpritePosition(Character,X,Y)
You don't have to define every variable a global...Its all a matter of how you have your project laid out.
Beta Test Age of Knights:https://play.google.com/apps/testing/com.CrazyProgrammerProductions.my_AgeOfKnights
Download JellyFish Dive:https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_JellyFishSwim