Kan's Recent Forum Activity

  • There, if anyone wants to add something or just say they have the same problem :

  • Problem Description

    When previewing a game with node-webkit, or playing a game exported with node-webkit, the window frame doesn't show. This issue appeared with Construct 2 r190. I looked at both package.json and package-preview.json files in Construct's node-webkit exporter files, and in neither of them "frame" is set to false. (In package.json you can see "frame": [[[frame]]] and I had to add "frame" to package-preview.json myself since it didn't already exist, and I have set it to "frame": true but it didn't do anything.)

    When exporting the game with node-webkit, I have checked the 'Window frame' box, but still have no window frame. I have also extracted the exported package.nw file and looked at the package.json file contained in it, and I can see "frame": true .

    Finally, I also tried uninstalling Node-webkit for Construct 2, and reinstalling it, and it didn't solve the problem.

    Attach a Capx

    Description of Capx

    Steps to Reproduce Bug

    • Preview in node-webkit
    • Or export with node-webkit

    Observed Result

    There is no window frame : no minimize, maximize nor 'x' button

    Expected Result

    Affected Browsers

    • Node-webkit: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    r190

  • spacedoubt Yes same here. It started with no window frame in preview, so I tried exporting and I have the same issue. I'll post a bug report and then if you like you can post a short comment to it just to say that I'm not the only one dealing with this issue.

  • Yes, the window frame box was checked when I exported. I just looked at the exported package.json file, and "frame" is set to true (just like it was in C2's node-webkit exporter package.json and package-preview.json files).

    I could post a bug report, but I'm afraid Ashley will say that he can't reproduce it, and that it won't get resolved.

  • Hey there,

    Did anyone else notice that the window frame (bar with the minimize, maximize and 'x' buttons) is lacking from node-webkit games made with Construct 2 r190 ? I tried changing the "frame" option in the node-webkit exporter files, but it didn't change anything.

    Anyone knows how to fix this?

    Thanks in advance!

  • Kan

    Well, Ashley works. Editor requests tend to go a little slower though; apparently it's a lot harder to work with than the engine itself.

    I understand that, and I know how much work it must be for three guys, and I'm really impressed by what they've achieved ever since Construct Classic. Now that they are reading this, I want to make sure you guys understand that I never mean to say Construct isn't good enough already. I switched from GameMaker to Clickteam's products, and then from Clickteam to Construct Classic years ago, as I found it was even better than any other game-creation tool. And I think Construct 2 takes it to an even higher level, and is the first game-making software I ever bought. Congratulations on everything you've done, and thank you for creating Construct, and making it the way it is.

    what if you only want this layer in, say, half your layouts? you're stuck. (AFAIK anyway)

    Global layers wouldn't work because you'd want different objects on your layers. Right?

    UberLou and Sqiddster are pointing straight to what I am dealing with too.

  • Should we tag someone at Scirra to make sure they see this? Is this what people use to do here?

  • Hey there!

    I know I'm not the first one to mention this, but given it's been asked for years without a final answer, I'll ask anyway : is it possible to implement some way to copy layers please?

    Once you have created several layouts by duplicating them, and decide that you want a new layer on every single of them... it quickly turns into tedious work. I don't really want to have to destroy every layout, and start duplicating one into several ones again. And it can take a long time to add the new layer with the same name and properties to every single layout that requires it.

    Thanks in advance if you're planning on adding this option to C2.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Both work fine for me.

    BUT, the first time I clicked No 2, it got me to en empty blanck page filled with black. The second time I clicked it got me to the game, which works fine as well as in No 1.

    I'm using Firefox on Windows 7.

  • This could help you : https://www.scirra.com/tutorials/73/sup ... reen-sizes

    In my own case, I ended up having to choose a layout size and make sure that important elements (sprites, text, not background) were centered enough and a bit far from the edges, to make sure they'd show well on any resolution. In one case I programmed the game to adjust an image's size depending on the device used (the player tells which device he has when the game starts).

    You can also play around with the Anchor behaviour, but the more you add elements that you want to keep on-screen, the harder it gets : https://www.scirra.com/manual/88/anchor

    In the end, if your question is what aspect ration (width/height) you should choose, my answer would be to choose an average one (say, the average between the most rectangular and the most square screens you're expecting your game to be played on).

    Still, I'm new at designing games for mobile devices too, so this is only what I'd do.

  • Well, I think I will keep doing it for a little while anyway, until games start paying a bit more given the amount of time spent making them, that is. (Meaning I understand you guys when you decided to create Construct 2 and put a price on it)

    This said, Google Drive still creates duplicates, at least temporarily, and I've also got issues with old deleted files being still accessible through their link even if they don't show in my Drive, and this sometimes messes with the game's self-updating as well. I'd recommend against using Google Drive at least for now, as it's an unreliable service, without even talking about the eventual bandwith issues that might come in the future

  • I have found the solution. I thought of deleting this post, but as this seems to be a recurring issue, I'll explain how I resolved it in case it might help others.

    In this case, using the browser's error console, I could see that the game would update but could not download one image file, always the same file. That was due to Google Drive being really glitchy, and creating duplicate files instead of correctly syncing every time I replaced my files with new ones, as it should have. But it was creating duplicates only on Google Drive online, while what my Google Drive application for PC showed was alright. Updating Google Drive online and re-downloading and reinstalling the Google Drive application did automatically resolve the issue. Phew!

    Sorry for the bother.

Kan's avatar

Kan

Member since 2 Nov, 2009

Twitter
Kan has 1 followers

Trophy Case

  • 15-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

17/44
How to earn trophies