dop2000's Forum Posts

  • You can make layout size as big as you want. Scroll it using "System Scroll To" action, or add ScrollTo behavior to your character.

    If you mean manual scrolling with touch, check out this demo:

    howtoconstructdemos.com/scroll-by-dragging-the-screen-with-touch-or-mouse

  • You need to import the font into the project. And then use the imported font in all text objects.

    .

  • IAP plugin doesn't save anything, it's your job to handle consumable and non-consumabe purchases in your game - for example, when an item is purchased, add it players's inventory and save between sessions. (either to local or to cloud storage)

    Google Play and Apple Store keep track of purchases, and you can request "Restore purchases". But, of course, they do not share this data. It's again your job to keep track of purchases made on different platforms, if you want to allow players to play on multiple devices under one account.

  • I guess the only solution is to release another version in C2, which will load all Webstorage keys and re-save them with Local Storage.

    Then wait a few days/weeks and publish a proper C3 update. Some players may still lose their data (those who skipped that C2 version), but most players should be ok.

  • It works for me.

    Try without the "test" folder. Check if the slot.save file is actually created (in Windows).

  • You can't just load the game from disk path. You need to request the file with AJAX, then load from AJAX.LastData

    Also, you are not using loaded layout, change your event #8 to "On start of layout".

  • If you are using "On touch start" event to start moving, in this event it's not possible to predict if it's going to be a short touch or a swipe. So you need to wait several ticks after the touch started, to check if the finger has moved, before moving the character.

    However, if you are using the left side of the screen for touch-to-move, and the right side of the screen for swipe-to-shoot, then you can detect and process both touches separately and even shoot while moving.

  • Local Storage can read Webstorage data?

    I don't know, I'm asking if you've tried it. Since you have a game that saves data to Webstorage, add Local Storage plugin to it and try to read one of the Webstorage keys.

  • You can't prevent clicks from coming through, but you can prevent the event from executing. Simply add another condition to your "On clicked Button" event - "Layer HUD is not visible".

  • Don't use Progress Bar, it's a form control, they are difficult to style and have lots of problems.

    Progress bar is ridiculously easy to make with a sprite or a tiled background object. Simply create a rectangular sprite, set image point position at x=0, and on every tick update its width.

    For example:

    HealthBar Set width max(maxWidth*(currentHP/maxHP), 0)

    Note - max(...,0) expression is only needed to prevent it growing in the opposite direction in case the HP value drops below 0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Search the forum and tutorials, there are lots of examples. I have several demo projects here:

    howtoconstructdemos.com/category/virtual-joystick

  • Does the Tile_01_Breakable has Phyics behavior? Maybe the debris are colliding with it. You need to disable Physics collisions between these two objects. (there is a separate action for Physics collisions)

    Also, to destroy debris after a timeout it's easier to use Fade behavior.

  • 189 is quite old version. If you used any of the new featured added in the past 2 months, you will not be able to open the project in r189.

    Try to open the project, then press F12, open console tab and see if there are any errors.

  • Why? Simply create the player on start of the layout.

    Or use Player.count=0 expression to check if the player instance does not exists.

  • Check the demo in this post:

    construct.net/en/forum/construct-2/how-do-i-18/typewriter-text-effect-41096/page-3

    Also you can try search for "typewriter" on this forum.