The Daily Click ::. Forums ::. Klik Coding Help ::. Doing special effects
 

Post Reply  Post Oekaki 
 

Posted By Message

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
29th May, 2008 at 21:11:50 -

I was just wondering.. how do you do some of the cute particle effects like in My First: Skydiving Academy or Knytt stories? I can't really seem to find a button for it. There's even that special effects extension which put an Effects folder in my MMF folder, but I can't seem to activate that. Any buttons I'm missing?

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
29th May, 2008 at 21:28:51 -

Er..what? o_O Are they not just custom particle effects?

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
29th May, 2008 at 21:53:56 -

Never dl'd that game... but usually particle effects are custom... I had a good one from Chansey awhile back... had something to do with always subtracting Value A from XPos and Value B from YPos, and then setting the values to a certain thing that had to do with random numbers... I'll try to find it tomorrow, it was a good one. I've used it countless times.

 

  		
  		

Deleted User
29th May, 2008 at 22:24:25 -

Special effects are cool but they eat up a lot of memory.

And when you're making those wicked particle effects keep in mind theres an object limit.

 

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
29th May, 2008 at 23:05:20 -

My particle effects don't end up looking that nice I can handle movements and such very well, but I can't get the lighting or fading or whatever they're using to look as nice.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
30th May, 2008 at 00:35:26 -

Isn't there some blitter object for effects? I used it in Jet Ball but never tried it elsewhere. I think that overcame the object limit somehow.

Actives that run off your physics engine are the best things. Or even just bouncing balls or pinball movement effects. A big glowing Add light that shrinks or turns black (which is trans with Add). Meh there's loads of ways of doing it.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
30th May, 2008 at 01:41:18 -

Take advantage of alpha channels in MMF2. They are really useful.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
30th May, 2008 at 04:05:31 -

Hmmm.. alpha channels are a great idea! Do they use more processing power?

I remember this game called The Line. That was quite a good game, the best special effects of its time. The guy who made it said that it mostly used the bullet extension, which I never figured how to use

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
30th May, 2008 at 04:38:19 -

^ That's the same extension I used. Doesn't it come with a tutorial or example file?

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
30th May, 2008 at 04:48:24 -


Originally Posted by Dr. James
^ That's the same extension I used. Doesn't it come with a tutorial or example file?


I couldn't really make any good use of it, but a lot of people seem to be doing great with it. I know a guy who made some nice bullet shooting effects and sparks when combined with an instant hit code. Hmm.. I never checked to see if there was a MMF2 version of it.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
30th May, 2008 at 04:55:23 -

Particle effects are pretty easy really... Fading in and out is just alterable value work.

I agree with James, little bouncing bits are awesome!

 
Image
http://bfollington.tumblr.com

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
30th May, 2008 at 08:23:18 -

I usually don't have trouble with active object limits even in tgf, as long as you deactivate the particle effect when (if) it's offscreen, and the MMF2 line of products ups the limit by a couple thousand I believe. Maybe it's because of the method I use, but I never have trouble with memory issues either. (and my computer is an old 366Mhz 128MB RAM-er)

Image Edited by the Author.

 

  		
  		

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
30th May, 2008 at 10:51:35 -

MMF2's object limit is 20,000 lol

 
.

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
30th May, 2008 at 11:05:01 -

I managed to go over MMF2's object limit with particle effetcs.

Image Edited by the Author.

 
Image

Tell 'em Babs is 'ere...

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
30th May, 2008 at 11:06:50 -


Originally Posted by OldManClayton
I usually don't have trouble with active object limits even in tgf, as long as you deactivate the particle effect when (if) it's offscreen, and the MMF2 line of products ups the limit by a couple thousand I believe. Maybe it's because of the method I use, but I never have trouble with memory issues either. (and my computer is an old 366Mhz 128MB RAM-er)

Image Edited by the Author.



Deactivating effects and groups are pretty mega important if your game uses a lot of them. I've managed to bring the RAM usage of my project to 26mb. Worked for months to knock a good 8mb off that.
Another good thing to do is, if the particles are necessary, have them exist and work out of sight but remove extra coding that controls animation, transparency but still with motion.

HWA does help take the edge off resources too if you're prepared to go down that route.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
30th May, 2008 at 17:55:24 -

Phizzy made a good example of special effects, mainly explosions and screeshakes but some 2d water effects too.
I don't think any of them require the alpha channel object,

it's just creating small animations and quickly deleting them again with a bit of movement.

 
.

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
15th June, 2008 at 23:42:23 -


Originally Posted by Captain Andyman
MMF2's object limit is 20,000 lol


Lol, it's only close to 1,000. Try it. It locks up at around 1K events, unless most of them are deactivated.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
16th June, 2008 at 02:12:52 -

Hmm, I've got about 1800 events minimum in my game and it doesn't lock up. I doubt they're all running at once though. Don't think I go over 500 objects.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
16th June, 2008 at 02:41:38 -

Oh, lol, sorry, typo. I meant 1K objects. Heh, I remember the good ol' days back when 1024 was the event limit. If CNC displayed any more, it crashes, or so I heard.

On the topic, I just found a nice particle thingy from Nifflas from the Clickteam website.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
16th June, 2008 at 05:59:16 -


Originally Posted by Assault Andy
Take advantage of alpha channels in MMF2. They are really useful.

Agreed, alpha channels are a big part of solar defender, because they are easy to use, don't use up lots of memory, and look awesome!

 
You can log off any time you like, but you can't ever leave.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
16th June, 2008 at 06:52:13 -

They use 33% more memory than a normal image actually, because it's an extra channel in the image along with R, G and B. Best way to do effects is just bouncy ball movement + random speeds and deceleration coupled with scaling and fading effects.

I don't think I've ever gone over 400 objects unless it was a really extreme effect / a lot going off at once.

 
Image
http://bfollington.tumblr.com

Roseweave



Registered
  31/07/2007
Points
  341
16th June, 2008 at 07:03:07 -

Just make sure you're using "deactivate from current frame" etc.

 
Check out my Telekinesis'em'up Thread and the ALICE Machines -

http://www.create-games.com/project.asp?id=1213

"Did you know there's a million bucks hidden in the house next door?"
"But there is no house next door?"
"No? Then let's go build one!"

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
16th June, 2008 at 09:02:14 -

I thought this topic died... But, since it's alive again, I'd like to ask a question. Does it seem weird for me to not care how much memory my game takes? I must be odd, but I always thought bigger files and more memory had a sort of awe-inspiring effect. (heh, don't start saying things like, "Just a-cause it's-a big doesn't mean it's awesome. Guh-HEH!" I know that. ) People speak of optimizing their games, and not only do I not see how in the world would you do that to a game, (Unless it was a specific section of code that had a better alternative) I don't really understand why...

 

  		
  		

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
16th June, 2008 at 10:02:54 -


Originally Posted by Muz

Originally Posted by Captain Andyman
MMF2's object limit is 20,000 lol


Lol, it's only close to 1,000. Try it. It locks up at around 1K events, unless most of them are deactivated.



The total object limit isn't only how many objects are on screen at once, it's how many objects are in the whole frame.

 
.

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
17th June, 2008 at 04:22:23 -

Use up to 50 objects with circular White->Yellow->Red->Black gradient and the additive effect.
In events give it a decreasing speed in any angle (randomly) and use the scale functions.
You may also want to include an animation that makes them go darker (Results it fade out effect).
This results in quite an awesome explosion effect that can be changed to other effects such as Fire with some events.

Examples for these effects may be seen in my project Kuro:
http://www.create-games.com/project.asp?id=1004

EDIT: Btw, that Effect folder is from the HWA beta.
The unique object limit is 10000 in MMF2 (Should be enough for everyone, really ) and the total object limit is 20000.
2 "Active Object 1" and 3 "Active Object 2" are 2 Unique objects and total 5 objects.

Image Edited by the Author.

 
Service Unavailable

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
24th June, 2008 at 00:00:46 -


Originally Posted by Phizzy
'Where's the particle effects button?' seems similar to the people who were seriously asking for the 'make my game for me' extension.



Lol, I know. But seriously, there is this particle effects extension thing which led me to believe that there's a button for it just as there's an option for transitions


@LIJI: Haha, I'm hitting close to the 500 unique objects mark, which is seriously making it hard to read my code. But I find that the game doesn't really function well with about 600 objects on screen. Guess I have to refine the code or something when I'm done.

I'll try the White->Yellow->Red->Black gradient thing

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image
   

Post Reply



 



Advertisement

Worth A Click