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.
Tentus Splash
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Tentus Splash
- Attachments
-
- tentus.love
- 0.7.2
- (13.23 KiB) Downloaded 212 times
Last edited by tentus on Fri Oct 14, 2011 9:21 pm, edited 4 times in total.
Kurosuke needs beta testers
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Tentus Splash
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
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
Re: Tentus Splash
Needs some sound.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Tentus Splash
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+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Re: Tentus Splash
Or the shortcut,josefnpat wrote:Code: Select all
seppi@seppi-opl:~/Downloads$ mv tentus.zip tentus.love seppi@seppi-opl:~/Downloads$ love tentus.love
Otherwise, nifty.
Code: Select all
$ mv tentus.{zip,love}
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Tentus Splash
I... don't know. Fixed.Robin wrote:...
Y U NO MAKE .LOVE?
I've been trying to think of a way to generate it procedurally in Love. Any suggestions?Taehl wrote:I like the glow.
Kurosuke needs beta testers
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Tentus Splash
Post-processing bloom shader? :ptentus wrote:I've been trying to think of a way to generate it procedurally in Love. Any suggestions?Taehl wrote:I like the glow.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Tentus Splash
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:slime wrote:Post-processing bloom shader? :ptentus wrote:I've been trying to think of a way to generate it procedurally in Love. Any suggestions?Taehl wrote:I like the glow.
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
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Tentus Splash
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.
Who is online
Users browsing this forum: Google [Bot] and 3 guests