Jet trail...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
RonanZero
Citizen
Posts: 90
Joined: Mon Oct 20, 2014 3:33 am

Jet trail...

Post by RonanZero »

I want to make a jet trail, but how would I do this? I don't even know where to start. :death:
while true do end;
Muzz
Citizen
Posts: 54
Joined: Sun Jun 28, 2015 1:24 pm

Re: Jet trail...

Post by Muzz »

Two methods.

Make a particle system. You should be able to find code that lets you plug and play.

The harder but cooler method is to generate a polystrip using the mesh function. Which is how the slashes in a game like fruit ninja is generated.

https://love2d.org/wiki/love.graphics.newMesh
Cookie10monster
Prole
Posts: 21
Joined: Wed Apr 15, 2015 10:51 pm

Re: Jet trail...

Post by Cookie10monster »

I would recommend using a particle system, which is actually very useful in LOVE.
Just look up love2d particle system on the wiki :)
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest