The Daily Click ::. Forums ::. Klik Coding Help ::. Partical Spray Extension
 

Post Reply  Post Oekaki 
 

Posted By Message

Milo



Registered
  17/09/2005
Points
  223
5th September, 2007 at 13:48:14 -

I can't figure out hw you use the Partical Spray thing. How would I make a partical with it (I generally use too many active objects). Do I have to make an emitter or anything?

 
I've wasted my life.
I don't plan on stopping.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
5th September, 2007 at 18:46:44 -

In short, I'm betting this'll help - http://www.create-games.com/download.asp?id=6472

 
http://www.SilverNova.co.uk


Milo



Registered
  17/09/2005
Points
  223
5th September, 2007 at 19:45:12 -

Umm... I cant get the layer object so I cant open the thing

 
I've wasted my life.
I don't plan on stopping.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
6th September, 2007 at 03:50:29 -

Particle Spray object does exactly the same thing as just creating particles through events, you'd be better off doing that IMO.

 
Image
http://bfollington.tumblr.com

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
6th September, 2007 at 05:52:56 -

What Ben means is doing something like making little active objects that will be your particles, then have them be created at one point with direction set to random (or something), and fade out and destroy.

Takes longer but its the same effect really..

 
http://www.SilverNova.co.uk


Milo



Registered
  17/09/2005
Points
  223
6th September, 2007 at 11:48:29 -

But most my games have too many objects anyways

 
I've wasted my life.
I don't plan on stopping.

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
6th September, 2007 at 17:08:57 -

Unless I'm mistaken, each object created by the particle spray object is just another object, with the same memory space allocated to it. So if anything, its LESS efficient to use the particle spray object.


If you want efficiency, you can start using an overlay object to draw simplistic particle effects.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Milo



Registered
  17/09/2005
Points
  223
6th September, 2007 at 18:22:43 -

Oh... I'll just use a couple pre-animated things then

 
I've wasted my life.
I don't plan on stopping.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
7th September, 2007 at 08:07:54 -

Telling or 'suggesting' at least. With creating the objects yourself you'll also have more control over their effects and the actives in general

 
http://www.SilverNova.co.uk


Milo



Registered
  17/09/2005
Points
  223
7th September, 2007 at 15:58:24 -


Originally Posted by Phizzy [Ectoprods]
Or you could listen to what people are telling you.


But then I'd have to use lots of objects and make my games even slower

 
I've wasted my life.
I don't plan on stopping.

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
7th September, 2007 at 17:03:51 -

Get the overlay object. You'll quickly discover it can do 90% of the particle effects you need, cutting out alot of your inefficiency. You'll also, however, notice that it will not work so great with scrolling and layers. So use the Active Overlay object in conjunction with the Overlay object to fulfill your particle effects.

And as Phizzy said; with hardware accelleration, ANY particle effects could be handled by your program without slowdown whatsoever, since todays graphics cards are FAR beyond the capability of any homebrew project I have ever seen in my life.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
7th September, 2007 at 18:29:54 -


Originally Posted by Milo
But then I'd have to use lots of objects and make my games even slower



The particle spray object just creates objects anyway, it is in no way more efficient than making you're own particles and coding their movements.

 
Image
http://bfollington.tumblr.com
   

Post Reply



 



Advertisement

Worth A Click