Create player after its destruction

Get help using Construct 2

Post » Wed May 22, 2013 10:41 am


Hello,
I'm making a game of ships, and I want when I Suffocate, regenerates another until all the lives, I can guide on how to do this?. I've tried to make other lives invisibly, but the shots but this makes them invisible. See if you can tell me how.
In this game, I wanted to put the picture of the lives, and as they were destroying it disappeared.
As you see is a classic game, and want to know how to do it.
B
11
Posts: 26
Reputation: 1,147

Post » Wed May 22, 2013 12:07 pm

I made this example a few days.

Went the box hits the other box. A new one is created.


https://mega.co.nz/#!Z542mRYS!SlnSuUADWL2HLOsmfD2IZ1wJVCRNXwdwsB0XuGYKHAY

Hope it helps you.
B
14
S
4
G
1
Posts: 42
Reputation: 1,775

Post » Wed May 22, 2013 4:08 pm

I have just posted a tutorial, that may help...

https://www.scirra.com/tutorials/565/beginners-tips-to-using-global-variable-for-lives-with-lives-indicator
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Fri May 24, 2013 11:59 am


Pxel perfick, cual es el tutorial?, donde lo tienes?

Peret, no me funciona url que me pones

Gracias a los dos fumeque2013-05-24 12:00:59
B
11
Posts: 26
Reputation: 1,147

Post » Fri May 24, 2013 1:35 pm

@fumeque a mi me funciona :(

Supongo que cuando le dan con una bala se hunde no?

Ship1 On Collision wiht Bullet -->Ship1 Destroy. Bullet destroy. System Create object Ship2 (Sip1.x, Ship1.y)

It works for me :(

I suppose that a bullet hits the ship and sinks(suffocate)?

Peret2013-05-24 13:37:18
B
14
S
4
G
1
Posts: 42
Reputation: 1,775

Post » Fri May 24, 2013 2:14 pm

Please try to write English, all your threads are also a resource for other newbies.
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Fri May 24, 2013 3:22 pm

Spanish translation of the tutorial:

https://www.scirra.com/tutorials/565/consejos-para-usar-variables-globales-con-indicador-de-vidas-restantes/es
B
12
S
4
G
4
Posts: 8
Reputation: 2,745

Post » Fri May 24, 2013 5:59 pm

I'll see the tutorials had not seen, but who give what he wanted.
I comment on how it goes.

Peret, what does not work is the link (https://mega.co.nz/ #! Z542mRYS! SlnSuUADWL2HLOsmfD2IZ1wJVCRNXwdwsB0XuGYKHAY), will not let me download anything.

Darklinki, you see, already English hehe

I just remembered, is perhaps another matter, but as I am.
I have put music to the game, and of course the music is over and the game is, as I can make a loop of music?   
B
11
Posts: 26
Reputation: 1,147

Post » Fri May 24, 2013 6:58 pm


I know how lives are deducted from the player, but as I can subtract the images on the screen?.
I've seen the tutorial, but not as I appear on the screen three ships, and according subtracting the lives they only have established a obejto ship.
I I have done, a ship and three hearts that are the lives, I want to leave discounting. How to relate each life with each object heart?.
Maybe what so messy, but it's the idea I had, however, not as it has in the tutorial for the ships that appear in these coordinates.
Let's see if I have explained well.fumeque2013-05-25 00:05:07
B
11
Posts: 26
Reputation: 1,147


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, mindragon73 and 26 guests