Elliott's Forum Posts

  • Is your background a single image? You'll be tanking your GPU; most mobile devices cap their texture limits at a single 4k image. Definitely look at tilemaps.

  • I started this thread construct.net/en/forum/construct-2/how-do-i-18/can-i-replace-the-black-bars-o-141559 as I'm unable to get a correct export for iPhone, but it seems to be related to this thread also.

    For a brief explanation of my problem:

    - I can't get the background of an iPhone X game to be white (white bars in letterbox scale instead of black bars).

    - On iPhone 7 & 8, the background is white, but the status bar is apparent.

    - It's a Construct 2 project exported with C3 export manager.

    Seems like some people here have the same kind of problems. Any solution has been found for these?

    I need to publish my game SOON (publisher involved) so if someone has a quick (even ugly) solution it would be greatly appreciated.

    Thanks!

    This sounds quite simple - but have you tried declaring !important after your CSS? I had to do similar and I remember resorting to just crowbarring everything I wanted in

  • You have to enable experimental features in C3s settings - it was a bug in the stable release

  • Add the following to your HTML

    <script>
    window.addEventListener("keydown", function(e) {
     // space and arrow keys
     if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
     e.preventDefault();
     }
    }, false);
    </script>
    

    I'm surprised NG doesn't do this by default, but at the end of the day a blanket wide change to standard usability would be terrible.

    Ashley maybe this could be an export setting for HTML5? Or part of the browser object?

  • Create a variable called newUnixTime.

    newUnixTime = unixtime+(21*86400)

    Then repeat Asmodean code with the new variable:

    -> Browser: Execute javascript "this.date = new Date("&newUnixTime&");"

    -> System: Set month to Browser.ExecJS("this.date.getMonth()")

    -> System: Set day to Browser.ExecJS("this.date.getDate()")

    -> System: Set year to Browser.ExecJS("this.date.getFullYear()")

    -> Text: Set text to year&"."&month+1&"."&day

  • Mouse > Cursor is over object

  • Yes that's correct

  • Is it a publicly hosted dB? If you post the url we could have a play around - this definitely seems like a solvable problem

  • Thank you for the message, but that's pretty much what I already have. My issue appears to be the Construct 2 side of things. Where/How do I tell Construct to tell the Database what word to search for?

    From that example you provided, how do I tell Construct to only download the row associated with the CustomerName Antonio Moreno Taquería?

    AJAX - Request - "https://address/phpname.php?CustomerName=Antonio Moreno Taquería"

    ?

    If I’m reading the following correctly, I’d imagine you append ?q=“3” to the end of your get request to complete your example above

    w3schools.com/php/php_ajax_database.asp

  • The GMS game portfolio has the strongest console lineup next to Unity, you can't knock that level of mainstream penetration.

    It also doesn't hurt that their name is very well optimised for search, and finally, it's not a bad product! I endlessly prefer Construct, but I'd be lying if I said I didn't see the merits of GMS

  • Use the go to layout event, and use the choose expression:

    construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions

  • I'm aware of postmessage, however as both the parent and frame are on the same domain, I was hoping I could avoid it (otherwise what's the point of the parent document selector?)

    It's worth noting that this works fine when it's two standard webpages pages:

    w3schools.com/jsref/tryit.asp

  • Anyone?

  • Self.AnimationName&"_Bright"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    I can sympathise with this point of view, but from a bluntly realistic perspective, I imagine that the majority of Construct users are infrequent, hobbyist devs who use the tool every now and then (I'd love the data on this, it's something that Scirra track).

    With this in mind, they'd lose an awful lot of money if they swapped to monthly payments. It would be very easy to imagine a situation whereby the majority of users would by a handful of month subs a year, which would cost Scirra about a 3rd of their revenue from an annual sub model.

    So the compromise then would be to dramatically increase the monthly sub cost; which wouldn't work for their market (entry level game dev and education).

    The current model simply makes sense - it's a very low price compared to other services. There might be a middle ground for a sliding discount i.e

    1 month = £18

    3 month = £40

    6 month = £55

    1 year = £79

    However I'm confident smarter minds than mine have considered and dismissed this; it's likely too complex, and as stated, the annual price is competitive enough.