made in a hurry. This may not be the best solution, but it may be useful.
drive.google.com/file/d/1G2b9NRKDf78FNrN5qIvl_KN_TO1-LmBM/view
just invert the condition
try this too.. if the security restrictions allow, it may work.
Develop games in your browser. Powerful, performant & highly capable.
by the way, there is a useful "action" in the mouse plugin (pointer lock). But this may not work due to security restrictions.
I think you could multiply the mouse movement. Thus, when the pad reaches the edge of the layout, the mouse will still have space to move. And you can move the pad using (move_at_angle), and the speed of the cursor movement. I got the cursor speed using (lerp) expression. made an example.
drive.google.com/file/d/10ELD7oOg6aSTMOoxE6sSGOoH0euPGVFw/view
I think it's impossible. When the mouse is getting outside of the game area, its value no longer change.
the link doesn't work
you can do this way
there are many ways to do this. Here is several of them
drive.google.com/file/d/13zKT1m-XJ6ULSVOSd1Ubml-zsX2kGtx6/view
the global variable "directionofraccoon1" is not changing at all. You can check it in debug mode. Why don't you change the orientation of the sprite toward touch point?
I'm sorry guys. You were both right. in the pin example, I can use a hierarchy instead of pin, and everything works the way I need. Thank you so much.
I almost never use Pin now, hierarchy works much better imo. im_pro_viz You need to add this object to a family. Then you can pick one instance of the family and one instance of the object and add them to the hierarchy.
I almost never use Pin now, hierarchy works much better imo.
im_pro_viz You need to add this object to a family. Then you can pick one instance of the family and one instance of the object and add them to the hierarchy.
in this case, I can connect only two instances. But what if there are many?
Make a good use of pin behavior to achieve such chain hierarchy: https://www.dropbox.com/s/acn0bo320u4ey6m/pin_to_pin_new.capx?dl=0
Make a good use of pin behavior to achieve such chain hierarchy:
https://www.dropbox.com/s/acn0bo320u4ey6m/pin_to_pin_new.capx?dl=0
this is not the case. this is not a hierarchical chain.
Hello!
I have several instances of the same sprite, and I want to create a hierarchical chain of them. so that each is a child of the previous one. How can I do this?
thank you!