Page 4 of 6

Re: LoveArcade.org

Posted: Wed Mar 31, 2010 5:19 pm
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 :)

Re: LoveArcade.org

Posted: Wed Mar 31, 2010 6:30 pm
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.

Re: LoveArcade.org

Posted: Wed Mar 31, 2010 7:41 pm
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) ^^

Re: LoveArcade.org

Posted: Thu Apr 01, 2010 7:51 am
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.

Re: LoveArcade.org

Posted: Thu Apr 01, 2010 5:45 pm
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 ^^

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 2:27 am
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!

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 11:01 am
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

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 11:06 am
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

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 11:09 am
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 ;)

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 12:16 pm
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...