Avenged90x's Forum Posts

  • Ok. Finally i found the best and the simpliets way to do what i wanted !!

    Thanks the_Shit_Hawks for your soultion. I made something like that:

    Looks simply as fun.. And it works very well!!

    Thank you guys!

  • Sure, its still actual It will be great!

  • I tried that what u're writting... but there is no difference if object A is overlapping object B , or object B overlapping object A.. :/ I thought it make difference but it doesn't.. So i think there is no simply way to do that..

  • I tried that pick top/bottom conditio, but it doesnt work...

    I made simply test with 2 objects:

    1. Event: Condition: left click on Object_A > Object_A move to top

    2. Event: Condition: left click on Object_B > Object_B move to top

    So i can choose which object is on top by clicking one of them.

    And event like this:

    Condition: Object_A pick top instance > set Object_A.Y + 1

    So Object_A should keep moving while it's on the top on the layer. But it's moving down to the screen even if its at the bottom ;/ so it doesn't work correctly..

  • Ok, no problem I will learn about arrays 3d, read about that and try to do that by myself.

    I just thought, there is simply way to do that using conditions like "Triangle is in front of/behind Square" but its not..

  • NetOne, could you make simple example with that array 3D? It's possible in C2?

    I was afraid, that this will be impossible to make in C2 and learning C#.

    But if there is no way to check that, i will make the prototype without checking right Z order.

    You;re right.. in C2 i had to do that with a tons of variables and condition to each objects in each levels.. So 10- 15 levels is maybe possible, but 70 ? ..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • NetOne, family with Z instance is interesting idea, but how can I check which object is upper, and which is below in that Z order? For example. I have 3 objects; triangle, square and circle. At the start of the layout, the circle is behind square, and square is behind triangle. So the triangle is on the top, square is below the triangle and circle is on the bottom at z order. Now, i can changing their position in Z order by clicking on them (for example with condition like; when click on object > object move on the top). And that works fine - I can manipulating, which object is upper, and which is below..

    But to complete level, i have to set objects in that order: Circle on the top, triangle is below the circle and the square is on the bottom of them. How to check that order in conditions, to make the level complete?

  • With layers manipulating - it will not work as i want.. because the game is based on changing the Z order in the objects by clicking on them or moving. When I move the object A in direction to object B, and it overlap / cover object B, than I can move object A back, and than move object B on the object A, so then object B will overlap / cover (will be i front of object A).

    I tried that condition with 'pick top/bottom' like: object A - pick TOP instance > go to next layout. There is no option/condition like " If object A is on the "top" , or in front of object X > go to next layout ... or maybe you know the way to do that?

  • Because i have an idea for my game, where the objects overlaps on themselves like in origami, and the Z order is the main feature its puzzle game.. so the veryfing Z order is the only way to decide if level is complete and you can go to next or not.

  • Okej. But how can i make condition like:

    When object A is over Object B, and Object B is over Object C - Go to next layout (complete level or something like that). How can i check / detect the order of objects, to complete level or not?

    Ordering by the layers? Hm.. so, when i want to make that order: Object A = 1 (on the bottom), Object B=2 (over object A) and Object C=3 (its on the top, covering A and B). And the actions are: when im click on the object A -> Object A move to the top (I can change that to: move to layer X [by the way, there is no action like 'go to next/upper layer] but than, all the objects will go to the top layer, so how to detect the order then?

    In the layout, there is an order, to sort objects in Z (i know its a fake Z, because of 2D) so the system knows, about the order.. So it should be a way, to controlling that in event sheet veryfing etc..

  • Hi!

    Is there any way to check (making condition) which object is on the top in z order, and which at bottom?

    Im making a prototype of game, where the order is the main feature, and its important to solve pieces in right order (Z order) so how to make condition, that will check, which object is over another object (in front of) ?

  • Ok. I've got full version of C2, and there is available an option "Edit Z Order" in object parameters. But how to make the condition, that will check, which object is on the top, and which, at bottom in that z order? Can anyone help ?

  • Yes R0J0hound! That's exactly what i want. Ok, you're right guys "overlapping" is the same when object is on top or bottom.. so i want to check when it is on the top and cover another object and check when it is on the bottom, and its "behind" another object in zorder. Is any way to make a condition that will check it?

  • imhotep22.. hm i know very well about that function/condition "is overlapping another object" But it's now exactly what i want.. I want to make action "Object A is OVERLAPPED" by another/Object B - it make little difference.

  • Hi guys!

    I'm making a game, where's mechanics/feature based on covering/overcasting objects by other objects. Just like in "solitaire". So I want to find a way, how to check if Object A is "overlapped" by another object? Because for now, it'll be the only way to verify correct sequence and complete the level..

    Help