When the screen is touched (or clicked) character will move up or down.

Having trouble with getting this to work.

As of now I am using a rule and the movement attribute.

I can move the actor when he is touched directly with the mouse, however this is not what I am looking to use for game play.


Pretty much I am wanting to move the character up when the screen is touched.

Any ideas how to do this?

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Create a boolean attribute called touch.
    In the background of the scene, when touch is pressed change attribute touch to true, otherwise change touch to false
    In your actor when attribute touch is true (do)
Sign In or Register to comment.