LoveArcade.org

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post 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:
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 »

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
Attachments
LoveArcadeBrowser.love
New version
(313.24 KiB) Downloaded 109 times
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: LoveArcade.org

Post by ljdp »

Mind if I tidy up the Gamebrowser code and implement coroutines?
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post by kalle2990 »

ljdp wrote:Mind if I tidy up the Gamebrowser code and implement coroutines?
Okay with me
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post 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
My Development Diary - http://shanegadsby.info
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: LoveArcade.org

Post 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 106 times
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: LoveArcade.org

Post 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.
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 »

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.
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: LoveArcade.org

Post 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.
Attachments
LoveArcadeBrowser.love
Version 0.9
(356 KiB) Downloaded 119 times
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

Re: LoveArcade.org

Post 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).
Post Reply

Who is online

Users browsing this forum: No registered users and 104 guests