This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Until 1 Dec 2026 all licenses are 30 % off, for example the Indie Bundle for €69.30 instead of €99. The code BLACKFRIDAY is applied automatically at checkout.
See licenses Try it for freeSorry. Let me clarifyWhen you say mouseUP, you are talking about listening out for actual mouse movement on the y-axis & not left mouse button release?We don't have an event handler for mouse directions, but you can listen out for mouse movements & check the current position on the y-axis from the position where the user pressed the mouse button down to see if they move the mouse up or down enough to execute the line/function that should update the number.
on mouseDown
repeat while the mouseDown -- LOOP
a= GetAngle ( (the mouseH, the mouseV) - sprite[Num].loc )
getDialNum a, sprite[Num]
updateStage
end repeat
end
on GetAngle thePoint
set x to the locH of thePoint
set y to the locV of thePoint
if y = 0 then set angle to 90
else set angle to atan(float(x) / y) * -180/pi()
if y >= 0 then set angle to 180 + angle
else if x = 0 and angle = 270 then set angle to 90
return angle
end
on getDialNum theAngle, theSpriteNum
put 260 - (theAngle/6) into absDialNum
set newDialNum = absDialNum + tolerance
if newDialNum 259 then set newDialNum = 199 + (newDialNum - 259)
put absDialNum into prevAbsDialNum
rotateDial newDialNum, theSpriteNum, startDialNum
endThis thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.