dop2000's Forum Posts

  • Can you post a screenshot of your event sheet, or share your project file?

  • In the past it was not possible to create new frames in runtime. So if you needed to load 100 images, you had to create 100 empty frames in advance.

    Can you do the same?

  • What you're asking is not just unethical, it's outright theft. Sharing private messages publicly only makes this worse. If you want to make games, start by respecting other creators.

  • Afaik, there is no way to pin an object that way. What you can do is adjust its position on every tick:

    ObjectB Set position to (LayerToLayerX(ObjectA.layer, self.layer, ObjectA.x, ObjectA.y), LayerToLayerY(ObjectA.layer, self.layer, ObjectA.x, ObjectA.y))

  • Your hero moves, but the Gun_Fire sprite stays in one place. You can try attaching it to the hero (with hierarchy or Pin), maybe it will look better.

  • That's likely your keyboard. Try this test:

    mechanical-keyboard.org/key-rollover-test

  • I'm trying to make a global variable that stays the same when the user enters another layout. Is there any way I can do that?

    You don't have to do anything - global variables always retain their value when you switch between layouts. Unless you reset them with "Reset global variables" action.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.