Click and set new heading

For questions about using Classic.

Post » Tue Mar 02, 2010 10:19 pm

I want to be able to click on my red or blue craft and then set a new direction by either clicking on the screen or dragging and releasing to the new heading.

BONUS Q: Also If possible I want a smooth path. so say you click at a right angle it makes and arc, and especially so if you click behind it. So it can not just flip around.

http://www.box.net/shared/h55ctfuu4p

Thanks
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Wed Mar 03, 2010 8:07 am

I assume by "craft" you don't mean "car," so why are you using Car behavior? Use Custom Movement, or at least Bullet. Or hell, if this is a point-and-click type of movement you could probably use RTS.

Anyway, here's one I made with Bullet:
http://dl.dropbox.com/u/529356/TempPics/turnship.cap

Click a ship, drag the target, release the mouse button to start the ship moving.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests