Velojet's Recent Forum Activity

  • I'm still getting problems with slow downloading of certain pages on the site - and their eventual appearance in unstyled form.

    For example, the latest release page (www.scirra.com/construct2/releases/r105) - just now, it took 32 seconds to download and when it did appear, there was no styling and all images were missing. I think the fault may lie with the static3.scirra.net server, which frequently seems to have a very high latency.

  • [/sarcasm] :P

    I got it <img src="smileys/smiley2.gif" border="0" align="middle" /> Your PS was/should've been the giveaway. Nice!

  • ... and use a topic heading that indicates what your question is ('Making more than 1 layout') instead of telling people to answer you!

  • Anyone seen it?

    I won a copy as a prize in the latest Construct 2 competition. (Other prizewinners won a copy, too.) An inspired choice of prize!

    It's a must-see - all the agony and ecstasy of indie game development are brilliantly captured.]

  • Ashley

    Thanks for your helpful reply - and for confirming my suspicions about the overlay context.

  • I created my (prize-winning <img src="smileys/smiley2.gif" border="0" align="middle"> ) plugin tutorial using stable release r95. Running it with WebGL switched on (the default) under the latest stable release (r103.2) now produces a JavaScript error ("Type error: ctx is null"). Here's how it happens:

    In order to keep things as simple as possible, I simply had a call to instanceProto.drawGL() fall through to instanceProto.draw(), passing this.runtime.overlay_ctx as the context (I'd pinched this code from shinkan's Square plugin):

    instanceProto.drawGL = function (glw) {
      this.draw(this.runtime.overlay_ctx);
    };

    However, since r103.2 (or possibly before - I didn't test it with the intervening beta releases), runtime.overlay_ctx returns null.

    In any case, when I think about it, overlay_ctx is probably not the right context to be using - my guess is that this creates a second canvas context that simply (no surprise!) overlays the main canvas. What is needed is a reference to the context of that main canvas.

    So my question is: how can I access the context that is passed (as ctx) to draw() ? (The answer may be in the SDK manual, but I haven't been able to find it.)

  • Spaceport says HTML5 is no good? Funny - Robert Nashak (BBC Worldwide EVP Digital Entertainment) says: ?Spaceport is the leading HTML5 game development platform". Looks like smoke and mirrors to me.

  • odesign

    You'd do it via a plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still not right, I'm afraid. I can now get here (obviously!) no trouble, but if I click on the 'Home' link from this page, nothing happens for a couple of minutes and I eventually get an unstyled homepage. Same with the 'Manual' link.

  • Yes, there's certainly something weird going on here. I clicked my 'Favorites' link to 'New Posts' (something I do every morning) at 2000h BST but got a message (IE9 on desktop) saying it couldn't find scirra.com and offering me a Google-cached copy. I clicked on that and found I was able to move out from there to live Forum topic pages! - and post this message!

    And if I click on the 'Home' link from this page, nothing happens for a couple of minutes and I eventually get an unstyled homepage. Same with the 'Make Games' and 'Manual' links.

  • ... Once you get the hang of it, creating behaviors and plugins which add, modify, or even create new functionality, is rather easy. You're just moving the scripting down one level, from scripting directly in an object to an external bit of code ... by far I think the JavaScript SDK gives me more power and control than a built-in system ever did.

    Well said! Couldn't agree more!

    .. My wish for the Future is, that all the Programmers that can Help this little "2-Man-Team" should bring in all the Knowledge they have an the "Will" to Help to Push this Great Tool.

    No need to make it a wish for the future - right now, those of us who're contributing tutorials and plugins are doing exactly that.

  • WonkaVee

    Just Construct Classic <img src="smileys/smiley6.gif" border="0" align="middle" />

Velojet's avatar

Velojet

Member since 22 Nov, 2011

Twitter
Velojet has 1 followers

Trophy Case

  • 13-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies