dop2000's Recent Forum Activity

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

  • Strangely, I didn't have any freezes in the past two weeks. I've been using C3 on a different machine where I didn't touch the performance settings in Chrome. Yet the same project that used to lag and freeze terribly now works fine!

    I'm guessing some memory leak issue was fixed in the latest Chrome release.

  • I heard that windows games work on the Deck. Have you tried win32 and win64 exports?

  • I would use Spline, it's a popular C2 addon by Rex ported for C3. It works like MoveTo only for curves, allows to adjust speed and curve tension.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies