ID:1339072
 
(See the best response by Rushnut.)

Hi I am wondering if it within byonds capabilities to create a system in which an individual uses a user drawn line in order to activate a skill in a game.


I noticed this pokemon ranger post.

http://www.byond.com/forum/?post=212739

Essentially the players mouse would become the equivalent to a Nintendo DS Stylus in a sense.

To break it down; you press your macro > your character goes into a drawing state > you draw your skill > system recognizes the closest match to the line you are drawing > Skill releases

http://www.youtube.com/ watch?feature=player_detailpage&v=Mq_M45R2-sY&t=55

or something like this if it helps to better understand.
Best response
You'd need to grab the Mouse Coordinate and create an atom (Or use DrawBox()) at that location.

Then you'd need to record the location and update/check for loops accordingly.

This would all be very easy within Pixel Movement, but a bit of a pain in the ass to do on tile based movement.