This site requires JavaScript, please enable it in your browser!
Greenfoot back
eddy0102
eddy0102 wrote ...

2016/9/1

How can I move my actor to the right with just sound

eddy0102 eddy0102

2016/9/1

#
I have to move my actor to the right only using an if-statement and the microphone or sound
Super_Hippo Super_Hippo

2016/9/1

#
It will look like this. You can change the numbers to your needs.
public void act() 
{
    if (Greenfoot.getMicLevel()>1) move(1);
}
You need to login to post a reply.