hey there, simple question!
What would you guys recommend for making particle effects for corona sdk?
theres alot to choose from, some of it seems outdated, just wanted to hear what to go for
thanks
hey there, simple question!
What would you guys recommend for making particle effects for corona sdk?
theres alot to choose from, some of it seems outdated, just wanted to hear what to go for
thanks
I don’t understand the question.
Are you asking what tools you should use?
-or-
Are you asking which of the 4 or 5 particle systems (built-in and community made) you should use?
mostly what tools i should use
for creating on windows btw no mac
Well, I have a tool:
However, it is a bit dated. That said, I’m working on a new version.
In the interim, you could use this free online tool:
http://onebyonedesign.com/flash/particleeditor/
And then load the particle definitions with my loader/converter:
Then, just keep an eye open for announcements on my upcoming editor.
is there a guide to use this loader of yours?
like how do i attach the emitter to an object instead of x,y coords, so that when the object moves, emitter moves along with it. and not overflow the screen with new emitters
i tryed this :
shipEmitter = display.newEmitter(mainGroup, pex.loadStarling( nil, 0, 0 , “emitters/Starling/particle.pex”,{ texturePath = “emitters/Starling/”,altTexture = “texture.png” } ))
shipEmitter.rotation = 180
local shipGroup = display.newGroup()
shipGroup:insert(ship)
shipGroup:insert(shipEmitter)
but the game crashes with no error report on it.
(the ship moves around the screen with a touch handler )
Guide Yes : https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2015/09/particle/PexTools.pdf
Moving Up to You : It is easy. Just use an enterFrame listener attached to the mover and have the listener move the emitter to match the position of the moving object (the mover).
What you tried is wrong and the guide doesn’t show that… it shows this (page 5) as a basic call:
local emitter = pex.loadStarling( nil, 200, 100, "particle3.pex" )
Note: You don’t call display.newEmitter(), because the loader does that for you. The loader creates a new emitter.
The Right Way
Now, assuming that:
Your emitter definition is in folder: “emitters/Starling/”
Your emitter definition is named “particle.pex”
Your emitter texture is in the folder “emitters/Starling/”.
The emitter texture name is: “texture.png”
You would do this:
local shipEmitter = pex.loadStarling( nil, 0, 0, "emitters/Starling/particle.pex", { texturePath = "emitters/Starling/", altTexture = "texture.png" } )
This will produce an emitter at position 0, 0 and place it in the default group (current stage).
The pex tool comes with a guide and a number of samples.
If you don’t have these please tell me where you got pex loader so I can fix the problem.
i bought it from you
reason tryed the code above was because i couldnt get it to work, so that the emitter followed my ship
it worked! thanks alot. guess i just didnt understand the loader to begin with xD but its solved now, thanks alot, hope you come up with more fancy products like this in the future
Is that, “The emitter worked”, or “I have it following my ship.”?
If you don’t have it following your ship yet, try something like this (may need to change to suit your needs):
local shipEmitter = pex.loadStarling( nil, 0, 0, "emitters/Starling/particle.pex", { texturePath = "emitters/Starling/", altTexture = "texture.png" } ) local ship = display.newCircle( 10, 10, 10 ) function ship.enterFrame( self ) shipEmitter.x = self.x shipEmitter.y = self.y end Runtime:addEventListener( "enterFrame", ship )
yes to both it works smoothly . with the enterframe event you told me
Hi. We just release Radiance. A windows tool to create particles for Corona.
https://marketplace.coronalabs.com/asset/radiance-particle-effect-creator
Regards
Tommy
I don’t understand the question.
Are you asking what tools you should use?
-or-
Are you asking which of the 4 or 5 particle systems (built-in and community made) you should use?
mostly what tools i should use
for creating on windows btw no mac
Well, I have a tool:
However, it is a bit dated. That said, I’m working on a new version.
In the interim, you could use this free online tool:
http://onebyonedesign.com/flash/particleeditor/
And then load the particle definitions with my loader/converter:
Then, just keep an eye open for announcements on my upcoming editor.
is there a guide to use this loader of yours?
like how do i attach the emitter to an object instead of x,y coords, so that when the object moves, emitter moves along with it. and not overflow the screen with new emitters
i tryed this :
shipEmitter = display.newEmitter(mainGroup, pex.loadStarling( nil, 0, 0 , “emitters/Starling/particle.pex”,{ texturePath = “emitters/Starling/”,altTexture = “texture.png” } ))
shipEmitter.rotation = 180
local shipGroup = display.newGroup()
shipGroup:insert(ship)
shipGroup:insert(shipEmitter)
but the game crashes with no error report on it.
(the ship moves around the screen with a touch handler )