dop2000's Recent Forum Activity

  • We're making the Moonstone Island - a creature collecting life-sim set in an open world with over 100 islands to explore! Our alpha demo is currently playable as part of the Steam Base Builder Fest and will be available until January 30th at 10AM PST! Please wishlist the game as it helps us a lot. Thank you!

    Download Moonstone Island Demo on Steam

  • We're making a creature collecting life-sim set in an open world with over 100 islands to explore! Our alpha demo is currently playable as part of the Steam Base Builder Fest and will be available until January 30th at 10AM PST!

    Please wishlist the game as it helps us a lot. Thank you!

    Download Moonstone Island Demo on Steam

    Download Moonstone Island Demo on Steam

  • understand but what if i have placed Sprie already on the map?

    "On created" will still be triggered for them.

  • You do not have permission to view this post

  • Yes, you can use "On end of layout"

  • You do not have permission to view this post

  • Sprite On Created: Sprite set var to random(10,30)

    Note, if you want an integer number from 10 to 30, the correct expression is int(random(10,31))

  • Have you tried working on a project that's been opened for a few hours vs. the same one that's been freshly opened?

    So I was working for 8 straight hours today without closing the project. I can confirm that there is no memory leak in my case. Chrome memory usage stays at around 3.5 GB. Sometimes it goes up to 5-6 GB (when I open more tabs or preview the project), but eventually returns to 3.5 GB. And it seems to be unrelated to the lagging issue. I first noticed lagging after about 10-15 minutes, and memory usage was at 3.5 GB at that time.

  • Those are the collisions... Not sure if it's too high, I don't have a reference.

    Is this before or after you made those changed to the events?

    ~200 collisions per tick is perfectly fine. Even 1000-2000 per tick should not be causing major lags on mobile. So if the game still runs poorly on mobile, then the issue is with something else.

    Make sure that Framerate Mode is set to "V-synced" in project properties.

  • It's a single file project. Like I said, saving was very fast if no changes were made to any images. I assume, this means that Construct was not updating the images folder in the zip.

    Perhaps now with Zip64, the editor doesn't perform this optimization and re-packs all files every time.

  • How many collision and poly checks per second your game does? You can check these values in the debug view.

    You can try disabling groups of events to see if the performance improves. It's possible that the problem is not with physics, but with lots of events running on every tick.

    I also suggest adding a parent condition "Body Physics is enabled" to the event which disabled Physics:

    Body Physics is enabled
    ... Body is overlapping floors
    ... Or Body is overlapping floor_tiled : Body Disable Physics
    

    This will reduce the number of collision checks.

    And do the same for other events in that group.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Repeat 10 times
    ... Wait 0.1*loopindex
    ... Audio play sound
    
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 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