Move to last click/tap help!
Quire
Member Posts: 54
I've managed to get an actor to move to the last place clicked/tapped on the screen, cool! But now I've bamboozled myself trying to have levels bigger than the screen, because my rules are relative to the screen...not the level!
How do I decouple them and reference the background actor instead? Which, of course, is moving thanks to the cam control on the main/player actor?
Many thanks in advance!
How do I decouple them and reference the background actor instead? Which, of course, is moving thanks to the cam control on the main/player actor?
Many thanks in advance!
Comments
Sounds like you need to edit your actor instance, which will give you access to the scene attributes, rather than just the screen ones. You can test this out, but don't "commit" until you've got your prototype the way you want it, or you'll have a nightmare trying to sync your actor between scenes.
Is there some way to reference where on an actor a click occurred? I can't seem to find one.
So despite the draw glitches (the player actor is doubling up a lot), it is nice to have it wandering around the entire level!
This tutorial shows you how to constrain it to your first actor;
You'll need to position and size it right (over the actor's head, say). Then you can make it invisible, but still test for clicks.
Stuart, thanks for your help too!
Good community you guys got going on here. Thanks again!