Tentus Splash

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Tentus Splash

Post by tentus »

Well, I'm drawing a blank on what I want to do for my jam splash, so I threw this together in hopes of having a better idea halfway through.

Thus far no luck. Still, here 'tis. Press any key to escape, to change the speed of it go into the source and change the "lifespan" variable.
Attachments
Screenie.
Screenie.
tentus.jpg (22.03 KiB) Viewed 2606 times
tentus.love
0.7.2
(13.23 KiB) Downloaded 202 times
Last edited by tentus on Fri Oct 14, 2011 9:21 pm, edited 4 times in total.
Kurosuke needs beta testers
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Tentus Splash

Post by Robin »

...

Y U NO MAKE .LOVE? :(
Help us help you: attach a .love.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Tentus Splash

Post by josefnpat »

Robin wrote:...

Y U NO MAKE .LOVE? :(

Code: Select all

seppi@seppi-opl:~/Downloads$ mv tentus.zip tentus.love
seppi@seppi-opl:~/Downloads$ love tentus.love 
:(

Otherwise, nifty.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: Tentus Splash

Post by Tesselode »

Needs some sound.
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Tentus Splash

Post by Taehl »

I like the glow.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Tentus Splash

Post by thelinx »

josefnpat wrote:

Code: Select all

seppi@seppi-opl:~/Downloads$ mv tentus.zip tentus.love
seppi@seppi-opl:~/Downloads$ love tentus.love 
:(

Otherwise, nifty.
Or the shortcut,

Code: Select all

$ mv tentus.{zip,love}
Or you can just skip that step altogether and just open the zip file with LÖVE.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Tentus Splash

Post by tentus »

Robin wrote:...

Y U NO MAKE .LOVE? :(
I... don't know. :huh: Fixed.
Taehl wrote:I like the glow.
I've been trying to think of a way to generate it procedurally in Love. Any suggestions?
Kurosuke needs beta testers
User avatar
slime
Solid Snayke
Posts: 3144
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Tentus Splash

Post by slime »

tentus wrote:
Taehl wrote:I like the glow.
I've been trying to think of a way to generate it procedurally in Love. Any suggestions?
Post-processing bloom shader? :p
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Tentus Splash

Post by tentus »

slime wrote:
tentus wrote:
Taehl wrote:I like the glow.
I've been trying to think of a way to generate it procedurally in Love. Any suggestions?
Post-processing bloom shader? :p
Pretty much. I've also been looking into procedurally creating a sound that will adapt to the length of the splash, but I'm a bit stuck as to how to make it sound like anything other than white noise. Here's all I've got so far:

Code: Select all

function love.load()
	lifespan = 5
	samplerate = 44100
	samples = math.floor(lifespan * samplerate)
end

function love.keypressed()
	local data = love.sound.newSoundData(samples, samplerate, 16, 1)
	for i = 0, samples do 
		data:setSample(i, (math.random(0, i) / i) * (1 - i/samples)) 
	end
	sfx = love.audio.newSource(data)
	love.audio.play(sfx)
end
Kurosuke needs beta testers
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Tentus Splash

Post by Robin »

Now that I can run it directly from Firefox, it looks nice. I agree it needs sound, though.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest