mumu64's Forum Posts

  • jastrazz I tried, but action "choose" also uses random.

    So it chooses sometimes 1 of the values more than once in a row.

    Sumyjkl solved it for me.

  • Thanks, Sumyjkl

  • Shake is one of the simplest things you can do.

    Just do it your self using variables, the random() expression, and the system scrollx, and scrolly.

    Like:

    +> global variable "shake"= 1

    -->system scroll x to scrollx+random(-30,30)

    -->system scroll y to scrolly+random(-30,30)

    This worked.

    But I would want to have a stable shake (without random):

    (I want scrolly first to add VarNum1 pixels and then subsctract VarNum2 pixels)

    I tried:

    if shake = 1 --> system scroll y to scrolly+5

    --> set shake to 2

    if shake = 2 --> system scroll y to scrolly-5

    --> set shake to 1

    I expected the screen to go go up and down, moving 10 pixels (shake effect). But nothing happened.

  • Thanks, this is not a feature request anymore.

  • I find the shake-option in the scroll to-behaviour too limited.

    I only see the screen shaking when I enter a magnitude higher than around 120 or 150.

    and that's too much shaking.

    The shaking is also not constant (even when I select the constant option).

    So I would like to see more shake-options.

    To include for example the following options:

    • shake screen with a minimum of 1 pixel (important option)
    • shake horizontal and vertical and diagonally (fairly important option)
    • shake only horizontal (optional option)
    • shake only vertical (optional option)

    (Or is screen shake not supported in a simple way in html5?

    And would it still be available when exported to other platforms available (android/ios)?)

  • As a test I added a shake-event to a (C2 space blaster) demo and it works. The screen shakes.

    It does not work in my own game however.

    Before I start searching and experimenting why, are there situations where the shake would not work?

    (as a workaround I tried to find magi cam, but I cannot find this plugin)

    Edit: I think the problem was: giving more objects a shake at the same time, so I only gave 1 object the shake-effect. But it is not very pretty.

    This topic can be considered closed.

  • newt thanks for the tip.

  • The warp effect doesn't work on my computer, that's why I am wondering:

    Can someone point me in the direction at how to create a warp-effect on a sprite, without using the ready-to-use effect from C2?

  • adnan Hasbi Yes!

  • I have the same problem as adnan hasbi has, I will try Derqs ' suggestion!

  • Thanks for the useful replies.

    I've added eli0s ' text as a private tutorial on my computer and I am going to try out remy-jay 's tip.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I change fade-behaviour values via an action?

    I want to change the fade out time via an action, in the event sheet.

    Why not in the properties bar of the fade-behaviour? Because a lot of sprites are going to be faded out and I want the fade out time to change during the game.

    I expected to find something like:

    action --> sprite.fade.fadeouttime = x

    But the sprite that has the fade behaviour only shows 2 fade-actions in the event sheet:

    • restart fade
    • start fade
  • shirokuma thanks!

  • Thanks! That was what I was looking for.

  • My wish: move a text object (with bullet behaviour) to the right and then make it move to the left.

    (a text moves into screen from the left to the center and then moves from the center to the left, to disappear)

    The problem I encounter: The object moves from left to the center without any problem. But when I change the angle 180 degrees (so that the object is going to move from right to left), the text appears up side down.

    How do i let the object move around the screen, without changing the angle of the object?