Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

list of all possible params for a particle?
Started by mitchell3 Jul 09 2016 05:13 PM

7 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

mitchell3

[GLOBAL: userInfoPane.html]
mitchell3
  • Enthusiast

  • 32 posts
  • Corona SDK

Hi

 

Anyone know where to find a list of all possible properties for a particle.json ?

 

So we can work with particles without requiring particle designer

 

thanks



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 20,720 posts
  • Corona Staff

We just added this to the documentation this week.

 

https://docs.coronalabs.com/api/type/EmitterObject/index.html

 

Rob



[TOPIC: post.html]
#3

mitchell3

[GLOBAL: userInfoPane.html]
mitchell3
  • Enthusiast

  • 32 posts
  • Corona SDK

thanks rob. i think may be missing one - absolutePosition ? i tried that the other day (found it in a post) and it seems to allow setting the particles so they have a fixed screen pos



[TOPIC: post.html]
#4

mitchell3

[GLOBAL: userInfoPane.html]
mitchell3
  • Enthusiast

  • 32 posts
  • Corona SDK

also seem to be missing emitterType prop - is there somewhere to open a ticket about that? or is here godo for that :D



[TOPIC: post.html]
#5

Brent Sorrentino

[GLOBAL: userInfoPane.html]
Brent Sorrentino
  • Moderator

  • 7,936 posts
  • Corona Staff

Hi @mitchell3,

Thanks for pointing this out. Those two properties were indeed missing. Normally a bug report would be helpful, but I spotted this and took care of it... the doc is now updated:

 

https://docs.coronalabs.com/api/type/EmitterObject/index.html

 

Best regards,

Brent



[TOPIC: post.html]
#6

Brent Sorrentino

[GLOBAL: userInfoPane.html]
Brent Sorrentino
  • Moderator

  • 7,936 posts
  • Corona Staff

It should also be noted that emitters can be designed completely without JSON files... that was one misleading aspect of the previous documention on this, and why I decided to list every property in detail. You can simply set these properties up as a standard Lua table, and many of the properties can be changed "on the fly" as usual.

 

Brent



[TOPIC: post.html]
#7

mitchell3

[GLOBAL: userInfoPane.html]
mitchell3
  • Enthusiast

  • 32 posts
  • Corona SDK

great, thanks brent



[TOPIC: post.html]
#8

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 331 posts
  • Corona SDK

found the link Rob provided quite helpful - especially odd to find out that the blend modes have strange values




[topic_controls]
[/topic_controls]