Yes it is, but I would still advise using one of the libraries I mentioned above. They do all this for you and there is some examples of implementation. It makes life a lot easier
It’s slightly more readable however proper indentation goes a very long way.
If you didn’t like Ice then you might prefer GGData, it’s our updated and much improved version.
I use ice myself
my problem is how would i use gg data or even ice box to save this
function scoreUpdate(event)
score = score +100
scoreText.text = “”…score
—scoreText:setTextColor(225,225,225)
--scoreText:setReferencePoint(display.TopLeftReferencePoint)
scoreText.x = 150
scoreText.y = 40
if highscore < score then
print “highscore”
highscore = highscore + 100
highscoreText.text = “”…highscore
end
end
i am having a real hard time trying to save the high score in my games
I have replied to your PM, hopefully that helps.