playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Roll Ball Sound
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Roll Ball Sound (Read 2195 times)
KrzysztofZuk
Playmaker Newbie
Posts: 16
Roll Ball Sound
«
on:
November 08, 2014, 02:02:00 PM »
Hello, I want to create game, where ball will be roll (add Torque by accelerometer). So if ball stay in place there should be no sound, but when ball start to roll then sound of rolling ball should be activated. Do you have idea how to make it with playmaker ?? Is there some possibility to make this: if for example x value of ball stay in place (don't change) = do nothing but if it will start to roll - make event that will turn on sound
?
Logged
600
Moderator
Hero Member
Posts: 716
Re: Roll Ball Sound
«
Reply #1 on:
November 08, 2014, 02:44:28 PM »
Hi,
if you use physics, can try it with get velocity and when its above 0.5 for example, play a sound.
Logged
-
Car and Traffic
Playmaker assets
-
Flashing Lights: Police, Fire, EMS
[Steam]
-
YouTube
KrzysztofZuk
Playmaker Newbie
Posts: 16
Re: Roll Ball Sound
«
Reply #2 on:
November 09, 2014, 03:42:57 PM »
Hello, thank you for your answer
! Anyway, I used "Get Speed" property, and use this property as a "pitch" value of my rolling ball sound. ( I also used "Sample Curve" action to add some modifications).
Cheers !!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Roll Ball Sound