dop2000's Recent Forum Activity

    So I tried every suggestion from this post:

    • Installing Chrome Canary
    • Disabling spell check and auto-fill for addresses
    • Clearing browser cache and auto-fill data
    • Disabling windows defender
    • Checking the drive for errors - none found
    • Closing all background apps I could find (Google Drive, Dropbox client etc.)

    Nothing helped, C3 editor is still randomly freezing and lagging..

  • If it was working before and now doesn't, it's definitely a bug. You need to report it:

    github.com/Scirra/Construct-bugs/issues

  • First, you are missing ".0" in the path, the correct path is "scene.0.dialogue.2.id"

    Check out this demo project, it shows paths to all keys in JSON:

    dropbox.com/scl/fi/3lvdqp1x1v57xy0prahrj/JSON-RecursiveRead.c3p

    But without seeing the code of that dialogue system it's impossible to tell how it works and when the line is actually "executed". There's probably some event that extracts the ".line" value from JSON and displays it on the screen. So you can try adding a sub-event there that will check if the current JSON path is "scene.0.dialogue.2" and if ".id" key equals 2.

    .

    I have a similar dialogue system, where I added a "function" key in JSON. So when a dialogue line is shown, if "function" key exists for it, the function with that name is automatically called.

  • If you want them just to look like they were placed randomly, you can still place them manually in a grid, and then when the game starts shift them slightly in random directions.

    Circle Move random(100) pixels at angle random(360)

  • You can copy all values from the array into a JSON object, and then send JSON.ToCompactString to your server:

    The resulting string will look like this:

    {"arr": ["val1", "val2", "val3".....]}

  • I suggest you place the circles manually in the layout editor, and then on start of the game randomize their frames or animations. For example, if there are 20 frames in the animation and you want to display them in random order:

    System For Each Circle Order by random(1) : Circle set animation frame to loopindex
    
  • An easy way is to use a Tiled Background object instead of a sprite. If the width of the heart image is 20px, then all you have to do is set TiledBackground width to PlayerLives*20

  • Canvas addon from Construct 2? It doesn't work in Construct 3.

    Construct 3 has its own official plugin called Drawing Canvas.

  • 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 add two functions with the same name. But you can call a function from any event sheet in the project.

  • Yeah, but Local Storage works differently - you first need to execute "Check Exists" action or "Get".

    Then wait for "On Item Exists" or "On Item Get" to trigger, and inside that event you can access the ItemValue.

    Check out those examples I posted.

  • WebStorage was replaced with LocalStorage about 6 years ago.

    You need to open the project in an old version of C3 (which you've done). Then find all references of Веб-хранилище (WebStorage) in event sheets and replace them with with similar events using Local Storage plugin. After that delete WebStorage plugin itself from the project. Save and you will be able to open the project in the latest version of C3.

    There is an official example and a few tutorials explaining how to use Local Storage.

  • Ultimately only you can decide which option will be better for your game, and you may regret your decision later :)

    A single sprite may be easier to deal with. You'll have to store enemy type in an instance variable. Then, for example, if you need to set an idle animation use Enemy.type&"_idle". To check if an idle animation is playing for any enemy, you will have to do something like this:

    System Pick Enemy by evaluate right(Enemy.AnimationName,5)="_idle"
    

    If you start with a single sprite, but later change your mind and decide to split enemies into multiple sprites, here is a tutorial on how to upgrade them to a family:

    construct.net/en/tutorials/upgrade-object-family-319

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-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
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies