The Daily Click ::. Forums ::. Klik Coding Help ::. Slo-Mo Effect
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
9th September, 2008 at 02:35:41 -

How could you make a slow motion effect like when your going in for a kill in Prince of Persia?

 
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
9th September, 2008 at 02:38:32 -

Create one hundred thousand objects just offscreen.

 

  		
  		

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
9th September, 2008 at 02:42:24 -

LOL, I was going to say that, but thought no, Ill be sensible about this

 
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
9th September, 2008 at 02:43:37 -

Sometimes I decide to be sensible-- but it didn't seem necessary in this case.

 

  		
  		

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
9th September, 2008 at 02:51:22 -

If I did make 1000 objects what would I do? Make a fast loop and do it 1000 times?

 
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
9th September, 2008 at 03:21:30 -

No, one bajillion.

 

  		
  		

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
9th September, 2008 at 04:39:16 -

Please don't do that.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
9th September, 2008 at 05:25:08 -

If you have TGF/MMF2, you can lower the frame rate.

 
-

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
9th September, 2008 at 06:06:23 -

im not sure how its done. but lowering the frame rate would make it choppy.

 
n/a

traugott.simon



Registered
  23/08/2008
Points
  91
9th September, 2008 at 06:36:10 -

You can change the framerate in the storyboard events.

Be sure not to use timer based events, because these run with the windows clock, not with your game.



 
n/a

NeoMonkey

Finnish Army Fire Commander

Registered
  01/12/2006
Points
  243

VIP Member360 OwnerI am an April FoolPS3 Owner
9th September, 2008 at 10:29:57 -

If you lower framerate, it looks like lag.

 
I have proven new mathematic formula to be true...

2D > 3D

Image


Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
9th September, 2008 at 11:00:18 -

Run everything off counters/values for long, smooth slow mo.
Quickly drop, then raise the FPS rate for quick slow mo bits, like what Zelda does after impacts and explosions.

 
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

jpSoul



Registered
  25/10/2003
Points
  1714
9th September, 2008 at 11:12:17 -

I think if you made a custom movement engine it would be easy to do the slow motion effect.. you just have for example to divide the speed by 2, the speed of the enemies by 2..... so it will look like a slow motion

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
9th September, 2008 at 12:14:48 -

For this kind of stuff you need to plan your engine to fit your game, a good slow-mo you can't just bolt on afterwards.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
9th September, 2008 at 17:02:59 -

Well you could put all of your events into one large group and turn the group on and off constantly.
Although thats probably as choppy as lowering the frame rate, if not worse.

 
.

Yami



Registered
  23/12/2003
Points
  608
9th September, 2008 at 17:36:36 -

Like Phanoo suggested, if you have a custom movement engine then you can make the speeds situational. What I would do is code two different speeds that go off when the other is on. To make it run even smoother I probably would make an animation on the main character when the speeds change to give the effect that it happened.

 
Image

JetpackLover



Registered
  01/03/2007
Points
  212
10th September, 2008 at 15:11:12 -

When you guys say "speed" is that like a combination of max x and max y? Only way I have found of slowing something down is to change the max x or y. if it isn't just max x max y what is "speed" exactly?

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
10th September, 2008 at 16:20:13 -

Well, he's going to have to slow down animations and gravity too. As well as any particles and/or projectiles in the scene.

 

  		
  		

Yami



Registered
  23/12/2003
Points
  608
10th September, 2008 at 17:30:47 -

Yeah good point, you would have to have two animations of everything for each speed.

To DudeHuge, yeah when you make a custom engine you set the x and y values to whatever you want. For example say my normal walk is x < 3 or >3 if it's not your slow situation. Depending on if it's greater or less than just means which direction you'll move. Now say you want to slow it down. Figure out how you would want the speeds to change. Then make the same coding with your new slow situation included and bring the walk of 3 down to 1.

 
Image

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
11th September, 2008 at 18:04:28 -

Construct does it with one event

Well, it's pretty simple in MMF anyway.
1. Create a custom movement engine. Doesn't matter how much detail, as long as its custom.
2. All movements follow a counter, which follows every x seconds.
3. Just multiply x by the % speed you want

E.g.
2D platformer - objects move up or down every time Counter <= 0
At normal speed, counter subtracts by 10 every 0.5 seconds.
At double speed, counter subtracts by 20.
At half speed, counter subtracts by 5.

You could replace Counter with any alterable value if you want to make some objects move faster than others.

Or if that's too difficult, just use Construct

*Muz notes to code this system into his next game's engine

 
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

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
11th September, 2008 at 18:52:04 -

lol muz i thought you didnt like construct all that much? change of heart?

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
11th September, 2008 at 19:35:32 -

I don't like the bugs in Construct. It's good for making simple games look cool, though. Does a lot of special effects and timescaling with one click, so it's damn good for anyone who's doing that.

 
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