Online Particle Generator.
download JSON directly from this site.
super easy & intuitive operation.
GoogleChrome recommended
video tutorial
Online Particle Generator.
download JSON directly from this site.
super easy & intuitive operation.
GoogleChrome recommended
video tutorial
Cool. Thanks for sharing!
Outstanding
Thanks for sharing!
Hori, it looks amazing.
Just one question, im trying to use it in my project and im having some problems with that.
I’m using (extracted from http://docs.coronalabs.com/daily/api/library/display/newEmitter.html):
-- Require the JSON library for decoding purposes local json = require "json" -- Read the exported Particle Designer file (JSON) into a string local filePath = system.pathForFile( "particle\_texture.json" ) local f = io.open( filePath, "r" ) local fileData = f:read( "\*a" ) f:close() -- Decode the string local emitterParams = json.decode( fileData ) -- Create the emitter with the decoded parameters local emitter1 = display.newEmitter( emitterParams ) -- Center the emitter within the content area emitter1.x = display.contentCenterX emitter1.y = display.contentCenterY
But i get an error saying emitter1 is = nil.
I have “particle_texture.json” and “particle_texture.png” in my folder.
i will check it . paste your json text here ↓
Well nevermind I tried in my main PC and it’s working perfectly. Very smooth effects, thanks for the effort.
I see. Good!!
Great tool hori … well done. do you have any sample for corona sdk ?
undecode,
i tried your code but it does not work … it gave me Attempt to index local ‘emitter1’ (a nil value) ??
regards
Abdulaziz
Alzaabi, you need to be Pro in order to use advanced graphics.
thank you ,undecode.
tips
Temporary save & reopen
save : on Export tab , click [cocos2dx png-contained] and get PList file.
reopen : you can drag PList on PreviewZone and reopen.
finally , click [CoronaSDK] to get json for CoronaSDK
I will add Video Tutorial later.
great!
Cool. Thanks for sharing!
Outstanding
Thanks for sharing!
Hori, it looks amazing.
Just one question, im trying to use it in my project and im having some problems with that.
I’m using (extracted from http://docs.coronalabs.com/daily/api/library/display/newEmitter.html):
-- Require the JSON library for decoding purposes local json = require "json" -- Read the exported Particle Designer file (JSON) into a string local filePath = system.pathForFile( "particle\_texture.json" ) local f = io.open( filePath, "r" ) local fileData = f:read( "\*a" ) f:close() -- Decode the string local emitterParams = json.decode( fileData ) -- Create the emitter with the decoded parameters local emitter1 = display.newEmitter( emitterParams ) -- Center the emitter within the content area emitter1.x = display.contentCenterX emitter1.y = display.contentCenterY
But i get an error saying emitter1 is = nil.
I have “particle_texture.json” and “particle_texture.png” in my folder.
i will check it . paste your json text here ↓
Well nevermind I tried in my main PC and it’s working perfectly. Very smooth effects, thanks for the effort.
I see. Good!!