Xionor's Forum Posts

  • Thanks Mipey, works great for the last four digits.

    I used Left to get the first four digits, but the thing is, the Y value starts off as 3 digits to begin with. So I get 123 and a . at the end of the score in the start, as in 123. . How do I avoid that?

  • Hi!

    I have the following line

    <Set Text to "Score: " & Player.Y>

    As you can imagine Player.Y is quite a long value.

    Is there any way to limit the displayed value to only 4 numbers?

  • Thanks Yann, I didn't realise that Construct2 events are While based. I read some into the manual and got everything to work just fine in the end : )

    Thanks for all the help everyone!

  • That's exactly what's happening farmerdwight. The thing is I had no idea how to exit a loop in Construct - I just started a few hours ago. Now I got the hang of it better :)

    I have another question tho -

    I have Text -> Set Position to (200, 200)

    then   Text -> Move 200 pixels at angle 90.

    The problem is that while i have specified a Y value at position, it will NOT execute Move 200 pixels. If i remove the 200 px on the Y it works fine. I tried different orders, spacing out the events, it didnt work. Is that a bug?

  • Hey.

    I'm using the following conditions all in in the same single event.

    System -> While

    System -> Player.X > 500

    System -> Player.X < 900

    -> Set Scroll to Player.X

    (Player.X starts originally at 700)

    However, when the 'While' is in there, the game started with a black screen(it doesnt work). I remove the While and then it works great. Am I doing something wrong?

  • Yea, that's what i did eventually. Thank you! : )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi.

    I have a Scroll-to behavior on my character. I want to disable it when my character crosses a certain point on the layout. How do I do that?

  • Hello! I just got Construct2 and it's lots of fun!

    Is there any way to enable Unbounded Scrolling, but only in 1 or 2 directions?

    I guess you could make the game turn off unbounded scrolling the moment the undesired object(character) strays too far to one side, but that seems a bit hardcoded and forced. Is there any more elegant way?

    Also, which variable refers to the layer being Unbounded or Bounded? How can I change that variable from inside the game?