dop2000's Recent Forum Activity

  • You need to provide more information. Is this is a top-down view game? Should enemies move on a grid, from cell to cell? Or just find path to a random spot in the dungeon and move there?

  • I have a template for this request saved as a JSON project file:

    It doesn't have to be a file, you can simply store this JSON string in a text variable. Then to replace session ID use:

    Set jsonString to replace(jsonString, "YOUR_SESSION_ID", extractedSessionID)

    Another option is to load (parse) it into JSON object and use this action:

    JSON Set value at "transport.session_id" to extractedSessionID

    Then how do I format this so that I can use it in the data parameter of the AJAX request?

    This should be in Twitch documentation I suppose. If you are using JSON object, you can convert it back to string with JSON.ToCompactString expression.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, that's essentially the same what you had before.

    The condition should pick family instances - "System Pick fam_cards by evaluating ..."

  • I would try giving the objects slightly rounded edges:

  • You can't simulate a keyboard event. But you can run the same code that runs when the key is pressed.

    Keyboard On Space pressed : Call function PlayerJump
    
    Touch on Button touched : Call function PlayerJump
    
  • Are you using Construct 3?

  • NW.js package is 150MB zipped. So 200MB makes sense.

    I believe WebView2 export is a lot lighter.

  • idk, I use Construct explicitly when I don't feel like coding, I don't think there was any other ways to do JSONs unless I'm just blind.

    Think of JSON as a more advanced and flexible dictionary. It's not that complicated once you try it.

    You can of course use a dictionary. There are two options:

    1. Name the keys in the dictionary as CardType&ValueType, for example "DarkKnight_price":10

    2. Create a new instance of the dictionary for each instance of the card sprite. Link it with the card (for example, by UID). Then each card will have its own dictionary.

  • You should try contacting the author of the theme.

    but got a warning that any file saved with DARCSS will no longer load if I uninstall the theme...

    What??? Is this true? How can an editor theme prevent projects from loading?

  • What export did you use for Windows?

  • Check out this forum:

    construct.net/en/forum/game-development/job-offers-and-team-requests-28

    There's also a very active Discord community:

    discord.gg/tVxsAdEt

  • How big is the JSON file? Try saving it to your desktop using the "Browser Download string" action. Then, analyze it with an online tool to see which objects are taking up so much space.

    My guess? The dictionary.

    You’re writing saveJSON into the dictionary. Then, 15 seconds later, you create a new save, which stores the entire dictionary (already containing the previous save) into saveJSON again. After that, you write saveJSON back into the dictionary.

    It’s like Russian dolls — your dictionary keeps nesting copies of all previous saves.

    The solution is to clear the dictionary before running "System save".

dop2000's avatar

dop2000

Member since 26 May, 2016

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