What would be the best way to acheive this...?

For questions about using Classic.

Post » Sat Jan 28, 2012 2:12 pm

Hiya everybody, again...

What would be the most efficient way of handling the movement of multiple objects together at once? I have a platformer based game where the player controls a starship made out of blocks. It's a bit like Terraria in space, I guess...

Anyway, how could I create a system where the player could go to a command module block and then move the entire ship made of individual block objects (multiple types), even if it's just using the 8-Direciton behaviour?
B
8
S
2
G
2
Posts: 144
Reputation: 1,588

Post » Sat Jan 28, 2012 6:52 pm

The simplest method would be to use multiple image points.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Mon Jan 30, 2012 8:59 pm

So... you mean by using a "master" object, and having each block set a image point on the "master" object? That way I they would be able to rotate while keeping the correct position, I think.

My current way is to use a movement behaviour which is applied to each block. This works, but obviously doesn't work with rotation, so I'll give this ago. Thanks! :D
B
8
S
2
G
2
Posts: 144
Reputation: 1,588


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests