LudumDare24 LoveGames + WebPlayer Tips

Show off your games, demos and other (playable) creations.
User avatar
ghoulsblade
Party member
Posts: 111
Joined: Sun Oct 31, 2010 6:11 pm

LudumDare24 LoveGames + WebPlayer Tips

Post by ghoulsblade »

Hi all, LudumDare #24 48 hour GameJam started a few hours ago,
and i expect there'll be a number of Love2D users participating,
so lets collect all love2D games in this thread =)

Please reply with a link to a blogpost with the user you will be blogging with so we can follow live already, and i'll go about collecting game links in first post at the end.

It's not too late to join in yet if you almost missed it : http://www.ludumdare.com/compo/

WebPlayer Tipps :
The experimental Love2D WebPlayer might be of interest to some,
note that porting of games is explicitly allowed after the 48 hours by the rules.
Please note that it is still experimental, so it will most likely not work for all games, but we have used it successfully in the last ludumdare.
I'll try to assist with questions asked in this thread and you can also reach me in love irc : #love@irc.oftc.net most of the time.
Probably i'll also enhance it a bit in the first days after the gamejam.
Some tipps :
* if possible use 0.7 api for web in "if (love.web) then ... end" blocks
** 0.8 api support is incomplete and experimental, i'll prolly enhance that in the few days after the jam, but not sure how far i get
* won't work in webplayer : shaders(love.graphics.newPixelEffect), network, coroutines, threads, physics, spritebatch,framebuf (at least not anytime soon)
* recommended browser is google chrome, firefox works but has a few lag issues with sound and large files (see love.web.showPreCompiledJS for latter)
* audio : music formats .xm and .mod not supported by browsers usually
* lua string patterns aren't fully convertible to javascript regexp, so while most basic string ops should work, more complex ones (like xml parsers) might fail
** if you need this for maploading or similar i'd recommend working around that by serialize the loaded table as .lua file, contact me for help
* ttf fonts don't work, best use pixelfonts, or use default and copy+upload+adjust url (same domain as your game) the one from js/love.font.js top : kDefaultImageFontURL = "http://ghoulsblade.schattenkind.net/lov ... mgfont.png";
Last edited by ghoulsblade on Sat Aug 25, 2012 6:56 pm, edited 4 times in total.
love-android - gamejams
User avatar
ghoulsblade
Party member
Posts: 111
Joined: Sun Oct 31, 2010 6:11 pm

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by ghoulsblade »

(reserved for gamelist etc)
so far i've found the following authors using (or at least considering) love2d this ludumdare:
* http://www.ludumdare.com/compo/author/darkwater/
* http://www.ludumdare.com/compo/author/josefnpat/
* http://www.ludumdare.com/compo/author/pi399/
* http://www.ludumdare.com/compo/author/marekkpie/
* http://www.ludumdare.com/compo/author/chipcaramel/
* http://www.ludumdare.com/compo/author/hima/
* http://www.ludumdare.com/compo/author/bitlit/
* http://www.ludumdare.com/compo/author/vruz/
* http://www.ludumdare.com/compo/author/natwageek/
* http://www.ludumdare.com/compo/author/cappelnord/
* http://www.ludumdare.com/compo/author/athaudia/
* http://www.ludumdare.com/compo/author/zapaman/
* http://www.ludumdare.com/compo/author/tylerthedesigner/
* http://www.ludumdare.com/compo/author/lz1kwk/
* http://www.ludumdare.com/compo/author/nek/
* http://www.ludumdare.com/compo/author/cardboard/
* http://www.ludumdare.com/compo/author/hydrapheetz/
* http://www.ludumdare.com/compo/author/stett/
* http://www.ludumdare.com/compo/author/ptsnoop/
* http://www.ludumdare.com/compo/author/tcql/
* http://www.ludumdare.com/compo/author/pansty/
* http://www.ludumdare.com/compo/author/gaeel/
* http://www.ludumdare.com/compo/author/minism/
* http://www.ludumdare.com/compo/author/thelolrus/
* http://www.ludumdare.com/compo/author/fr_automatik/
* http://www.ludumdare.com/compo/author/cobrajs/
* http://www.ludumdare.com/compo/author/leafo/
* http://www.ludumdare.com/compo/author/astralcalculus/
* http://www.ludumdare.com/compo/author/jimun/
* http://www.ludumdare.com/compo/author/mirage/
* http://www.ludumdare.com/compo/author/avery-katko/
* http://www.ludumdare.com/compo/author/puzzlem00n/
* http://www.ludumdare.com/compo/author/aidenn/
* http://www.ludumdare.com/compo/author/mes/
* http://www.ludumdare.com/compo/author/osgeld/
* http://www.ludumdare.com/compo/author/vidar/
* http://www.ludumdare.com/compo/author/a0x/
* http://www.ludumdare.com/compo/author/headchant/
* http://www.ludumdare.com/compo/author/tehskull/
* http://www.ludumdare.com/compo/author/mrotton/
* http://www.ludumdare.com/compo/author/pentaphobe/
* http://www.ludumdare.com/compo/author/mad1231999/
* http://www.ludumdare.com/compo/author/ghoulsblade/
* http://www.ludumdare.com/compo/author/ryebread761/
* http://www.ludumdare.com/compo/author/munkeebacon/
* http://www.ludumdare.com/compo/author/uhfgood/
Last edited by ghoulsblade on Mon Aug 27, 2012 2:33 am, edited 7 times in total.
love-android - gamejams
User avatar
TheP3
Citizen
Posts: 62
Joined: Tue Dec 20, 2011 9:20 pm

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by TheP3 »

Hey, if your going to use the WebPlayer, I'm guessing you are going for the Kong Compo... You need to use their API

Suck, right...


Well! Not really, I worked 6 hours before the LD; and modified the WebPlayer a bit. Then, vwla Kongergate API for lua and Love2D! Really buggy, the only thing that work's love.kongAPI.submit(name, value) that function is required to work if you want to enter the compo! So wooohooo! If you have worked with code and have some free time. Please donate any changes you make. Like I said it is really buggy!

Post Link: viewtopic.php?f=4&t=10641


NateAGeek
I write rules for my computer... I'm not the ruler of the world(yet)... Also, I livestream stuff http://NateAGeek.com/Live
Anickyan
Prole
Posts: 27
Joined: Sun Aug 05, 2012 8:42 am

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by Anickyan »

I am using LÖVE too!

This is the Github page where I will update the source every now and then, during the two days: https://github.com/M-Clausen/LudumDare24
zapaman
Prole
Posts: 13
Joined: Sat Aug 25, 2012 5:54 pm
Location: Romania | Bucharest
Contact:

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by zapaman »

Also started working with Love2D for Ludumdare! I want to make the game as accessible as possible, so getting it to run in the browser is on my list! Got it working actually, except for displaying the text on the screen. Using a ttf font which as been loaded and set in love.draw(). Are there any problems with .ttf fonts? Also, I tried the following with no success:

Code: Select all

	if (love.web) then
		-- do nothing
	else
		font = love.graphics.newFont("media/Sniglet.ttf", 22)
		love.graphics.setFont(font)
	end
Just to be sure I also added 'media/Sniglet.ttf' in the MainOnLoad part of the index, but still no change. @Ghoulsblade any idea?


P.s. first post on the forum after lurking for a few months. So, Hi and you guys scared the crap out of me with the "Obey's avatar" :P
User avatar
ghoulsblade
Party member
Posts: 111
Joined: Sun Oct 31, 2010 6:11 pm

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by ghoulsblade »

Anickyan: can you link a post on ludumdare ? or is it this one : http://www.ludumdare.com/compo/author/mad1231999/ ?

zapaman : yeah, ttf doesn't work i'm afraid =(
best use pixelfonts, or use default and copy+upload+adjust url (same domain as your game) the one from js/love.font.js top : kDefaultImageFontURL = "http://ghoulsblade.schattenkind.net/lov ... mgfont.png";
love-android - gamejams
zapaman
Prole
Posts: 13
Joined: Sat Aug 25, 2012 5:54 pm
Location: Romania | Bucharest
Contact:

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by zapaman »

Hm, for some reasons I thought .ttf would work! Well, Using .ttf on Desktop, and newImageFont for web!
Thanks Robert!
User avatar
baconhawka7x
Party member
Posts: 491
Joined: Mon Nov 21, 2011 7:05 am
Location: Oregon, USA
Contact:

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by baconhawka7x »

Add me to the list!:D
User avatar
ghoulsblade
Party member
Posts: 111
Joined: Sun Oct 31, 2010 6:11 pm

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by ghoulsblade »

i would, but i need a username that can be found on ludumdare, ideally a link to some blogpost there =)
love-android - gamejams
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: LudumDare24 LoveGames + WebPlayer Tips

Post by coffee »

ghoulsblade wrote:i would, but i need a username that can be found on ludumdare, ideally a link to some blogpost there =)
He should be too busy playing (again) cards. :D
Gage Henderson ‏@MunkeeBacon
Takin a break #ludumdare pic.twitter.com/IkBQvrbK
Image
So I will leave the possible link:
http://www.ludumdare.com/compo/author/munkeebacon/

PS. Good luck for all Love entries!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests