Captain's Forum Posts

  • The crash needs to be reproducible for the developer to fix it. Can anyone give steps to reproduce a crash.

  • Does Game Closure implement a browser engine or just 2d canvas or something inbetween?

  • A

  • Here's a comparison of ports of box2d. Its an interesting read when box2dweb is compared to asm.js

    click here

  • If a developer wants to support a number of browsers, then each browser supported needs to be tested. Its just of reality of software development that you test each platform that your program runs on.

    HTML5, C++ or whatever language you want to write your game in, all have pros and cons for implementation, deployment etc. If HTML5 isn't providing a good enough user experience, then choose a different technology. If there isn't a 'perfect' solution, then spend some time choosing the best solution for your needs, being fully aware of its short-comings.

    Construct2 suits my needs (I'm using node-webkit and cocoonjs).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Another approach: rather than relying on browsers, use wrappers like node-webkit and coccoonjs. This is a different deployment model, but at least its consistent.

  • I think you are right :)

  • Link to .capx file (required!):

    I'll make a capx if required.

    Steps to reproduce:

    1.

    2.

    3.

    Observed result:

    A message box appears with the message:

    "Javascript error

    Uncaught ReferenceError: element_hidden not defined

    ... Textbox_plugin.js, line 241 (col undefined)"

    Expected result:

    Browsers affected:

    Chrome: yes

    Firefox:

    Internet Explorer:

    Operating system & service pack:

    win8

    Construct 2 version:

    144

  • The text height is incorrect when you have multiple lines. The line height needs to be taken into account otherwise the value is too small. Please see capx for an example.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/108499873/textheightBug.capx

    Steps to reproduce:

    1. Create 2 texts

    2. Make one of the have a line height other than 0

    3. The still have the same text height!!

    Observed result:

    Same text height

    Expected result:

    Different text height

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    win8

    Construct 2 version:

    143

  • Ashley, two alternative solutions:

    • a project supports multiple screen ratios (e.g. 4x3, 16x9 etc). So when a user defines a screen size, all possible screen sizes are shown in the layout with dotted lines. I guess a problem is that there would be an area on the layout which would only be shown on certain devices. However a user can design a layout with these areas in mind.
    • it would be nice to be able to set the colour outside the window with letter scale. The default is black. If it was definable, I could at least make it fit with my colour scheme.
  • One solution is to use the keyword "local" in the css file. See scirra.com/forum/offline-web-fonts_topic57335.html for more.

    I hope this helps.

  • Pascal has no return. It becomes an issue of design if you don't have a return statement. Though a return would be handy.

  • The Wii U has a browser (though it doesn't sound great).

    From en.wikipedia.org/wiki/Internet_Browser_(Wii_U)

    "Nintendo is also offering a development environment that helps developers easily port and/or create their existing or yet to develop games and applications built around HTML5, CSS and Javascrpit web standards to the Wii U, the Nintendo Web Framework. These applications would be later distributed via Nintendo eShop."

  • I think it would be handy to have a object like a struct in C which contains only variables. Then the object could be used independently (e.g. to create a linked list) or be associated through containers to other objects (e.g. layout). If you have common set of variables, it can be associated with a sprite and a tile object, for example.