Xionor's Recent Forum Activity

  • Hey.

    I'm trying to make my character wrap around the layout only on the X axis, not the Y. How do I write that in the event system?

    Couldn't find anything about it in the FAQ.

    Thanks : )

  • Is there any advantage to using either method?

  • Well yes, that's the logic.

    But how do you set the value of "SineType"?

    System only lets you set global variables whereas the Objects "menu" only lets you pick a certain Sine Type from a drop-down menu.

  • Hi,

    How would you make an object, upon reaching a certain condition(for example, on reaching max magnitude), change it's sine wave type to another, random one? (Sine,Square,Triangle,Sawtooth)

  • It's a spaceship that's constantly moving upwards.

    I'm using the "Every Tick Simulate 8 Direction pressing up" for upwards movement.

    But when i press Left to go left, it goes diagonally up-left. And I want to go straight left.

    Pressing left in 4-direction mode ignores input.

    That's why I had to manually make the left-right movement.

  • Found Solution.

    It was to manually set "Move X pixels at angle" as movement controls left or right.

    It would have been better tho if you were able to set up something like that straight from the 8 directions behavior.

  • Hey.

    Am I the only one finding the whole "0 degrees points right" thing very confusing?

    When making something i constantly have to think in different degrees as some functions use normal North-based 0 degrees while others use the East-based 0 degrees.

    I would love the ability to be able to manually set where 0 degrees lies. Somewhere in the Project settings for example.

    Different angles would be useful in different games so the ability to change it sounds very useful to me at least.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't want diagonal movement. My object is constantly moving upwards. I want left to go left and right to go right, but not diagonally. That's because moving right diagonally is slower than moving straight right.

  • Hey.

    I'm having a problem.

    When using the 8 directional movement, when you press Up and Right, it goes diagonally Up and Right.

    But when you select only 4 directional movement from the options and press Up and Right, it doesn't do anything.

    It does this presumably since there's no diagonal to go to, but since there is no diagonal in only 4 directions mode, it should go Up and Right at the same time.

    I need a 4 directional movement because going Diagonally is slower than going directly right.

    Any ideas how to do this?

  • Oh, didn't know about that one. Useful! Thank you very much! : )

    What does Construct 2 define as Unused tho?

  • Hi,

    Im making an event where "On Created" Object1, the game creates Object2 a certain distance from it.

    But to actually have Object 1 as an active sprite on the Layout, I need to paste it somewhere off the layout, where it won't be seen.

    The thing is, the game creates that instance on game run, so that it immediately also spawns Object2. And I don't want that.

    How to make it create Object 2 on Object 1 Created, besides the initial spawn on layout start?

  • Yea, works awesome that way, thanks! ^^

    One more question tho - Since the Magnitude is different, but the period is always the same, the speed of the movement varies a lot.

    Do you happen to know any formula for period that would make it's movement Period consistent with the Magnitude?

    As in, no matter how large of a magnitude you pick, the object wouldn't move any faster(in terms of pixels per second) across the screen?

    I'm guessing it's just about figuring out the ratio between the default Magnitude/Period and applying that ratio to the Period depending on new value?

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