McKack's Forum Posts

    Good thing we manually have control over what node-webkit version we use now, then

    This is what a Steam rep has to say about it, btw (doesn't sound like they want to change anything on their side just yet):

    [quote:cnqap37b]It looks like how they have things setup (maybe a giant canvas or webgl surface) does lead to consistent rendering, so that part actually may be working. Think the actual problem is that they are using the chrome multi-process model and the compositing and gpu rendering are each in a separate process from receiving input. So we inject the overlay hooks into all the processes, but we only find a 3d surface and try to run in the renderer or gpu process but some other process is doing input and we aren’t hooking it.

    If they forced the single process model for their webkit/chrome stuff that might make things work without them having to heavily modify the chrome code.

    Good news, everyone!: Screenshot on Steam

    I'm incredibly excited about this in combination with the Greenworks plugin. Hopefully there's no side effects to using that argument.

    Edit:

    OK. Some basic testing done, not run into any problems so far. If anything, using the argument actually seems to increase performance slightly.

    I went from reaching 30 fps ~8300 objects without it to 30 fps ~9600 objects with.

    I think it's a separate issue entirely. Overlay works on Mac for me, but not in windows. I've reported to rogerwang here: https://github.com/rogerwang/node-webkit/issues/2560 if you want to add any comments there..

    Thanks, I'll keep an eye on that issue post.

    What's interesting is, I just discovered Game Dev Tycoon has working overlay on Windows, so the good news is it is possible somehow with node-webkit. Would love to hear from greenheartgames how they did it and if it translates into something that may be applicable for us as well.

    Amazing news! Does this help with missing Steam overlay or is that a separate node-webkit issue?

    Edit:

    For anyone else OCD about the plugin icons in C2, here's a temporary icon for you until it gets an official one.

    Download here

  • Try Construct 3

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

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

    Sorry about all this. It would appear solidfiles have turned to dubious methods of earning money. The big green download button leads to some shady downloader/installer while the tiny link underneath it is the clean file as far as I can tell. Either way, I've replaced the links with safe ones.

    I'll never be using solidfiles again!

  • delgado I wrote it in Sublime Text 3. In other words, any text editor you prefer

  • Cipriux Great!

    delgado

    You'll wanna use the text object, it has support for web fonts (Not recommended/supported for mobile if I recall correctly, though)

    Another option is to create a spritefont using that font.

    https://www.scirra.com/tutorials/236/using-web-fonts-in-the-text-object

    https://www.scirra.com/manual/166/sprite-font

    Handy CSS documentation / tutorials can be found here:

    http://www.w3schools.com/css/DEFAULT.asp

  • Yes, that can easily be done in the index.html for deployment. Hopefully there'll be more settings and control over the index.html appearance in future versions of Construct 2.

    This plugin is mostly just intended for realtime usage or testing in preview.

    In any case, for future reference if anyone wonders, using the plugin, here's some examples of how it could be done:

    For just the layout.

    Set the layer(s) in your layout to transparent and add the following to the stylesheet.

    #c2canvas {
    	/* Support for most browsers */
    	background-image: -ms-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -moz-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -o-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000000), color-stop(1, #EF1A7E));
    	background-image: -webkit-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: linear-gradient(to bottom, #000000 0%, #EF1A7E 100%);
    }[/code:3tumn0kj]
    [b]For the entire page.[/b]
    Add the following to the stylesheet (notice the "body" instead of "#c2canvas").
    [code:3tumn0kj]body {
    	/* Support for most browsers */
    	background-image: -ms-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -moz-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -o-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000000), color-stop(1, #EF1A7E));
    	background-image: -webkit-linear-gradient(top, #000000 0%, #EF1A7E 100%);
    	background-image: linear-gradient(to bottom, #000000 0%, #EF1A7E 100%);
    }[/code:3tumn0kj]
    
    Sorry for the late reply, but glad to hear you figured it out.
  • +1

    Condition checking family instance variable when no objects of family are present in layout invokes a crash.

    Condition checking instance variable when no [non-family] objects are present in layout does not invoke a crash.

  • Indeed

  • New Super Bardy Flip HD

    My Flappy Bird clone entry to the #FlappyJam, shouldn't be taken seriously, not made for fame nor fortune, just for fun

    Why are we flap... I mean, jamming?

    indie gamedevs are friendly and supportive,

    envy and teasing should not belong to our

    community, nor be a cause of suffering

    Started on it before the Flappy Bird template existed so it's made from scratch, which I enjoyed as a learning experience. All graphical assets have also been made from scratch, but in the spirit of Flappy Jam, heavily inspired.

    The game is pretty much done but I am adding a few more "easter eggs"/homages in an update and have been considering adding hats just for the heck of it and to give the game some more goals/reason to keep playing.

    Enjoy! (or hate it for all the reasons, I don't blame you)

    P.S.

    Best experienced in Chrome. Graphics seems to be filtered (non-pixelated) in everything else...

  • Love this plugin, except... is it supposed to be off by one day?

    <img src="http://puu.sh/4iL58/333214c1fd.jpg" border="0" />

    zeropad(Date.Day(Date.UnixTimestamp), 2)&"."&zeropad(Date.Month(Date.UnixTimestamp), 2)&"."&Date.Year(Date.UnixTimestamp)
  • Chiming in - just what I've experienced but may be completely unrelated or coincidental:

    This seem to happen pretty consistently for me if I have opened a project file directly through Construct 2, say a text file in notepad and it's still open when I try to close. It also seems to happen if I'm still using the browser that I used to preview the game in.

    Basically, it seems like Construct 2 goes semi-modal and won't close properly before any other programs that have been started through it has been completely shut down.

  • Yes, happening here too.

  • Links still working here.