Choose a character

For questions about using Classic.

Post » Wed Oct 13, 2010 10:07 pm

Hello to all
I have a problem , im creating a "game" and in my game i can choose in 2 characters 1. but i dont know how to put then on map? i need create 2 layouts for 2 characters????
thanks
B
5
G
2
Posts: 47
Reputation: 857

Post » Wed Oct 13, 2010 10:42 pm

[quote="tintasmen":2cj86ft2]Hello to all
I have a problem , im creating a "game" and in my game i can choose in 2 characters 1. but i dont know how to put then on map? i need create 2 layouts for 2 characters????
thanks[/quote:2cj86ft2]

Sanity no! What you'll wanna do is create an object that serves as the spawner for the player character. Then just have a global variable saying which character you're playing as. Create events accordingly.

On Start of Layout
-If Global(Player)= Jim
+Then Spawner create object Jim
-If Global(Player)= Jill
+Then Spawner create object Jill

If you have too, put both on the field and check the attribute "Destroy at Startup"
B
51
S
10
G
7
Posts: 184
Reputation: 6,825

Post » Thu Oct 14, 2010 9:45 am

Thanks Friend :D i gonna try :D:D::D
B
5
G
2
Posts: 47
Reputation: 857


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest