LÖVE distribution website

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
TsT
Party member
Posts: 161
Joined: Thu Sep 25, 2008 7:04 pm
Location: France
Contact:

Re: LÖVE distribution website

Post by TsT »

Robin wrote:
TsT wrote:Is it planned to have a option to make a .love as zip file only creation (no exe/binary attached) ?
Why? You already have a .love.
Oups sorry I'm tired. I don't know why I thought the Selector point to a directory and take files directly from it. Forget my question :oops:
EDIT: tired not tried ...
Last edited by TsT on Mon May 02, 2011 8:23 pm, edited 1 time in total.
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LÖVE distribution website

Post by Robin »

The real problem with that is:

Code: Select all

id="iconsizes"
and

Code: Select all

$('#iconadd').click(function() {
	// Check to see that we're not trying to add more icons than there 
	// are sizes.
	var currItems = $('#icons li').size();
	var totItems = $('#iconsizes option').size();

	if (currItems < totItems) { 
		var newIconItem = newIconListItem();
		$('#icons').append(newIconItem);
	} else {
		alert('That\'s plenty of icons, don\'t you think?');
	}
});
It uses the number of items on the dropdown box to check the maximum. Only the first one of them has an id, if you remove it, it becomes inaccessible, and presumably gives an empty array.

Removing the remove button on the first one is a workaround, not a fix.
Help us help you: attach a .love.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: LÖVE distribution website

Post by TechnoCat »

nevon wrote:There's a weird bug where the first icon upload list item is like 2px wider than the rest. If anyone could figure out why the hell that is, I will give them a virtual high five.
When I inspect the source, there is a ton of whitespace between each element. All javascript added elements don't have the whitespace.
Removing the whitespace made the elements line up.
whitespace.png
whitespace.png (125.98 KiB) Viewed 2738 times
You need to add a space in between the elements on the ones added by javascript. That way you can keep your pretty indenting.
Screenshot-~-Desktop-tommybrunn.com.htm - Sublime Text 2.png
Screenshot-~-Desktop-tommybrunn.com.htm - Sublime Text 2.png (124.38 KiB) Viewed 2737 times
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: LÖVE distribution website

Post by nevon »

TechnoCat wrote:You need to add a space in between the elements on the ones added by javascript. That way you can keep your pretty indenting.
Figured that was the problem. Fixed now.

Anyways, one virtual high five for you, sir! o/
Robin wrote:The real problem with that is:
Working on fixing that now. God I hate DOM manipulation.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LÖVE distribution website

Post by Robin »

Oh, awesome, TechnoCat! That it was actually as subtle as whitespace!
Help us help you: attach a .love.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: LÖVE distribution website

Post by nevon »

That took longer than I'd like to admit. But the annoying Javascript bug is fixed, as is the whitespace mishap.

If you check out the "live" version, be sure to clear your cache.
Attachments
love-builder.tar.gz
LÖVE-Builder v.1.0.3
(206.04 KiB) Downloaded 126 times
Last edited by nevon on Mon May 02, 2011 6:41 pm, edited 2 times in total.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: LÖVE distribution website

Post by Lafolie »

Works fine for me now! Good job man, it's beaütiful :D

Edit: 101st post!
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: LÖVE distribution website

Post by TechnoCat »

Including 0.7.1 in the version list would be a terrible terrible prank.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LÖVE distribution website

Post by Robin »

TechnoCat wrote:Including 0.7.1 in the version list would be a terrible terrible prank.
Yeah, I was going to say something about that too, but I kept forgetting it. :P
Help us help you: attach a .love.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: LÖVE distribution website

Post by BlackBulletIV »

Looking really good nevon! Great work.
TechnoCat wrote:Including 0.7.1 in the version list would be a terrible terrible prank.
Ha ha ha, never thought of that!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests