dop2000's Forum Posts

  • Add Browser object and use this expression: Browser.QueryParam("name")

    Set var to Browser.QueryParam("name")

  • Set what up? Please explain the issue.

  • You can use hierarchy, it works like Pin. And it allows to disable angle sync with the parent.

    If this doesn't help, please post some pictures explaining what are you trying to do, or a project file.

  • You can connect them with hierarchy (in layout editor or with events).

    Or use Pin behavior.

  • Looks like this collection has been removed from itch.io

    Found an issue with the ScrollView addon - inertia is not adjusted to the frame rate. It's super fast on 240hz monitor and very slow at 50hz.

    Here is how to fix it - make the following changes in the instance.js:

    line 654:
    this.scroll.decelerationVelocityX *= (1-6*this.runtime.GetDt(this.content));
    
    line 660:
    this.scroll.decelerationVelocityY *= (1-6*this.runtime.GetDt(this.content));		
    
  • Reported:

    github.com/Scirra/Construct-bugs/issues/6718

    But there is a chance this is by design and not a bug.

  • Random point on the layout -

    X: random(layoutWidth)

    Y: random(layoutHeight)

    Random point on the screen -

    X: random(ViewportLeft(layer), ViewportRight(layer))

    Y: random(ViewportTop(layer), ViewportBottom(layer))

  • So the tip of the projectile in the sprite is at -90 degrees (pointing up), correct?

    The easiest solution is to simply rotate the image in the animation editor.

    If you can't do that for some reason, you can also disable "set angle" in Bullet properties and set the angle on every tick to Self.Bullet.MovingAngle+90

  • Use a spritefont or hide the texts while the window is resizing. You can fade them in once the tween is finished.

  • 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 understand.. The origin point doesn't rotate, it's the center of rotation of a sprite.

    Do you want to rotate the sprite around a different point?

  • Try unchecking "width" and "height" in hierarchy options for text object.

    If this doesn't help, you can replace it with a spritefont, this should definitely fix the issue.

  • However i have a much smaller project with less than 2000 events/actions and 120 objects. Nothing fancy, and i still had 5 seconds lags when selecting (double click) js- or moving event blocks.

    Have you tried clicking "collect garbage"?

  • You can see through the debug mode or remote preview how the frame rate drops

    This doesn't happen on my Windows laptop. CPU utilization goes up to 30% for a short period, but the tween runs smoothly and there is no fps drop. I'm guessing the problem is either with Tween or hierarchies on MacOS/IOS.

    I would try these things:

    • Check if WebGL2 is enabled in Debug Mode.
    • If possible, try a different browser.
    • Try using MoveTo instead of Tween.
    • Try using Pin instead of adding objects as children.
    • Test with sprites only, without the text objects.
    • Check if you have the same issue with the "Skeleton hierarchy" example in C3.
  • Does this demo project also have performance issues on iPhone? Because I see absolutely no problems in the code, it's simple and effective.