1st off, I would like how awesome and easy LOVE is. The last time I remember programming being this easy was when I used to write games in TI-BASIC for my TI-83!
I've already done a few basic tuorials involving moving images around on the screen and capturing keyboard input. I would like to try adding particle effects, however I don't see any tutorials for the particle system on the wiki.
Links? Or perphaps I didn't dig deep enough into the wiki?
Tutorials for particle system?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Tutorials for particle system?
You could take a look at http://love2d.org/wiki/ParticleSystem if you haven't already. It's not a tutorial, but it could be useful.
I never used PSs myself, but I imagine it would be something like:
I never used PSs myself, but I imagine it would be something like:
Code: Select all
function love.load()
ps = love.graphics.newParticleSystem("image.png", some_number)
end
function love.update(dt)
ps:update(dt)
end
function love.draw()
love.graphics.draw(ps, 100, 100)
end
Help us help you: attach a .love.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Tutorials for particle system?
Check the examples.love file for a great example on how to use ParticleSystems.
Re: Tutorials for particle system?
I actually don't see any part of examples.love that uses the particle system.nevon wrote:Check the examples.love file for a great example on how to use ParticleSystems.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Tutorials for particle system?
My bad. It's among the demos: http://bitbucket.org/rude/love/downloads/demos.zipDraetheus wrote:I actually don't see any part of examples.love that uses the particle system.nevon wrote:Check the examples.love file for a great example on how to use ParticleSystems.
Who is online
Users browsing this forum: No registered users and 9 guests