NitroBanco's Forum Posts

  • 6 posts
  • Example: example.c3p

    The linked c3p is the endless runner template you have on Construct with just an added sprite to demonstrate my problem.

    When you're running and jumping, the player sprite doesn't jump straight up, it goes a little bit forward and when landing it also has problems, I have added a red bar sprite to demonstrate it, after a few jumps you can end up being quite far away from your starting point.

    I would like it to always stay on the same X value.

    There is some tweaks at the end of the event sheet but it's not really working.

    How would you do it?

  • In C3 it's normal to use only one parameter like this : rgb(red, green, blue)

    instead of 3, one for each color, as it was on C2.

    So what you are describing seems normal.

    As for my specific issue, I reported it on Github there : https://github.com/Scirra/Construct-3-bugs/issues/311

    And it was fixed in r32 update.

    Edit: Just to be sure, parameter 0 is source color, parameter 1 is the color you want; so if you want red it should be:

    Set effect "SetColor" parameter 1 to rgb(255, 0, 0)

  • Ok, I'm sorry it's my fault.

    It was working from the beginning... on Construct 2.

    I didn't realize I'm on the C2 side of the forum but I'm actually working on C3.

    It works on C2 but not on C3, even your example code. So I guess I found a bug.

    I will go signal it on the C3 side of the forum if it was not already.

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried but I must be dumb, it's still behaving the same.

    If you ever have time to test it and make a working example that would be awesome but even if you can't I thank you for your time and answers.

  • Thank you for your answer, sorry but I do not understand what I have to do, I'm not sure it answers my problem.

    This is what my function does:

    Everything works great, each instance has it's own size, speed, and spawn coords.

    But the ReplaceColor affects all instance, I do not want that.

    I'd like that each instance keeps the color that was defined at creation. The same way it keeps its size and speed.

    So why does it work for size and speed but not for color?

  • Hi, I create a square (with bullet behavior) every 1 second with some random values for it's size, speed, spawn coordinates.

    For these values, it's working correctly, each instance has different values and they do not change during their lives.

    But I also have a ReplaceColor effect that is changed randomly between 3 colors on creation of the square.

    This one affects all square instances, not only the newly created one.

    (Click on image to go to it's full size)

    I have a Construct license for some times now but I never used it so I'm a newbie and don't see where I did something wrong.

    Can you explain how can I change the color of the newly created square without affecting already created squares?

    Thank you.

  • 6 posts