John Cutter's Forum Posts

  • Have you seen Ashley's blog post about this?

    https://www.scirra.com/blog/229/faceboo ... onstruct-3

    (Be sure to read through the comments, as well.)

    I haven't looked into the details yet, but a few days after the plugin became available (in the Beta build), Scirra announced that they added support for ads.

  • Congrats on the launch! I, too, would love to know more about the publishing process, if you would be willing to share.

    One note. I tried the game at home on my gaming laptop and it was very slow with NO water effects. I just tried it again on my work computer and it's smooth as butter WITH webGL effects. Not sure what the difference is... both computers have dedicated gaming cards and similar setups.

  • Thank you! I couldn't find that information anywhere!

  • Sorry if this is the wrong forum, I wasn't sure where else to post this question.

    I'm a registered Construct 2 owner and I'd like to upgrade to Construct 3. I think I get a 50% discount for the first year (?), but I have absolutely no idea how to activate this discount. I've tried adding my e-mail address on the purchase page, I've tried logging in to the website first, and no matter what I do the price shown is the full price.

    What am I missing?

  • <sigh>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Some more tests...

    Here are the specs for my work laptop:

    ASUS running Windows 10 (64 bit)

    Intel I7 2.6 GHz (8 CPUs)

    DirectX 12

    GeForce GTX 970M

    I have two external monitors, a Dell and a Lenovo. I ran some tests using my laptop monitor as my "main" screen, and more tests after making my Dell monitor my "main".

    LAPTOP MONITOR IS "MAIN"

    LAPTOP MONITOR

    The demo runs like butter. The vehicle and the background are perfectly smooth. No microlags or jerkiness at all.

    SECONDARY AND TERTIARY MONITORS

    The vehicle and the background show pronounced jerking and lag.

    SECONDARY MONITOR IS "MAIN"

    LAPTOP MONITOR

    The vehicle and shadow look perfect but the background has some slight jerkiness. It is MUCH better than the jerkiness mentioned above.

    SECONDARY AND TERTIARY MONITORS

    The vehicle looks perfect, but the background looks a little blurry? (As if it was being rendered in a location and then a millisecond later rendered one pixel to the left or right.) Despite any possible blurriness it still looks great.

    It will be interesting to see if the new C3 runtime makes this better!

  • Thanks for the help. Here's a link to my capx (below). I'm probably doing something stupid and will soon feel like an idiot... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    https://nofile.io/f/mfgADZQW2qv/array_test.capx

  • I just tried the HTML5 version in the link above (http://q3olegkagames.com/project/test/).

    As others have said, the performance is very jittery and jerky. Strangely, when I dragged the browser window from my secondary monitor to the monitor on my *laptop*, the movement instantly became buttery smooth! (I can make a video if anyone would find that helpful...)

    UPDATE: I just tried the same experiment on my laptop at home. I've got a fairly fast rig but unfortunately I'm seeing the same jerkiness on my secondary monitor AND my laptop monitor.

  • On my lunch break today I created a .json file and tried to use AJAX to populate an array. It's not working and for the life of me I can't figure out why.

    Here's what I'm doing:

    1. I created a .json file using c2array format. (See below.)

    2. I imported the .json file to the Files area.

    3. On Start of Layout I use AJAX to request the file.

    4. When the .json file is Completed I Load (into the Array) from JSON string "AJAX.LastData"

    When I run in debug mode I can see the .json text in LastData, but my array has 10 values and they are all 0.

    A minute ago, as a test, I downloaded the array to a .json file, added that to my project files, tweaked a couple of values and tried again. That's not working either, for some reason. Is it an encoding issue on the text file? According to Notepad++ I'm using UTF-8.

    -------------------------------------

    {
    	"c2array": true,
    	"size": [100, 1, 1],
    	"data": [
    		[
    			[0]
    		],
    		[
    			[1]
    		],
    		[
    			[2]
    		],
    
    etc.
    
    		[
    			[100]
    		]
    	]
    }
    [/code:1voymjgm]
  • Hmm. I followed blackhornet's advice above, but it's not spawning the correct number of sprites in my grid.

    My code now looks like this:

    For "MakeItems" = 1 to 5
         Pick an instance of spr_test at random (if spr_test.var = 0) --> set spr_test.var to a random number between 1 and 3
               spr_test.var = 1 --> create newSprite1 at location of spr_test --> delete spr_test
               spr_test.var = 2 --> create newSprite2 at location of spr_test --> delete spr_test
               spr_test.var = 3 --> create newSprite3 at location of spr_test --> delete spr_test
    [/code:9v6lliz9]
    
    So if it randomly picks an instance of spr_test where var = 0 then it sets var to a random number between 1 and 3. But if it randomly picks an instance where var does NOT equal 0 does it just fall through and loop back? That would explain why I'm not always getting 5 items in my grid.
    
    UPDATE: I may have fixed the problem by moving "if spr_test.var =0" ABOVE "Pick a random instance".
  • Awesome replies. Thanks, guys!

  • I have a bug in my prototype and I'm trying to track it down. Here's my "code" in nutshell:

    First, I fill the empty cells in a grid with instances of "spr_test". This seems to work fine. Then I call a function that does the following:

    For "MakeItems" = 1 to 3
         Pick an instance of spr_test at random --> set spr_test.var to a random number between 1 and 3
               spr_test.var = 1 --> create newSprite1 at location of spr_test --> delete spr_test
               spr_test.var = 2 --> create newSprite2 at location of spr_test --> delete spr_test
               spr_test.var = 3 --> create newSprite3 at location of spr_test --> delete spr_test[/code:295myv0b]
    
    Everything about this works great, except it sometimes puts two newSprites on top of each other. I'm guessing that the MakeItems loop happens all three times and THEN it deletes the instances of spr_test. Is that right?
  • <<When it fails to load, are there any error messages? Any messages in the windows logs?>>

    C2 doesn't give me any errors. It just loads forever. I can click on the red "X" and that is generating "application hang" errors in my Windows log. But I'm not seeing any useful information in there.

    <<How big is your project? Have you got thousands of images?>>

    The project is fairly small. 45 events. 20 sprites (with only a few animation frames in some of them). My "frame" image is 1280 x 780 but it seems to work fine at home on a lesser computer.

    <<Have you got lots of Layouts / Event sheets open at the same time?>>

    Nope, only two layouts and one event sheet.

    <<Under 'File/Preferences/ Misc/Other' have you changed the 'icon' mode?>>

    I've never touched that. Is there something in there I *should* change?

    <<Final suggestion - let users here try to load your project and report back to you.>>

    My project loads just fine in Construct 3, so I don't think the issue is there. I'll try loading some other projects and see if those have problems as well.

    Thanks a lot for your help!

  • Version 7 of my project loaded earlier today, after a couple of tries, so on a whim I tried to load version 7 and THEN version 8. For whatever reason, this worked. So I'm back in business for now.

    I'll try re-installing C2 and I'll check with the IT guys to see what kind of software is running in the background on this computer.

    Thanks for the reply.

  • I didn't put this in the bug forum because I think it's an issue with my work computer, or some software that is running in the background. I've been working on a game prototype using Construct 2 and I've been having issues reliably loading my project files:

    1. The .capx only opens about 1/3 of the time. The other times it just loads forever and then says "Not Responding". I exit and try again until it finally loads.

    2. Unfortunately, version 8 of my project -- which has all my work from yesterday -- won't load at all in Construct 2. (Though it loaded and ran perfectly when I tried to launch it in Construct 3, the trial version.)

    3. I am using a .capx file. I tried unzipping the files and running the .caproj but that didn't work either.

    4. On a possibly related note, I have a pretty beefy computer here at work but C2 is slow to load. When I click the icon in the task bar (Windows 10) nothing happens for four or five seconds and then the editor pops up. At home the load is almost instant. That, again, tells me that there might be some software validating the .exe or something...

    Has anyone else reported loading issues like this? Anti-virus software incompatibility maybe? Does anyone have any suggestions? I have work to do and I'm stymied.

    Thanks.