vendara's Recent Forum Activity

  • You are right, it works completely fine with nw.js.

    I was hoping for webview2 to work as well, since a desktop application. But I've just read that webview2 is running through MS Edge, so it's still treated as browser.

    Thanks for your help

  • Hi everyone,

    so I've tried discord and the "how do I..." Forum, but can't find any help. Most likely because my problem isn't solvable with the basic Construct functions (?).

    So maybe you guys can help me.

    I'm trying to find a way to save arrays as JSON file within the game files. I found a possible way to do it with the FileSystem, but this only works when the user previously picked the file path. Since I want users to create levels and save them as JSON files within the game files, i find it very inconvenient, if they have to locate the correct file location manually first, and it also would make it unnecessary complicated to show all created levels since they are not located at the same place. So it would be great if i can write and read files in a preset folder path.

    So since it's not possible with the FileSystem (or at least i couldn't figure it out properly), i thought it might be possible with JavaScript itself?

    Any help on this would be great <3

  • Hi everyone,

    I'm looking for a way to create new files and save them automatically inside a preset path.

    So I've tried to do it with the FileSystem. But this seems only to work after the File Picker - action is executed before and the user has choosen a path.

    But what if i have already created folders inside my project, and i would like to use those folders to store and read new created files?

    I mean of course it would work with the File Picker, but i don't want the user to go and find the correct file path, if there could be already a preset one which will always be the same.

  • Oh okay, then click on each event and press "i" :]

  • I guess you are thinking too complicated. You can actully code it exactly like you already said it (or i misunderstood).

    Basically just check if object X = 1 and object Y = 2

    If an object exists with those variables, the action will trigger. If no object exists with those variables, it doesn't.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Did you just copy paste my post on reddit? haha

    Anyways, I'm glad I'm not the only one with the problem.

    It really seemed like no one else has this problem, or is even aware of it.

    Even though it's now almost 10 Days ago since the last Games were uploaded...

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Okay, I got it now.

    I accidentally set the Height and Depth to 0.

    Thanks for your help

vendara's avatar

vendara

Member since 23 Jan, 2015

Twitter
vendara has 600 followers

Connect with vendara

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x6
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Contagious Game One of your games has over 1,000,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x6
    Great Comment One of your comments gets 3 upvotes
  • x2
    Delicious Comment One of your comments gets 10 upvotes
  • Magnificent Comment One of your comments gets 25 upvotes
  • Email Verified

Progress

20/44
How to earn trophies