dop2000's Recent Forum Activity

  • If you are willing to draw this path manually, you can use timelines.

  • LS location on Windows should be this:

    C:\Users\USERNAME\AppData\Local\game_name\User Data\Default\IndexedDB

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I believe what I should do then is create an array and a json within the construct, use Ajax to import the json into the array

    If you need to pre-load some data into the array, then yes - create an array file in the project and load it with AJAX. You don't need NWjs for this part.

    and then use NJWS to write the array into the json, right?

    If you need to save the contents of the (changed) array in runtime, you can either save it to local storage or write to a disk file with NWjs.

  • First, you need to add NWJS object to the project.

    NWJS Write Text File action to save.

    Array Load from NWJS.ReadFile("path") to load.

    And of course these will only work in the exported game.

  • Try searching the forum, there were a few posts about this.

    construct.net/en/forum/construct-3/general-discussion-7/nwjs-save-games-local-storage-178282

  • You do not have permission to view this post

  • You do not have permission to view this post

  • On all my gamepads (5 different makes) d-pad buttons are definitely buttons.

  • Also, when you compare enemy.x or distance() to the enemy using System expressions, they will only check the first enemy instance. If you have multiple enemies on the layout, these events will not work correctly. You need to pick an enemy instance first, or use "For Each" loop.

  • Containers don't work with families. You have two options:

    1. Create a separate health bar object for each enemy type, add it to a container.

    2. A better solution is to attach a healthbar to each enemy using the hierarchy feature. You can do this in runtime (in 'Enemy On Created' trigger), or manually in the layout editor.

  • You don't need an array to display the scores (unless you switch to another layout of course).

    You can use "System for each ordered" loop to go through all instances in their finishing order, and display their scores on the board.

    For Each Car ordered by Car.Time_Spent_Racing
    .. Final_Position=0 : Text append Car.Name & " still running" & newline
    .. Else : Text append Car.Name & " position " & Car.Final_Position
    
  • What kind of game is this? Platformer, top-down view, 3D first-person view?

    1. Generating a room design randomly may be tricky. Especially if you want these rooms to connect properly to each other, and not just teleport from room to room.

    2. There is a basic random() expression you can use. For example: random(100)<30 means a 30% chance.

    If you need more RNG features, there's an AdvancedRandom plugin.

    3. Use random() or choose() expression. For example:

    Set RoomIsDark to choose(0,1)

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 256 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