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 »

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 »

I have the same problem on Android 6.
On Android 5 and bellow works fine.
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

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

Post by Davidobot »

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

Code: Select all

--- conf.lua
function love.conf(t)
    t.identity = "SuperAwesomeGame" 
end
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 10 guests