Page 5 of 6

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 12:26 pm
by schme16
kalle2990 wrote:I was talking about PlanetCon.. That's the game that crashed (now it works) when loaded from the gamebrowser when my print() was there ;)
Ooooooohhhhhh, heh, I guess I did forget that that still had the old print override function... whoops! :ehem:

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 2:49 pm
by kalle2990
Okay, I've made some changes to the gamebrowser. All added art is power of 2. This update is mostly under the hood but some visual features too ^^

New features
  • Loading screen with progress bar
  • Saving in AppData/gamebrowser/_SaveFolder/Game instead of AppData/gamebrowser
  • Above overrides love.filesystem.setIdentity() with an empty function to avoid problems
  • love.conf is now loaded and all changeable stuff changes

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 2:49 pm
by ljdp
Mind if I tidy up the Gamebrowser code and implement coroutines?

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 2:54 pm
by kalle2990
ljdp wrote:Mind if I tidy up the Gamebrowser code and implement coroutines?
Okay with me

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 9:41 pm
by schme16
Mein Gott! I can't believe you got the config to load properly, awesome work! loading screen is also really good.
and I see my press F12 + R stack overflow is still kicking along nicely as well, :ultrahappy:
kalle2990 wrote:
ljdp wrote:Mind if I tidy up the Gamebrowser code and implement coroutines?
Okay with me
Like we could/would stop you for making it faster, plus this started as your brainchild soooo... I think you should be allowed lol


I'm uploading this as the current version for the site, and switching it's author status to open, rather than it being set to any person

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 9:56 pm
by ljdp
Well I've tidied up the code (a lot).
Didn't implement coroutines because you can't with the ltn12 functions, but kalle's method of running love.run works fine.
I also swapped the gui system with one of mine, so it looks different but should be easier to change the gui in the future.

I tried having it so pressing F12 takes you back to the game browser.
It kinda worked, but it was very buggy. You couldn't load up other games afterwards etc so i've disabled that.

Should really get this on github or something. You guys know how to use git?
LoveArcadeBrowser.love
Version 0.8
(423.2 KiB) Downloaded 129 times

Re: LoveArcade.org

Posted: Fri Apr 02, 2010 10:52 pm
by schme16
ljdp wrote:Well I've tidied up the code (a lot).
Didn't implement coroutines because you can't with the ltn12 functions, but kalle's method of running love.run works fine.
LoveArcadeBrowser.love
That's actually mine, :P
But I'll re-upload this as the current version

I havn't used git before, just svn; google code.

Re: LoveArcade.org

Posted: Sat Apr 03, 2010 9:26 am
by kalle2990
Nice work on the new GUI :ultrahappy:
I have used git a little, I'm not fully into it yet, but I'm getting better. Somehow, PlanetCon breaks again.. :? I've changed so the bar draws under the image now, so the 3D effect applies to the bar too. I'll upload later but will try to fix some stuff before ;)

EDIT: PlanetCon works now, but Cards breaks because it's using require 'goo/goo' instead require('goo/goo') causing my filesystem change not to work.

EDIT #2: Adding a function that clears out all self preloaded modules from the package table, to avoid loading modules with same name.

EDIT #3: Got Cards to load but it's entering random states when started, I'll stop trying to fix it and give the problem to the author (ljdp)...

EDIT #4: Okay, I got this solved. I made the script iterate through all events before loading the game, making it clear all old mouse clicks :joker: This should be solved by now.. Will upload new version in new post.

Re: LoveArcade.org

Posted: Sat Apr 03, 2010 12:40 pm
by kalle2990
After a lot of hard work under the hood, the new version is finally here. With a bunch of changes all available games to download works (except from loveArcadeBrowser, which shouldn't really be there, should it?).

Changes
  • Progress bar positioned in the middle of screen
  • Progress bar now draws behind the image, making the bar get a 3D effect
  • Fixed a missing parameter in some filesystem function
  • Removes loaded modules from loaded modules list, to be able to load modules with the same name but different content again.
  • Added some lines that iterates through all events to disable them.

Re: LoveArcade.org

Posted: Mon Apr 05, 2010 3:23 pm
by zachwlewis
I get all kinds of errors with this thing.

Looks like a bad argument #3 to 'format' (string expected, got boolean) in GetArtwork (212).