Nights57's Recent Forum Activity

  • Ahh okay I see, that's very good to know, thanks for the tip ramones

  • After about an hour or so teasing apart the .capx, I found the culprit!

    Oddly enough, it was the About section on the project tabs. I cleared the project information and my node-webkit export now works!

    Huzzah!

  • Not sure if this should be posted at "How Do I" or here, so bear with me.

    Just finished making my game for Ludum Dare 27, when I ran into something rather unfortunate. The contest requires a windows version, and my node-webkit export version keeps messing up.

    I get a "Unable to parse Json" error, and the console tells me that there is a require that is undefined.

    I was using the last stable version, before updating to the beta in hopes it fixed my issue. No luck. I have also tried exporting both a minified and non-minified version.

    There is only a couple of hours left until the deadline, so while looking for an answer I am going to try reinstalling Construct 2. Would really suck to have worked the last 19 hours and not be able to show off my finished game.

    Link to .capx file (required!):

    dl.dropboxusercontent.com/u/124549522/ludeaire.capx

    Steps to reproduce:

    1. Load Game

    2. Export as node-webkit

    Observed result:

    Node-webkit error pops up saying "Unable to parse json."

    When looking in the console, the console says there is an uncaught reference error: require undefined.

    Expected result:

    Node-Webkit to load and begin playing the game

    Browsers affected:

    Browsers are unaffected

    Operating system & service pack:

    Windows 7 32bit, 6.1

    Construct 2 version:

        r139/r141

  • Yes, I did try to refresh the image. The only way I was able to get the capx to successfully load was to delete all the sprites from the project asides for one.

    Since it wouldn't load for me even after removing all the sprite objects, I can only assume the problem lies within the number of frames the sprites have. But your guess is as good as mine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your new capx still crashes out on me too.

    I tried to delete all the sprites from the layout and it crashes regardless. Looking at Chrome's console, I think it has to do with how many images are loaded/requested, but I'm speaking out of my ass here and could be completely wrong. 7,500 images are requested from your game, and somewhere down the line Chrome becomes unable to load them.

  • Oooh, that makes perfect sense, now why didn't I think about that? That information will be very helpful for future considerations, thank you aquinn.

  • I have added the capx here if you want to try and see if you get same kind of error, since there are so many images in it, its about 40 mb.

    Capx

    Crashed out for me on Chrome too, but I think you just might be asking too much from the browser. The files only total 40 mb, but the memory use is over 1600 mb. That's over 10x the memory usage of Binding of Isaac or 3x greater then Hotline Miami. Your .capx uses about the same memory as games like Starcraft 2 or Guild Wars 2, which I believe is too large for the browser to handle.

  • Change your event to

    Button - On Clicked -> Action

    This has always worked for me.

    Have your buttons never worked or did they just recently stopped working?

  • I just uploaded a game for the first time to the Arcade (http://www.scirra.com/arcade/addicting-puzzle-games/5932/demathmatica), and for some reason the text box the player inputs answers into disappears. The game works fine when I run it in preview mode, so I'm not sure why it doesn't work when I uploaded it.

    You can see the text box for an instant before it vanishes in the arcade. I've attempted putting a white square sprite behind it, as well as running a few different set visible events. The last thing I tried was to put it on it's own layer above everything else.

    Edit: Disregard this entire post. It is now mysteriously working, with no additional effort on my part.

  • <img src="http://i.imgur.com/YxHs5DG.png" border="0" />

    I am trying to make a number count up to a point and stop. It should be very simple, I've never had any issues with timers that have counted down, but I'm not sure what's wrong here. What I'm understanding my events to mean is

    While Score 1 is Greater Than Score 2

    Add 1 to variable score22

    Wait 4 Seconds

    Set textbox to score2

    So what I'm expecting is it to do is count up by 1 every 4 seconds until the score is greater than score1. However what happens is that the number instantly jumps to 10. I'm not exactly sure where I've gone astray in my logic, any guidance would be much appreciated!

    Here's a .capx of the small loop: dl.dropboxusercontent.com/u/124549522/whileSample.capx

    Edit: Ugh, immediately upon posting I found just the information needed in the manual. I had been looking up stuff related to while loops when I needed to be looking at the wait command. Solved the issue by replacing the while loop with Every X Seconds and removing the wait from the actions.

  • I've been trying to make multiple objects rotate around another object. In the game I'm designing, the player is in the middle and enemies randomly spawn off screen and hover toward the player.

    I've tried following this tutorial (http://www.scirra.com/forum/how-do-i-make-earth-rotate-around-the-sun_topic45633.html) but I'm having trouble getting it to work with multiple objects. With a single object the example works perfectly, but it runs into some issues when you add more objects. For example, if you add 3 more circles in the example then they will all overlap and it appears there is only one circle.

    I've tried adding "For Each" into the condition, which allows there you to see multiple objects, but it aligns all the objects in a single line according to their distance. I've tried storing their distance values in an instance variable, so that each object would have it's own unique value, but you cannot use instance variables when setting the position. I've been wracking my brain over this for a while, but I just can't think of a way to have multiple objects slowly circle a single object.

  • i get a uncaught exception :security error DOM 18

    I was getting this error too, but the the fix in this topic worked for me. Hope it helps.

Nights57's avatar

Nights57

Member since 3 Apr, 2013

None one is following Nights57 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies