dop2000's Recent Forum Activity

  • Event #9 - I don't understand why are you comparing the coins variable with the coins1 text. That condition will never be true, because events #3, 4, 21 and 22 set the text to the variable on every tick - they will always be equal.

    Remove sub-events 9 and 10, your event 8 should look like this:

    saveGame On clicked: LocalStorage set item "ex_coins" to coins
    

    Also, events 4 and 22 are saving the game on every tick - saving so often is a bad idea, don't do this.

  • Is it much faster if you disable v-sync in project properties?

  • No, this is not possible. But the origin point should retain its position after loading an image. Say, if it was in the center, it will stay in the center.

  • Can you please clarify the problem?

    Which variable isn't working? What exactly is happening with it? And what exactly should be happening?

    This is a very simple issue, but we have already 13 comments in this post and still no clear explanation, it's getting a bit ridiculous.

  • I meant a screenshot of your event sheet.

  • Save the coins the same way the high score is saved in that example.

    If this doesn't help - post your code.

  • when the application is in recovery

    You mean when restored from the background?

    Try googling the error message, seems like a known bug in iOS.

  • Why do you think it’s related to the Local Storage plugin? Does it happen when your app tries to write or read something from Local Storage?

    Other plugins (ads, analytics) might also store data locally on the device.

  • For arrays I use Excel or Google Sheets, then just copy/paste the data back into C3.

    For JSONs I use https://jsonformatter.org/

  • The Platform behavior doesn’t allow an object to overlap with solids, doesn't matter if it’s a floor or a wall. When it collides with a solid, the object is pushed back until it’s no longer overlapping, so there's always a small gap.

    Directly changing X/Y values of the Platform object is not a good idea - you are messing with the behavior, not letting it to do its job.

    A common solution to collision issues is to use two sprites: one invisible sprite with the Platform behavior, and another visible sprite with the desired collision mask and animation. You can adjust the position of the visible sprite if needed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I assume this is on Android?

    I don’t see any issues in your code. Are you using any addons, particularly for ads or analytics? In my experience, these are the most common causes of crashes in mobile apps.

    Your best bet is to find a device where you can reproduce the issue and record a Logcat log.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 27 Sep, 2026

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