Multipart Objects - how to manage

Get help using Construct 2

Post » Wed Jan 08, 2014 1:25 am

https://www.dropbox.com/s/n6jq7g32sg9g3h6/project-1.capx
B
6
S
2
Posts: 22
Reputation: 571

Post » Wed Jan 08, 2014 1:29 am

This is cut project i'm developing.

2 ships.
First controlled by arrows, but not firing.
Second - enemy, firing to my ship.

Enemy ship:
1. Have 3 towers with 3 guns each
2. It's moving.

I coudn't find any solution to make 1 tower object for the enemy ship. And did 3.
But it's not the main problem.
How to do TEN such ships without manual copypaste of all programming.
B
6
S
2
Posts: 22
Reputation: 571

Post » Wed Jan 08, 2014 1:31 am

And a question: is in cs2 possibility to make a multiobjects. Like enemy ship with 4 combined objects + scripts = one object.
B
6
S
2
Posts: 22
Reputation: 571

Post » Wed Jan 08, 2014 1:58 am

You should do some more tutorials on picking.

I've simplified some things. You can copy the same object, you just need to identify which one does what when something needs to be different from the others.

ShipExample.capx
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229

Post » Wed Jan 08, 2014 2:08 am

Thanks.
I opened it but i see changes.
Yeah, turrets less :))))


The problem is to do TEN ENEMY ships. With 30 turrets.
Can you help once more and add 2 enemy ships in layout?
B
6
S
2
Posts: 22
Reputation: 571

Post » Wed Jan 08, 2014 2:59 am

ShipExample_30.capx

(Simpler to do, in some aspects).
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229

Post » Wed Jan 08, 2014 5:33 pm

[QUOTE=blackhornet] ShipExample_30.capx

(Simpler to do, in some aspects).[/QUOTE]
IT WORKS!!!
Oh... thanks, god!


B
6
S
2
Posts: 22
Reputation: 571

Post » Wed Jan 08, 2014 6:30 pm

[QUOTE=blackhornet] ShipExample_30.capx

(Simpler to do, in some aspects).[/QUOTE]

How to destroy enemy ship with it's turrents together?
B
6
S
2
Posts: 22
Reputation: 571

Post » Thu Jan 09, 2014 2:05 am

ShipExample_30_destroy.capx

Touch an enemy ship to test.
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229


Return to How do I....?

Who is online

Users browsing this forum: alextro, georeb, ivanski1983, Ryan Kocourek and 9 guests