Multiple Actors Moving as One?

Game Editor comments and discussion.

Multiple Actors Moving as One?

Postby banffbears » Mon Oct 08, 2007 7:20 pm

I would like to duplicate an actor created so that they all behave as one under normal path movement but act as individuals when a certain condition is applied.

How do I do this?
My game can be seen as something unique but take the object elements similar to TETRIS. Only in the sense that one object is made up of 1 - 4 blocks. When multiple blocks are part of an oject, a condition can be applied to any one of the blocks within the object.

Hope this makes sense.
Any ideas on how I can create the actors as they are called in Game-Editor and manipulate them as individuals in a group?

The other option is maybe someone has a tetris like sample code they can share?

My concept will have 4 blocks in a single straight line that moves horizontally and interacts with other blocks just below it.
It's nothing like Tetris but that is the only game I know of that even comes close.
Maybe Space Invaders in the sense of how the row of ships move but these would be blocks joined together and only one row of them moving.

Thanks

Bob
banffbears
 
Posts: 5
Joined: Mon Oct 08, 2007 3:44 pm
Score: 0 Give a positive score

Re: Multiple Actors Moving as One?

Postby Troodon » Tue Oct 09, 2007 4:10 am

Could parent-child function work in your game?
I mean that you set 3 other blocks as the parent of the 1st block. Of course this is very basic way but if it works with your game, use it! :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron