The Daily Click ::. Forums ::. Klik Coding Help ::. Special Efects
 

Post Reply  Post Oekaki 
 

Posted By Message

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
27th June, 2006 at 06:31:53 -

Hey guys,

I have been making a game for few weeks now, but I think it should have some nice efects in it.

Som of the effects I need:

- A Grenade like Explosion (something that would look like an explosion from FactorX2 or whattever the game's name is)
- A cool impact efect (like when a player hit's somethin for it to fly at high speed, when the player touches the object a sort of spark is created between them...you know what I mean.
- A realistic blood splater (not much to say about that)
- And an impact spart (like the ones originated by 2 pieces of metal coliding)

This is for a topdown game.
Sizes can be anything between 20x20 and 60x60

If you can help me out make thoses in a MMF source code file.
For realistic light and brightness efects I suggest you use Alpha channel.
So far everything I've done for those requests looks like shit, so I'm asking you if you can, and are willing to help.

Credits will be given.

allthebest~

Nathan

THANX

 
Profile edited as it messed the layout of the site up.

ben mercer

Possibly Insane

Registered
  11/07/2004
Points
  2538
27th June, 2006 at 19:57:32 -

The way you want to do this is using particles. Particles can be made by using active objects with bouncing ball movement.

Basically for the effect, say 5 active objects would be created at a certain position. You'd write some events to give the particles a random initial speed and also destroy themself after a while. Also if you are clever, you could write some code so that the particle will fade out before destroying itself.

The random speed should depend on the type of effect. eg. sparks move quickly so a speed of random(100) would be appropriate. This would be less for the explosion. Also a spark would destroy itself more quickly.

Once you have a fairly decent particle system up and running, its simply a case of altering a few variables and changing the sprite to create different effects.

 
Stuckboy

JC Denton: "I know your UNATCO killphrase: Laputan Machine."
Gunther Hermann: "I - am - not - a - machi --"
JC Denton: "Sticks and stones..."

Werbad



Registered
  18/09/2002
Points
  235
28th June, 2006 at 08:52:02 -

Don't overuse this though, having 1000 actives at a time causes major lag, especially with fading...

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
28th June, 2006 at 12:59:34 -

Do you always pop in and warn people about the "Dangers" of using active objects for effects?

 
Craps, I'm an old man!

Werbad



Registered
  18/09/2002
Points
  235
28th June, 2006 at 14:10:57 -

yes

 
n/a

Werbad



Registered
  18/09/2002
Points
  235
28th June, 2006 at 15:21:48 -

NOOO!!! I mainly complain since many click games lag on my computer due to massive active object spamming, and most of the time doable with overlays and other useful extensions people never use...

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
28th June, 2006 at 15:26:12 -

Well you complain about it entirely too much, hijacking what ever thread you can. You make it sound like sacrilege. The first version of the Core had upwards of 120 particles flying around at once with semi-transparency and there were NO slowdown problems what so ever on every computer I tested it on.

Image Edited by the Author.

 
Craps, I'm an old man!

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
28th June, 2006 at 15:58:41 -

-.- I must admit, the water effects are very good.

 
n/a

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
28th June, 2006 at 16:00:22 -

Ok solved it.


Now something I can't nor know if is possible to achieve, is those bright light efects used in the game FactorX2 or War Angels or whatever the name is.

wait I'll get a few screens of what bright light efects I want:

http://www.geocities.com/amine2002/neverclub/shot/flyff04.jpg

http://www.moonpod.com/graphic/StarscapeShots/13.jpg

http://www.moonpod.com/graphic/warangels/DevShots/1.jpg


those...is it possible?

if so, can someone help me?

THANX ALLOT

 
Profile edited as it messed the layout of the site up.

Werbad



Registered
  18/09/2002
Points
  235
28th June, 2006 at 16:11:48 -

"Well you complain about it entirely too much, hijacking what ever thread you can."
wtf! this is like the second time i ever mentioned this! what is wrong with you people!
Anyways, lets stop this spamming, i only said not to OVERUSE it, ffs!

For those bright effects you'll need an alpha channel on your particles, try using the Alpha Channel extension, which also supports 360 degree rotation...

 
n/a

Deleted User
28th June, 2006 at 17:35:07 -

Yeh What he said.

 

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
29th June, 2006 at 08:29:34 -

could you post an example of that?

cuz I don't know how to use alpha channel.. :/

or add me to MSN: shadow13155@hotmail.com

there you can help me better.

thanx

 
Profile edited as it messed the layout of the site up.

Deleted User
29th June, 2006 at 12:27:50 -

... just download an example of it I bet there is one and it probably got installed with bonus pack 2 so I bet you have examples.

 

ben mercer

Possibly Insane

Registered
  11/07/2004
Points
  2538
29th June, 2006 at 13:28:32 -

My advice; don't use alpha channel for particles EVER. It's a little buggy and will sometimes make your game consistantly crash, and it's also quite slow. It wont achieve the type of bright light effects you are after, because it is still just normal semitransparency. Those kind of effects require additive transparency, which will be available in MMF2, so hang tight

Image Edited by the Author.

 
Stuckboy

JC Denton: "I know your UNATCO killphrase: Laputan Machine."
Gunther Hermann: "I - am - not - a - machi --"
JC Denton: "Sticks and stones..."

Deleted User
29th June, 2006 at 14:02:55 -

my advise don't use particals

 
   

Post Reply



 



Advertisement

Worth A Click