Sheyroth's Forum Posts

  • 7 posts
  • It seems that using the Time behavior with a For each (ordered) works, thanks ! But the outcome is not yet satisfaying.

    The more the snake eat bonus the less the sine movements of each segment are synchronized.

    Still working on it !

  • I tried this but it didn't work :/ It seems conditions aren't met.

    By the way, the head of the snake isn't the same object as the segments in my code.

    Maybe using families can help, I'm trying something.

  • Hi everyone !

    I'm currently making a snake-like a game, and I want to add a "swallowing" effect.

    For that, I want to trigger a "Set enable Sine behavior"(Sine behavior has Size movement) on each instance of my snake body (which is composed of several segments, each segment is an instance of the same object).

    With that, when my snake eat a bonus, each segment of his body from head to tail would increase then decrease in size, one after the other.

    I tried to use a For each (ordered) condition + On collisiong between the head of my snake and a bonus, but it didn't work at all.

    I hope someone could help me with that !

  • Thanks for the link LittleStain !

    Using array seems to be a little difficult for me as a beginner, I hope I'll can handle that ! ^^

  • Hi guys !

    Here's my problem. I'm trying to do a point'n click game and i have to create an inventory for this.

    In this inventory, when an item is destroyed ('cause player used it for example), items on the right of the destroyed item have to move left (to fill the hole left by the destroyed item in fact), and i just don't know how to that.

    I already trying something with variable (when an inventory object is destroyed, -1 in a variable of others items making them move on the left, but because of all items are concerned, items on the left of the hole left by destroyed item move left too ).

    So, I hope someone has an idea to making it works well !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • God i'm so dumb ! That's it !

    Thanks for your help LittleStain !

  • Hi !

    I'm trying to do a point'n click game and i have a problem with the condition "Mouse is over ".

    In fact, when Mouse is over Object 1, set position of Object 2 to Object 1. Okay, no problems.

    Now i want to say " When Mouse isn't over Object 1, set position of Object 2 to Object 3, but i just don"t know how to do that

    Hope someone can help me for that !

  • 7 posts