hey I need help with something. Ok what I’m trying to do is have like a bank. What I’m trying to do is when you play a game your score adds up to your game you allready play like this example. Ok so you play 1 game and you score 10 points then the second game you play you score 30 points. Then now you have a total of 40 points like that. How would I do that with this example below
local score = 0
local scoretxt = display.newText(score, 30, 30, "Arial", 30)
local function up ()
score = score + 1
scoretxt.text = "Score :".. score
end
Runtime:addEvenListener("touch", up)
Now how would I like make a bank score with using the above example, and save it [import]uid: 17058 topic_id: 21655 reply_id: 321655[/import]
[import]uid: 17058 topic_id: 21655 reply_id: 85967[/import]