Kinoss's Recent Forum Activity

  • Can anyone tell me why this is not working?

  • Is there no way to do this?

  • Hello I am using NodeWebkit to read and write files. I'm tired of having to export the project every time I want to test changes. I've tried preview mode but since the directory structure changes to using localhost I'm not sure where things are being written to or read from. At any rate it doesn't seem to be working in preview mode. I've tried forcing the reads and writes to a specific folder on my computer, but that does nothing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sigh...

    Your file worked perfectly and is exactly what I need. So I tried adding it to my project. Now it doesn't work. Then I tried making a new project that copied yours exactly, and it also does not work. So I think I now understand the true nature of my problem. You were able to export your project as a Node-Webkit. Whereas I am stuck to HTML5. Or it could simply be that you have a license and I don't. What a shame.

  • I couldn't figure out where you were getting the Button | function = "save" condition. Though I did create a similar test using your suggested actions. I don't care so much about loading right now cause I can't write. Is there a disadvantage to spelling out the entire path I want the file to go instead of using AppFolder? Remember I'm just trying to get the program to write a file. Which isn't happening no matter what I do.

    So I created the simplest of programs. All it has is a button and a text box. Click the button and it prints the appfolder location to the text box.

    In Preview mode: nothing shows up

    In Exported mode: nothing shows up

    In Exported and Uploaded to Web mode: nothing shows up

  • That did nothing. As I said, both my AppFolder and UserFolder return nothing. In the debugger they are blank, no paths.

  • So I'm trying to write save info to a file on my desktop, but the file does not get created. I try creating the file on the desktop in hopes that it would at least write to it, but no luck there. Currently I'm just trying to get it to write anything, thus "hello." I checked the debugger and the root is properly defined. One odd thing is Webkit.appfolder and userfolder are blank and I can't use those, maybe a symptom of the problem? At any rate I'm running it in preview mode so its not necessary currently.

Kinoss's avatar

Kinoss

Member since 24 Feb, 2014

None one is following Kinoss yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies