dop2000's Recent Forum Activity

  • What exactly doesn't work? It works perfectly fine for me.

  • Are you using Desktop version of the C3? NWJS will not work in the browser! Also, try exporting the project for NWJS.

  • In this case you need to check which side of the screen is touched. If the left side is in touch, you can move the character. If the right side is touched, you can detect the swipe using your method or expressions Touch.SpeedAt, Touch.AngleAt

    But if you both sides of the screen can be in touch at the same time, you need to loop through all active touches. I have something similar in this demo, take a look:

    howtoconstructdemos.com/two-virtual-thumbstick-capx

  • Do you use the same finger to move and to attack?

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

  • Try Construct 3

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

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

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