[BUG] Some pre-shipped behaviors are unnecessarily Flash-only

Leaufai

  • Posts: 327
Noticed that the Follow the Mouse and Face the Mouse behaviors still have part of there code within a Flash only block. It would work fine on other platforms in Stencyl 3.*, so it should be removed. Might be others with a similar situation, but these are two that I could remember.

SadiQ

  • Posts: 1795
How would you follow the mouse in Android or iOS where no mouse is present?
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Leaufai

  • Posts: 327
Isn't touch equal to the mouse for mobile platforms. Touch it is the same as 'mouse press', moving around your finger is the same as 'mouse' and taking your finger off the touchscreen is the same as 'mouse release'.

rob1221

  • *
  • Posts: 9472
Mouse pressed/down/released work on mobile, but mouse over is exclusive to web/desktop.

captaincomic

  • *
  • Posts: 6108
Yup, I guess those "do only on Flash" could be removed from the behaviors.
For touch input with "Follow the mouse" would it make more sense to keep on moving to the last touch location when there is no touch, or to stop? (Probably both with a switch to choose would be best.) 

captaincomic

  • *
  • Posts: 6108
The behaviors are updated now with options to only follow/face the mouse/touch when down.