Ashley's Forum Posts

  • "flags": 0

    Zero means no flags!

  • I know developer mode UI would be nice, but I'd rather be spending my limited time doing things like expression intellisense rather than putting together UI for plugin developers. UI is tricky, takes time and can have bugs. All you just need to create a reg key as a one-off, it's pretty straightforward! I can't see any real advantage to having UI for it, other than "this would be kinda nice and save me a few seconds"...

  • It's not compiled by closure. It's something you can do yourself easily by pasting c2runtime.js in to the Google closure compiler web service. However, it doesn't seem to survive 'advanced optimizations', only use 'simple optimizations' - working out why advanced kills it is something on my todo list.

  • I'm having trouble reproducing this crash-on-exit (or closing project) bug and I can't make shotgun fixes forever, so I've made one more guess-fix and included the debugging data (.pdbs).

    You can download the modified build here (about 23mb, includes debug data). Paste the EXE and pdb file over your existing 28.2 to try it out.

    If it still crashes, a crash dump or better yet, a call stack, would be very helpful! Let me know how it goes...

  • I think that's just the browser's full-page-zoom feature. Nothing to worry about.

  • thedeveloper, what's your graphics card? (Open a layout and click About)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's up to you - a tradeoff between having to probably deal with EDK changes as you develop but being ready as soon as Construct 2 is mature, against releasing later but probably with a more straightforward development process.

    It's a big job though - a complete exporter, runtime and library of plugins.

  • You only ever need to set the key once, and it doesn't affect the functionality or caching in the browser at all - just when Construct 2 decides to copy some files. I think a reg key is OK, because some ordinary users will inevitably idly click a button if it's in the UI, and all it does then is reduce performance.

  • You should know Construct converts any graphics you import to PNG internally - so best stick to PNG, the others are either lossy or don't support alpha!

  • Download Construct 2 public preview 28.2

    Link to release 28

    Basically patches up everything that went wrong with r28, and a new update checker. The update checker checks at most once every 24 hours and doesn't block the UI thread, so it shouldn't hold up the UI becoming available like it did in 0.x. It's also got a special message if there's an update available the first time you run Construct 2, because the majority of 0.x downloads were out of date builds (presumably download sites hosting old builds).

    I've also made some more shotgun changes that might fix the crash-on-close I can't reproduce - I remember in private testing dealing with a crash certain drivers had when opening the layout editor, so I've made an attempted fix along those same lines but for when the layout editor is closed. Let me know if it had any luck...

    Changelog

    • [ADD] Simple update checker. Checks for an update once a day and gives you the option to go to the download page when an update is available.
    • [ADD] Plugin developers: you can switch off script caching so your scripts are reloaded every time you preview, making plugin development faster. To do this, open regedit, and create the following key: HKEY_CURRENT_USER\Software\Scirra\Construct2\html5 - then add a new DWORD value 'devmode' (without quotes) and set its value to 1. Script caching is now off.
    • [ADD] System expression 'lerp'
    • [FIX] r28 broke collisions - fixed again for this build
    • [FIX] Assigning NaN to a Sprite's angle has no effect
  • That's the date for the final formal specification, which is a document. HTML5 has always been developed in tandem with browser makers who add features as they go. With IE9, all major browsers will have canvas support regardless of the formal specification status. So the web can be using it all through that time.

    It's possible the HTML5 spec will change before then, but it's unlikely to be a serious "breaking change" - and even if it is, we only need to tweak our javascript runtime to fix it. It's nothing for end-users to worry about, I don't think.

  • Hmm... I hope our logo doesn't convey "common sprocket fracture"

  • Most search engines are pretty smart about this type of thing. Construct2 and Construct 2 would probably turn up equivalent results, once there's more substantial content out there about Construct 2.

  • I am finding making plugins annoying because when i make a quick example to preview it doesn't update saved changes to my code.

    To speed up previews (slow previews was a problem in 0.x), the javascript files are cached each time a project is opened. You don't need to re-make your project from scratch - just close and reopen the project, and the cache will be cleared. Just to clarify, it's not the browser caching javascripts - it's Construct 2 itself.

    Even closing and reopening the project was a bit annoying when doing my own development, so I switched off caching for myself in debug builds. However, you're right that would be useful for other plugin devs, so I'll add a 'developer mode' switch somewhere which will switch off caching, then the scripts are re-loaded every time you preview.

    [quote:267p3901]If you go to add a object like text and then go to the event list it adds it but without it showing.

    I don't understand - "it adds it but without it showing"? Does it add it or not? Where are you looking? Also, Arima is right - reports should go on the tracker - thanks.

  • It should support TrueType fonts - under the hood it uses FreeType, which supports a lot of formats, just not *all* of the ones in Windows. It is by no means limited only to Arial.

    However, you also need to be sure that the browser has the font, which means you should probably stick to the standard web development fonts like Arial, Helvetica and so on. HTML5 also has downloadable fonts support but that's not something on the immediate agenda to implement.

    The plugin system allows anyone to make any kind of plugin. Even if the Text object only ever used fillText, someone can make a plugin that uses bitmap fonts. There's no reason to be limited by official plugins.