The Daily Click ::. Forums ::. Klik Coding Help ::. Looking for tips (effects)
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
18th June, 2010 at 14:18:14 -

Hey there. I've decided that my games aren't "flashy" enough. I need effects. Maybe even over-the-top-while-adding-no-gameplay-value effects.

What kinds of effects have you guys used in your games, and how did you make them?

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
18th June, 2010 at 14:50:59 -

It's nothing fancy but the latest ones I've learned how to do are explosions from something being destroyed. It's basically done by creating different objects at different spots on the target getting desroyed, and then having events that compare those 'effects' objects and their animation frame numbers to certain frames and increasing the scale of the object by +1 until they're gone.

Here's a trailer that shows some explosions I made this way in ODW. The trick is to alternate the animation frames' colors a bit with red / orange / yellow & etc.

http://del_duio.sitesled.com/ODW/ODWinfo.html

(The trailer's halfway down the page)



 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

c0nfu53d



Registered
  13/06/2010
Points
  3
18th June, 2010 at 14:56:08 -

You could use Particle Illusion to create loads of pointless flashy effects

http//www.wondertouch.com/htmls/particle_illusion/index.htm

Free 30 day demo here: http://www.wondertouch.com/demos.asp

As long as you can create all the effects you need in 30 days your good.

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
18th June, 2010 at 14:56:45 -

Oh another easy one is the screen shake. For that you can make an invisible active object that's set to a quick looping path in the center of your frame. Make it so that it does NOT follow the frame, so it's always about in the same spot.

Then when you need a screen shake you can just disable your normal camera and set the X/Y view to the hotspot on that invisible, fast-moving active object for a couple seconds or so. This will give the appearance of the whole thing going crazy shakey shakey.

The one thing you need to do for this though in order to get it to work is to make sure the whole frame is larger than the visible gameplay area. For example in a couple of my recent games that use this I've had to change a frame that would've normally been 320 x 200 to 330 x 205 (while still having the visible area set to 320 x 200) to accomdate any possible screen shakes from either explosion / critical hits or whichever.


Edited by Del Duio

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
18th June, 2010 at 16:33:09 -

Alpha channels are the key to making flashy effects - unless your graphics are pixelart-based, in which case the two don't really mix.

In my current project (kibnd of a hybrid of M.U.L.E. / Scorched Earth / Master of Orion), I have various sunlight effects.
It's partly for show, but also an important aspect of the gameplay - solar energy is a valuable commodity, and is only produced during daylight (the planets rotate both around the sun, and about their own axis).

Image
(it looks better in motion)

Unfortunately, even in HWA, the framerate is starting to suffer quite a lot...

Edited by Sketchy

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
18th June, 2010 at 17:06:03 -

What on earth are you doing that's causing it to lag on HWA? True Diamond is plenty flashy and I have no framerate issues at all.

 
http://www.facebook.com/truediamondgame

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
18th June, 2010 at 17:42:32 -

On further inspection, it seems that the slowdown is caused by a fastloop, and not the graphics - which is kind of a relief, but does leave me with a whole new set of problems to sort out...

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
18th June, 2010 at 19:11:57 -

Which is why I keep fastloop usage on the low =/.

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
18th June, 2010 at 19:27:06 -

While I agree that you shouldn't use fastloops unless you have to, in this case it's unavoidable.
I can probably fix it so only some of the loops run each frame though. I hate optimizing code

 
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
18th June, 2010 at 19:34:56 -

Oh the irony of fastloops that slow down programs.

Have a look at this, Eviscerator. http://www.create-games.com/download.asp?id=7177

 

  		
  		

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
18th June, 2010 at 22:21:18 -

Great stuff everyone Now I just need to get room in my budget to order MMF2 so I can continue working on my stuff

And I'm too lazy to rebuild in Construct hehe

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
18th June, 2010 at 23:17:48 -

After even more testing, it turns out that it's not the fastloops at all (or at least not much).
The main problem is actually the collision detection - fine collision detection on large, rotated actives seems to be incredibly slow.
Since all my objects are circles anyway, I'm going to try and use a distance calculation instead, and see if that's any quicker.

 
n/a

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
26th June, 2010 at 20:41:53 -

You could put some video of girls flashing their chests or some seizure inducing flashes of bright colors out of nowhere.
Those both would make your games much more "flashy"

I guess you could always do the DragonBall Z anime sorta thing ... you know, with those action lines in the background.
Try using arcs of light for swinging swords and fire from guns as they shoot?
A shining glint of light in the enemies eyes' just before they perform a special attack is always neat.
Dust cloud puffs made when the hero runs or jumps or lands.
Explosions are commonly used to make a game seem "flashy"

If you could figure it out within the confines of 2d, or find a nice method for 3d code, then stuff like damage done based upon parts of the enemy would be kewl to see ... shoot a zombie in the shoulder and it tears apart an' hangs by the skin dangling, or falls completely off, or shoot his leg/legs off and the zombie falls to the ground and uses his arms to crawl toward you ... but that sorta thing is way over my head to code currently. It sure would seem "flashy" to me though.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
27th June, 2010 at 04:21:30 -

I started using MMF2's resize active ability to create a fake 3d wall effect for the side of buildings and stuff.

There is an example of it in this video I uploaded to youtube (1:30 shows it off best)
http://www.youtube.com/watch?v=5to5yetjULk

I even uploaded an MFA of the effect on one of my project's updates, although I don't expect everyone to have checked it out. It's not a proper tutorial or anything so I apologise in advance for the mess.

http://andyuk.tengudev.com/Sources/3dwallfakery.zip



 
.

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
29th June, 2010 at 20:12:22 -


Originally Posted by Sketchy
While I agree that you shouldn't use fastloops unless you have to, in this case it's unavoidable.
I can probably fix it so only some of the loops run each frame though. I hate optimizing code



Did you try Pixelthief's optimization for it?
http://create-games.com/article.asp?id=1937

Might not be your problem, but it should help boost some speed.

 
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