oosyrag's Recent Forum Activity

  • Numerous collision events (20+ Physics objects, only two of them moving)

    This could be an issue, but the numbers don't look very large to me.

    High-resolution sprites! 40+ of them! (max is the background 1080p)

    This is more a memory issue, probably not related to cpu/gpu heat.

    600+ Events (not grouped, all of them in 1 layout/event-sheet) and 30+ global variables

    The number of events is unlikely to be an issue, but certain events like long running loops can be. Also limit the number of events that run every tick, and turn pretty much everything you can into triggered events. Updating text every tick can be particularly painful.

    Layout size: 15300 x 1480 (however, scroll-to enabled with viewport of 1920x1080/scale outer)

    I don't think this would cause any issues.

    Other possible factors: Layer Scaling (not constantly), Time-scale set to 1.5, Photon plugin?

    Unlikely, but you can test each of these individually pretty easily.

    Also how is your game running at 120 fps? Thought it was capped at 60, unless I missed an update somewhere. Maybe your phone is a high fps device as well. I don't recall if there was a way to limit it, but this popped up in a quick search that might be worth trying. construct.net/en/tutorials/limit-framerate-build-fps-1381

    Otherwise, its probably mostly up to you to isolate certain things you think may be causing high usage and test and test and test again.

  • You can mix saving methods if you're careful about it.

    In your example, you can save your settings separately from the game state by writing to localstorage upon applying changes. Then just load those settings after using the system-load action when continuing.

  • In the animation editor, click the bottom most button on the left "Edit the collision polygon".

    I recommend right clicking and using the "Set to bouding box" option, on both of the frames.

  • It has to do with your collision polygon changing in between frames, so as he's walking, it triggers the collision event with the edge object again when the frame changes. He doesn't move fast enough to get his collision polygon out of the way before the next tick.

  • Use a bullet behavior.

    Set angle towards player.x, player.y

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You can use the set layer angle action along with the LayerAngle() expression to rotate a layer

    -> System: Set layer 0 angle to LayerAngle(0)+1 degrees

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check that your animation playback speed isn't 0 in the image editor.

  • A. Don't use a separate layout if you don't need to. You can use layers and visibility instead.

    B. Use the persist behavior to keep object properties when switching layouts.

    Pausing really depends on your project and what you need paused specifically. Generally speaking though, if you change layouts nothing is going to be happening on the previous layout so it's effectively paused by default.

  • The first thing that comes to mind is to run a loop for all tiles, check if each tile is a match and change it if it is.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 12-Year Club
  • 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
  • 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
  • Email Verified

Progress

22/44
How to earn trophies