Elliott's Forum Posts

  • By no means should Scirra spend time inventing GUI elements, we've already got elegant languages for layout and styling - HTML and CSS; possibly the most well documented and flexible languages around. Being able to add lis and tables would be amazing - though I confess I haven't played around with the existing Inset HTML

    extension.

    I'd love for Construct to pop-up out of the canvas and act as some kind of JavaScript powered middleman for the entire DOM.

  • With the future of Construct being very open now that 3's runtime has surpassed 2's, I'm personally optimistic for a shift from game engine to "experience engine" that truly embraces HTML5+.

    This is real blue sky optimism, but would open the engine up in ways suggested above.

    As an aside, Ashley and Tom recently hinted on a great game dev podcast that there was possibly a change coming to C3 this year that would reinvent how developers use the product.

  • I would love this, I’d also be willing to donate to any of our prolific community extension devs if they would be kind enough to make a SDK 101

  • You can either do this in pure CSS using media queries, or get it from Construct itself but using the browser object and the view port dimensions

  • Likely server related. To confirm this open chrome web tools and look at the water full breakdown of the page load, HTTPS is slower than HTTP, however it should only be by about 300 ms at most.

  • There's also this suggestion: construct3.ideas.aha.io/ideas/C3-I-305

    When I have the spare time (he says, writing this at work...(!)) I will hopefully look into Ashley's suggestion of making an Addon, or perhaps hiring another dev to walk me through the steps; as just trying to read through the docs just doesn't click with me at the moment.

    If anything comes of it I will let you know dineshiyer

  • I'd use a combination of onSuspended condition and Unix time (https://en.wikipedia.org/wiki/Unix_time).

    You'd simply record the Unix timestamp when the user closes the game (onSuspended), and then subtract this number from the Unix stamp when the game is opened again - if the number is greater than 28,800,000 (8 hours in milliseconds), then you know that 8 hours or more have passed.

    The one thing I'm not sure on is if onSuspended is called if the app is closed rather than suspended

  • I thought it would be as simple as using the parent selector, however the following code:

    var element = parent.document.getElementById('divID');
    

    Generates the following error:

    c3runtime.js:461 Error executing JavaScript: ReferenceError: parent is not defined
     at eval (eval at ExecJs (c3runtime.js:461), <anonymous>:1:15)
     at C3.Plugins.Browser.Instance.ExecJs (c3runtime.js:461)
     at C3.EventBlock._RunActionsAndSubEvents (c3runtime.js:298)
     at C3.EventBlock._RunAndBlock (c3runtime.js:298)
     at C3.EventBlock.Run (c3runtime.js:298)
     at C3.EventSheet._ExecuteTrigger (c3runtime.js:295)
     at C3.EventSheet._TriggerForObjectClass (c3runtime.js:295)
     at C3.EventSheet._Trigger (c3runtime.js:295)
     at C3.EventSheetManager._Trigger (c3runtime.js:292)
     at C3.Runtime.Trigger (c3runtime.js:409)

    Any help would be greatly appreciated

  • Next to a typed event sheet interface, this is one of the most exciting features I’ve wanted in C3.

    I really hope we’ll be able to dictate parameters as optiona

  • It's possible that your server doesn't support PHP Mail - have you checked that it works outside of Construct?

    Also, does the real address have TLD, it looks cut off in the screenshot of the event sheet

    Quick question about how easing modes work - I was wondering if the elastic function went past the hundred percent mark; for example would it tween to 110% and then back to 100% I ask this because I haven’t been able to witness it myself

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would embed the configurator inside the product page and pass a base64 data URI of the canvas to a hidden product field

  • I feel like I'm being a bit dense, but where is the timeline? I've enabled experimental features, but can't find it anywhere... is it a window? A context menu?

  • It stands to reason that the most popular screen recorder will made in such a way that allows it to record a wide array of applications without issue (thus it's popularity).

    It's argued that a C3 game compiled with NW.js is equal to Electron in every way, except for seemingly the ability to work with screen recorders.

    I think it's logical to conclude that the fault lies with nw.js - the screen recorder works with the vast majority of programs but not nw.js, making nw.js an edge case, but it does work with Electron, which uses the same underlying technology.

    It's fair to assume that nw.js either hasn't implemented something correctly, or Electron is going a step further in some way.

    EDIT//

    Despite all of this, it's more fair to argue that the onus to providing a successful software recording experience lies with the developer of the recording software, not the software being recorded.

  • Ashley If SVG would be off-canvas, couldn't we get around layering with z-index? Divs could form a new layer system, which can float under the canvas. This would kind of blend into the requests to add more DOM functionality to C3 (admittedly I don't think many people request this).

    Unsure if this helps with the WebGL:

    github.com/canvg/canvg