sidyo's Recent Forum Activity

  • I'm having a problem with node webkit exported. When I try to save the pdf file using JsPDF this message appears:

    Uncaught node.js Error

    TypeError: undefined is not a function

    at l.vm (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:364:450)

    at g.Pl (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:197:159)

    at a.tj (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:190:126)

    at a.$a (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:189:308)

    at l.fr (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:124:210)

    at l.cm (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:123:304)

    at l.Vo (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:122:376)

    at l.trigger (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:122:281)

    at m.On (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:346:24)

    at d.Vf (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:357:64)

    What i'm doing wrong since it worked on the construct preview?

  • I'm having a problem exporting for node webkit. When I try to save this message appears:

    Uncaught node.js Error

    TypeError: undefined is not a function

    at l.vm (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:364:450)

    at g.Pl (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:197:159)

    at a.tj (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:190:126)

    at a.$a (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:189:308)

    at l.fr (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:124:210)

    at l.cm (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:123:304)

    at l.Vo (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:122:376)

    at l.trigger (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:122:281)

    at m.On (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:346:24)

    at d.Vf (file:///C:/Users/Vini/AppData/Local/Temp/nw8708_29817/c2runtime.js:357:64)

    What i'm doing wrong since it worked on the construct preview?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks! It worked perfectly!

  • Thanks! I managed to download what i wanted, I saved all the information in a global variable and then downloaded it with the "invoke download of string" function of the browser object. But I realized that it would be better if I could download it as PDF. I used the "application/pdf" in the MIME type and ".pdf" in the file name, but it still doesn't work, it says it can't be opened. Is there a way to download as .pdf?

  • I'm creating a game for a college paper, in the end of it I have to save a few informations. I got a some text variables that i need to save, I thought about saving all of them in a txt file, each playthrough in a line, or each in a single txt file. But, I've got no idea of how to do it. Can someone help me?

  • That's a really good idea. But i just started with construct so i don't really know how to do it, could you explain a little more? Which behavior is better to compare positions?

  • I'm making a puzzle game where you have to fit geometrical forms in a bigger form, similar to tangram. Since i'm going to transfer it to touch devices i'm using Dragn&Drop and i need to make the pieces rotate so i made a double tap function. I made a global variable to count the number of movements, so when i drag it i add +1 to it, but when I just tap or double-tap the piece it counts as movements aswell... I don't know why it's counting since i'm not moving it, can someone help me? Thanks!

sidyo's avatar

sidyo

Member since 22 Oct, 2014

None one is following sidyo yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies