toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
SPAWN ACTOR WHEN TOUCHED ANYWHERE ON SCREEN?
Eminem
Member
Posts:
667
December 2010
edited November -1
in
Working with GS (Mac)
Ok so i want when the user touches the screen, i want it to spawn where ever the actor has touched,
any clue?
thanks
Comments
scrapee_net
Member
Posts:
424
December 2010
Just create a rule in any actor, to onclick. Then add a spawn actor behavior, and. Set the x position and y position, to the mouse position.
thedevnextdoor
Member
Posts:
78
December 2010
Create rule
actor recieve mouse down
spawn actor > give postion - Game.mouse.position.x and Game.mouse.position.y
make position relative to scene
Eminem
Member
Posts:
667
December 2010
thank so much guys!
Sign In
or
Register
to comment.
Comments
actor recieve mouse down
spawn actor > give postion - Game.mouse.position.x and Game.mouse.position.y
make position relative to scene