Petunien wrote:
I'm a noob. I don't distinguish all the versions.
I'm using the version: "------ löve2d source port to android - love-native-android -----------------------------"
(By the way, the structure of the first post isn't that easy to read, in my opinion )
Oh no, nobody likes my ugly ----
I just edited the first post. I should be clearer by now.
Petunien wrote:Is writing to a *.txt or *.lua file now possible?
I read already that it's not, but that post was old, so I ask.
It's enough when the file would be only temporary.
Edit: Oh, and please say, LÖVE-Android does support LuaSocket.
Love.filesystem support is planned, as far as I know. It's not ready yet.
Having only a temporary file to write to is NOT enough, though. In what kind of game is it okay not to be able to save? Even a simple snake game needs a high score table.
Petunien wrote:Is writing to a *.txt or *.lua file now possible?
I read already that it's not, but that post was old, so I ask.
It's enough when the file would be only temporary.
We are working on it. I did some quick changes but I seems like it is more complicated than I expected. I thought it would be a 1-2 hour thing, but it seems like I was wrong. Anyway, we have two filesystem things left to do: File access and love files within apks.
Edit: Oh, and please say, LÖVE-Android does support LuaSocket.
T-Bone wrote:Having only a temporary file to write to is NOT enough, though. In what kind of game is it okay not to be able to save? Even a simple snake game needs a high score table.
T-Bone wrote:Having only a temporary file to write to is NOT enough, though. In what kind of game is it okay not to be able to save? Even a simple snake game needs a high score table.
For that I sould suggest support for sqlite3.
What? Why? This is a port of LÖVE, it should work as similarly to LÖVE as possible.
T-Bone wrote:Having only a temporary file to write to is NOT enough, though. In what kind of game is it okay not to be able to save? Even a simple snake game needs a high score table.
For that I sould suggest support for sqlite3.
What? Why? This is a port of LÖVE, it should work as similarly to LÖVE as possible.
Because major mobile platforms usually have support for this, and sqlite3 is natural fit for such requirements.
I wish desktop LÖVE version had support for sqlite also... That would be ideal solution.