dop2000's Recent Forum Activity

  • You've done a great job troubleshooting!

    34% usage by engine seems quite high.. It's possible that the issue is not with your project. Have you checked CPU usage in other projects? For example, try the Kiwi Story game - is the performance much better there? For reference, on my pretty old laptop I'm getting about 25% total CPU utilization, 10% draw calls and only 2% engine.

    If the numbers are much higher on your machine, try different browsers - Edge, Chrome, Firefox. Try enabling/disabling worker mode in project properties.

    Check in debug mode if webgl2 is enabled. If not, then all graphic tasks are handled by the CPU.

  • You can use Array.indexOf(value) expression. If Array.indexOf(value)<0, this means the value was not found in the array. For example:

    System Compare Two Values: Array.indexOf(Sprite.var)<0
    ... Sprite set animation frame 0
    Else 
    ... Sprite set animation frame 1
    
  • It could be a bug similar to this:

    github.com/Scirra/Construct-3-bugs/issues/5570

    After using the Crop tool, try closing the animation editor. Then open it and adjust the positions of image points.

    If you are certain you found a bug and can reproduce it - please post a bug report.

  • If you are writing to different keys, there shouldn't be any problems.

    If you are setting the same key multiple times in one tick, I'm guessing the latest value will always be recorded.

    You should avoid writing to LS and reading the same key from LS at the same time, because in this case the results may be unpredictable.

  • There is an official template in C3:

    editor.construct.net

  • Just random 4 digits? What things did you try?

    Try zeropad(int(random(10000)), 4)

  • the instance variable it has is inside of an array

    I don't know what you mean by that.

    To set animation frame to an instance variable you can use this action:

    Sprite set frame to self.Var

    To set animation frame to a value from an array:

    Sprite set frame to Array.At(index)

  • There are many ways to store values - in a dictionary, JSON, array, in instance variables on some object, in Local Storage.

    I would suggest using a dictionary - copy the variables which you wish to keep to the dictionary. Then reset global variables. Then restore the values from the dictionary.

  • You mean you want to rotate the sprite smoothly to the target angle?

    You can use one of these methods, run them on every tick:

    Rotate 1 degree towards angle self.simAngle

    or

    Sprite set angle to anglelerp(self.angle, self.simAngle, dt*4)

  • I don't know which errors in the log are relevant. Try to disable Worker mode in project properties. Try a different browser.

  • 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 own a steam deck, but I can confirm that it can run C3 games, and all controls are functional.

    There appears to be a problem though with gigabytes of some junk files which are created every time you play and filling up the internal storage. Not sure yet what's causing this and how to fix it.

  • With System Snapshot action you can specify the area. See this post:

    construct.net/en/forum/construct-3/general-discussion-7/canvas-snapshot-layertocanvas-168819

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