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

Post Reply  Post Oekaki 
 

Posted By Message

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