Hi there,
I had a game I did in GameSalad that I'm recreating with Construct 2. The original system I had which I really liked is giving me some trouble when I try it in C2. So it's something like this:
I have a spawner object.. i want to place this object (multiple ones for that matter) and each of these spawner objects would instantiate the game objects relative to the angle and position of these spawner objects.
I was thinking about containers, but I've only used containers in very limited ways till now with one easy object.. but in this case I'm dealing with objects on multiple layers and such..
Here is a working example of what I'm talking about..
There is a floor to the truck.. there are two invisible colliders on the left and right sides to guide the boxes and a canopy layer which becomes transparent when boxes are inside..
to some degree i could hard code things to appear and disappear but i would like to make it more modular so I can easily move those spawn points where ever and whatever angle.. I just don't know how to best approach it.
Here is what I have so far.. if you hit the green button you'll be able to reset and see how randomly changing the spawn angle of the black bar greatly distorts the positions of the other parts.. but if you click enough it will be facing vertically and then everything is lined up as it should be
http://part12studios.com/temp/FredExTrouble1/
Thanks!
Caleb