LoveArcade.org

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

Something tells me you'll have to remove the most setIdentity() things..
IRC wrote: <anjo> you really should only be setting the identity once
<kalle2990> Hmm.. lovebrowser sets it 2 times
<kalle2990> and then loads a game which most likely sets it again
<anjo> yeah that sounds vaguely problematic to me.
If you don't mind, I'm up for making a newer version, equal the look of the new page you will use :)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LoveArcade.org

Post by bartbes »

Well, actually setting identity (while not good anyway) isn't the problem, the real problem is that as soon as you write a write directory is set up (makes sense), but love.filesystem (PHYSFS) always looks in the write directory before looking in any other, which, again, makes sense.
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

Acording to my testing it wrote in the directory written to first, and read from the directory last specified. If there was the same file there. But don't worry, I'm currently writing a little function that saves in AppData/lovebrowser/_SaveFolder/gameName instead of AppData/gameName (which isn't possible when running from lovebrowser) or AppData/lovebrowser (where possible conflicts could occur) ^^
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post by schme16 »

kalle2990 wrote:Something tells me you'll have to remove the most setIdentity() things..
If you don't mind, I'm up for making a newer version, equal the look of the new page you will use :)
If you want to help take that project further I'd be thrilled, I've sort of hit a bit of a wall with it; I can't think a many others who I would trust with it anyway :p

if you do need anyhelp from me (doubt it, lol) just pm me.
My Development Diary - http://shanegadsby.info
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

I've created a loading screen, really nice one, and a function for making some games work with saving. Currently vertigo works but not the planet game, will be fixed soon though ^^
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post by schme16 »

kalle2990 wrote:I've created a loading screen, really nice one, and a function for making some games work with saving. Currently vertigo works but not the planet game, will be fixed soon though ^^
SAHWEEET!
My Development Diary - http://shanegadsby.info
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

HAHAHAHAHA!! ROFL! Why did you override a global function (print) needing x and y to not crash the whole game? :rofl:
Removing my debug print solved it.. Anyway, not your fault :P
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post by schme16 »

kalle2990 wrote:HAHAHAHAHA!! ROFL! Why did you override a global function (print) needing x and y to not crash the whole game? :rofl:
Removing my debug print solved it.. Anyway, not your fault :P
Eh? I've got a function called advPrint, in supportFunctions.lua; how is that overriding it?
I had in the first version a print overide, but changed it to make sure it didn't cause conflict later on; are you using an older version?

Anyways, s'all good, as long as you've figured it out, lol
My Development Diary - http://shanegadsby.info
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

I was talking about PlanetCon.. That's the game that crashed (now it works) when loaded from the gamebrowser when my print() was there ;)
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

Btw, somehow downloading Cards doesn't work. The server sends it as chunked, so it can't get any content length. But it's just that one... :? I'll only do the offline stuff with the gamebrowser since I have no experience what so ever about networking...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests