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! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

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
49
S
14
G
3
Posts: 540
Reputation: 5,611


Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 10 guests