This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for freegame.Cursor = Cursors["example"]function setExitCursor()
if game.CurrentObject then
--print(game.CurrentObject.Direction)
game.Cursor = Cursors["cur_exit_n"]
end
end
system.cursor = Cursors["example"]local t_arrowdirection = {"cur_exit_e","cur_exit_ne","cur_exit_n","cur_exit_nw","cur_exit_w","cur_exit_sw","cur_exit_s","cur_exit_ne"}
function setExitCursor()
if game.CurrentObject then --maybe a check for string "exit_to_"
--print(game.CurrentObject.Direction)
local curDir = math.floor((game.CurrentObject.Direction / 45) + 1 )
system.cursor = Cursors[t_arrowdirection[curDir]]
end
end