ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Mon Jun 18, 2018 7:23 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jan 07, 2018 2:44 am 
Offline
Higher

Joined: Sun Dec 10, 2017 12:27 am
Posts: 76
I am sufficiently far through making a class addon that I'm starting to think about sound/particles/icons, but am finding it extremely hard going with particles. I see that there's an enormous selection of existing particle effects, but unlike an .ogg or a .png it's darn inconvenient to figure out what a given particle definition produces. Is there any sort of visual catalogue, or a way to invoke particles easily from the development console, in order to figure out what something looks like? I tried game.player:addParticles(Particles.new({particle definition in here})) but, annoyingly, Particles appears to be out of scope for the console.


Top
 Profile  
 
PostPosted: Sun Jan 07, 2018 6:03 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5676
There is nothing like that that I am aware of.
replace Particles with engine.Particles and it should work.

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group