How to move camera with keyboard

Get help using Construct 2

Post » Sun Nov 20, 2011 7:33 pm

Mouse click movement : LINK

That should inspire you.
There are other examples in the FAQ.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Sun Nov 20, 2011 7:38 pm

Thank you Kyatic. I have one last question then I should be out of everyone's hair for a while. I'm trying to set up a pointer on a HUD layer that will always point to an object's location, kind of like a map marker, but I can't seem to get it to point at the created object. The way I'm trying to set it up is like this:

EveryTick
If ObjectIsPlaced = 1

then Set pointer angle to Object.X , Object.Y

When ran it just points in a random direction and stays there. =\
B
1
G
1
Posts: 8
Reputation: 466

Post » Sun Nov 20, 2011 8:21 pm

If you have several instances of Object, the pointer will pick the very first one.
Unless you pick the target object before to make sure it is its coordinates that are given to Pointer.

You should post a capx (save to single file) to illustrate what you currently get instead of the intended as you described it.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Previous

Return to How do I....?

Who is online

Users browsing this forum: mercuryus, mystazsea and 18 guests