If you want to move 2 sprites together in the authoring mode, just select two sprites at the same time and move - but this is obvious so you must be talking about movable sprites during runtime.
There is a type of member called Film Loop, which is basically a group of sprites. To create a film loop, select any number of channels and frames of sprites in the timeline and drag them to an empty slot in a cast window.
However, there's a problem in your case - I don't think text inputs will work once in a film loop.
You can use this thing called LDM or "linked Director movie", which is basically a Director movie within a Director movie - perhaps it's an overkill though.
Or you can write a simple behaviour like this:
[tt]--
property pOffset
on beginSprite me
pOffset = sprite(1).loc - sprite(me.spriteNum).loc
end beginSprite
on exitFrame me
sprite(me.spriteNum).loc = sprite(1).loc - pOffset
end exitFrame
--[/tt]
The sprite with this behaviour will follow the movement of sprite(1).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.