How do I ?

Get help using Construct 2

Post » Sat May 20, 2017 3:25 pm

Rewriting what @R0J0hound said:

In your project, you have two parameters:
  1. Sound per X degrees[/b]
    "Every X degrees, I want the sound to be played"
  2. [u]Rotation speed
    "Every second, my object should rotate Y degrees"
So far, so easy.

Now you create a condition:
Every Z seconds

Under that condition, put your Play audio action.

Now replace Z in your condition by this combination of expressions:
Z = X/Y
or
Z = Sound per X degrees / Rotation Speed

Example:
  • You want your sound to be played every 10 degrees that the object rotates
  • Your object rotates with the "Rotate" behavior
Use this for the "Every Z seconds" condition:
Every "10 / Object.Rotate.Speed" seconds
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Wed May 24, 2017 2:14 pm

any help please?
my object is rotating 360 degrees and i would like to play a sound every 5 or 10 degrees ?
how can i done it ?
thank you
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Wed May 24, 2017 3:40 pm

Can you put a screenshot of the event that you are using to rotate the object?
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Wed May 24, 2017 6:58 pm

You should check out a guy called jeremantor vids. He could show you how its done.
B
7
Posts: 14
Reputation: 309

Post » Wed May 24, 2017 7:22 pm

imhotep22 wrote:Can you put a screenshot of the event that you are using to rotate the object?

i'm just using the rotate behaviour
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Wed May 24, 2017 9:26 pm

trying to done somthing like that
here the sound effect of the object rotates https://www.youtube.com/watch?v=dq77-8Qfr3M&t=34s
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Thu May 25, 2017 4:35 pm

any tricks please ?
thanks in advance
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Sat May 27, 2017 1:09 am

how can i done like the video sound effect when the object rotate ?
https://www.youtube.com/watch?v=dq77-8Qfr3M&t=34s
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Sat May 27, 2017 1:36 am

any helps please ?
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Post » Sat May 27, 2017 3:26 am

can anyone helps me please ?
is that impossible ?
B
46
S
16
G
8
Posts: 800
Reputation: 8,347

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests