Rob
ClioSport Moderator
Anyone on here that knows this?
Basically i currently have an interface which plays sounds relevant to the mouse's X position, and then edits the volume relevant to the Y axis and currently the volume is loud when the mouse is at the bottom and quiet at the top, this is need to be the other way round and really cant suss it...
Code for it is....
currentXmouse = _xmouse;
currentYmouse = _ymouse;
beat1VAR.setVolume(100/Stage.height * currentYmouse);
I basically need to invert ymouse?
Or just make it somehow so that when you move the actual mouse on the computer up it moves down?
Winner gets a toffee crisp in the post.
Basically i currently have an interface which plays sounds relevant to the mouse's X position, and then edits the volume relevant to the Y axis and currently the volume is loud when the mouse is at the bottom and quiet at the top, this is need to be the other way round and really cant suss it...
Code for it is....
currentXmouse = _xmouse;
currentYmouse = _ymouse;
beat1VAR.setVolume(100/Stage.height * currentYmouse);
I basically need to invert ymouse?
Or just make it somehow so that when you move the actual mouse on the computer up it moves down?
Winner gets a toffee crisp in the post.