Xionor's Recent Forum Activity

  • Hi.

    Im experimenting with the Sine behavior.

    Take for example the 'Sine Behavior Types' project in Construct 2.

    Take the sprite in the top left corner with UID 0.

    How would YOU make that sprite pick a new random magnitude, every time it reaches the extreme of the current(As in, each time it goes to leftmost or rightmost side)?

  • Hey.

    Is there any command that could do the following?

    On X(whatever), disable the physics behavior for that object?

    Found only gravity and colissions in the options. Or is that enough?

  • Dear Kyatric, THANK YOU!

    The image was supposed to be single frame, but apparently a copy of it had somehow snuck itself into the Animation Frames.

    They had different bounding boxes and that's where the issue came from.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Imagine a rocket with 3 sections. The Bounding Box encompasses section 3 and nothing else.

    1 - |

    2 - |

    3 - |

    The rocket travels upwards towards Object1.

    I'm using the Pin(Position & Angle) behavior so that Section 3 "On Colision" with Object1, should freeze.

    My problem is that it freezes when Section 1 collides with Object1, rather than Section 3.

    The Bounding box on Object1 is no bigger than the object either, so it shouldn't be happening.

    Does anyone know why it's happening?

    EDIT : It seems to take the top edge of the visibly drawn image as Collision box for the Rocket, and the Bounding Box for Collision box for Object1. Why?

  • Thanks for the explanation. Got it to work exactly as i wanted it to : )

  • Hi.

    Call me stupid but I can't seem to understand how Set Velocity works in the Physics behaviour.

    What does it do?

    What is the X component, what is the Y component?

    There's very little discription in the manual..

    Thanks in advance!

  • dl.dropboxusercontent.com/s/kkcx8rf3589tntd/Hoppy.capx

    I made a quick project to give an example.

    Notice how the oranges appear clumped, then there's few screens of no oranges, then suddenly its 2-3 oranges on the same screen again.

  • Hey.

    I wonder, exactly how randomized is the Random function?

    Im making an upwards scrolling platformer and I've made an event where the game creates a small 100 px platform anywhere on the 1000px X plane of the layout the player's going towards.

    What I notice very often is 5+ platforms on one side at very similiar X coordinates, then 5+ on the other, then 4 in the middle.

    At times it would even create

    Platform 1 - 50px

    Platform 2 - 60px

    Platform 3 - 75px

    Platform 4 - 92px

    As in, scaling platform groups.

    And that happens A LOT! It looks like half of my platforms create stared/scaled structures.

    Thus wondering about the randomness of the whole process.

    EDIT : I made another event. I basically gave it a 10% chance to spawn an orange on each platform. As it is now, the oranges spawn mostly in clumps of 4+ with great patches of the level with no oranges. Very rarely would only 1 orange appear.

    What's wrong here?

    EDIT 2: Postig a capx as soon as possible.

  • Thank you Mipey! Works like a charm! Is there any way to give you rep? ^^

    Do you have any idea if it's possible to declare an int variable, or are all variables floats?

  • 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!

Xionor's avatar

Xionor

Member since 16 May, 2013

None one is following Xionor yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies