Love iOS - how do I save/read scores?

Discuss any ports of LÖVE to different platforms.
Post Reply
rungo73
Prole
Posts: 11
Joined: Thu Oct 20, 2016 3:43 am

Love iOS - how do I save/read scores?

Post by rungo73 » Mon Jan 30, 2017 6:09 am

HI

Im working on a little game in love iOs for iphone etc

I want to save scores/health etc using the filesystem. I can read and write no probs on the desktop but when I test through the iphone I cant seem to get it working.

Can anybody throw me a clue to working with the filesystem on iOS?

regards,

Tom

timotta
Prole
Posts: 3
Joined: Sun Dec 18, 2016 1:42 pm
Contact:

Re: Love iOS - how do I save/read scores?

Post by timotta » Sun Mar 05, 2017 7:50 pm

I have the same problem on Android 6.
On Android 5 and bellow works fine.

User avatar
Davidobot
Party member
Posts: 1135
Joined: Sat Mar 31, 2012 5:18 am
Location: Game-Dev. Land
Contact:

Re: Love iOS - how do I save/read scores?

Post by Davidobot » Sun Mar 05, 2017 10:55 pm

Did you set the t.identity to something in conf.lua?

Code: Select all

--- conf.lua
function love.conf(t)
    t.identity = "SuperAwesomeGame" 
end
My library:
LovelyMoon

Check out my current project:
Raycaster

Oh hey, I have a website now!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests