Event to change player

Discussion and feedback on Construct 2

Post » Tue Jun 26, 2012 4:55 pm

help please
I want to do an event that can change from one player to another.
For example, I have a soldier and when you find a tank to take it and can use the tank as a player.
I give all the positive points to help me.   
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Tue Jun 26, 2012 5:49 pm

what happened? no comment forever alone!!!
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Tue Jun 26, 2012 5:57 pm


I'm from Colombia, South America
I speak only Spanish
Spanish tutorials are few and some complicated
but I can translate feedback and guide me.
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Tue Jun 26, 2012 6:15 pm

Unfortunately you're in the open topic section.

Are you looking to do this in Construct Classic or Construct 2?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
107
S
38
G
17
Posts: 2,169
Reputation: 18,933

Post » Tue Jun 26, 2012 6:17 pm

[QUOTE=Jayjay] Unfortunately you're in the open topic section.

Are you looking to do this in Construct Classic or Construct 2?[/QUOTE]

Construc 2
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Thu Jun 28, 2012 2:02 am

A simple way would be to set the controls for each player character and then use a boolean flag to assign player control, either through a collision or keypress. If the variable was set to true the man sprite would respond, if false the tank would.

You'd have to play around to get things like cameras working but I think this should work in principle.
B
55
S
17
G
8
Posts: 634
Reputation: 8,773


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests