How to freeze in the air

Get help using Construct 2

Post » Sat Apr 13, 2013 9:35 pm

Hello all,


So I have a function in my platform game for the player to throw objects jumping the air by Pressing the "X" button to throw. (I feel like this is a very simple question) Is there a way that when my player throws an object while in the air the player freezes the air for a brief few seconds after the object is thrown then resume falling?      
B
4
Posts: 35
Reputation: 445

Post » Sat Apr 13, 2013 11:35 pm

I assume you're using the platform behaviour? You'll want to change the max fall speed temporarily.

Create an event that detects whatever conditions you want (in air, button pressed, etc.) and then set platform->max fall speed to zero, wait x seconds, set max fall speed back to 1000 or whatever it was before.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Sun Apr 14, 2013 1:22 am

Ah yes of course! why didn't I see that!! *Slaps forehead* I over looked the "Max fall speed" this and it was driving me up a wall. Thank you mate!   
B
4
Posts: 35
Reputation: 445


Return to How do I....?

Who is online

Users browsing this forum: Radulepy, TiagoCesar and 20 guests