Adam's Lair Forum
https://forum.adamslair.net:80/

[RELEASED] Frozen Core plugin - now with nuGet
https://forum.adamslair.net:80/viewtopic.php?f=18&t=319
Page 5 of 6

Author:  SirePi [ 2015/03/22, 18:30 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

From what I can see, I can suggest you to check for the initialization context you are currently in.. if I am not wrong there are some cases where a Component can be initialized before the whole GameObject is complete.

You can add a
Code:
if(context == InitContext.Activate)
{
  ...
}

around your code to be pretty sure it's safe to proceed with assigning values to the other Components

Deviver wrote:
it goes past _emitter assigning line

Well, this doesn't mean that it's not null :mrgreen: see above anyway :) maybe it will be enough

Author:  Deviver [ 2015/03/22, 19:41 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Solved! For the 100th time, thank you!

Author:  Deviver [ 2015/03/25, 13:54 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

I feel like I've asked too many questions on this forum now :D

Now the problem is that when I try to change ParticleEmitter's ColorStart and ColorEnd, it doesn't seem to work. The color will always be the one that is set in the editor. Not sure if it is expected behaviour.

Code:
Code:
ParticleEmitter _emitter = this.GameObj.GetComponent<ParticleEmitter> ();

_emitter.ColorEnd = new ColorRgba (255, 0, 0, 255);
_emitter.ColorStart = new ColorRgba (255, 0, 0, 255);

Author:  SirePi [ 2015/03/25, 15:29 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Deviver wrote:
I feel like I've asked too many questions on this forum now :D

Nah, it's good to have someone testing my stuff and giving feedback :mrgreen:
Deviver wrote:
Now the problem is that when I try to change ParticleEmitter's ColorStart and ColorEnd, it doesn't seem to work. The color will always be the one that is set in the editor. Not sure if it is expected behaviour.


Not "expected", but it's the way it is now ^^ I didn't think that there would be the necessity to alter the Emitter in real-time, but since it's there, I will add a way to do so :)

For the moment, it's not exactly pretty but you can do as follows
Code:
emitter.Active = false;
//alter the emitter
emitter.Active = true;

Keep in mind that this will also have the effect of erasing all the particles currently alive (if any).

Or just give me a couple days :mrgreen:

Author:  Deviver [ 2015/03/25, 15:58 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

That is perfectly fine for my purpose. Gracias! :)

Author:  SirePi [ 2015/03/26, 22:59 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Core updated to 1.0.5
  • Fixed Commands not correctly chaining into each other

FX updated to 1.0.5
  • Added ParticleEmitter.HasAliveParticles property
  • Added ParticleEmitter.ReInitialize(bool) method that allows to change parameters at runtime

UI updated to 1.0.7
  • Commands updated following Core changes
  • WidgetController now gives precedence to Widgets placed in ScreenOverlay when more than one Widget is at the current mouse position

Author:  misthema [ 2015/11/03, 19:36 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Hey SirePi,

Would it be hard to convert this set to 2.0? I would love to get this one in full, it looks amazing!


Thanks.

Author:  SirePi [ 2015/11/03, 21:54 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

misthema wrote:
Hey SirePi,

Would it be hard to convert this set to 2.0? I would love to get this one in full, it looks amazing!
Thanks.


Thanks to you :mrgreen:
In fact, it's already been more or less converted; I only need to finalize some testing on the UI side due to the massive changes I did in the last months, but I'm confident it can be ready before the end of the month (probably earlier).

Is there something in particular that you need? I might be able to accelerate on it ^^

Author:  misthema [ 2015/11/09, 07:15 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Hi!

Frozen.FX and Frozen.Procedural would be the one's I'd wanna play with. I like to play around with procedural-everything... ;)

Author:  SirePi [ 2015/11/09, 13:07 ]
Post subject:  Re: [RELEASED] Frozen Core plugin - now with nuGet

Alright, Core, Procedural and FX are updated for use with Duality 2.x
For UI, I need to address an issue with keyboard not correctly managing some keys (see topic in programming section) first.

Give me feedback ^^

Page 5 of 6 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/