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.
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..."
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...
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.
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:
"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...
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
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..."