Feature
|
Project Bar: new 'Files' folder. Allows for importing any files to the project. Useful to store any data files (e.g. .xml, .json, .txt...) or any other purpose where external files are useful, e.g. embedding video files, binaries, documents, etc.
|
Feature
|
Spritesheeting in to 512x512 tiles on export. Helps reduce download size, especially with 256-color/PNG-8 images. Each tile only contains one Sprite's animations (different objects will not be mixed on one tile). Breaking change: this may break third party plugins that alter Sprite's images. Any affected developers please post to the SDK forum and I'll help you make the necessary changes.
|
Add
|
AJAX: 'Request project file'. Allows loading of project files through AJAX. Useful to then load the result in to the Array, Dictionary or XML plugins, which could be handy for making level editors and such.
|
Add
|
Support for iOS Retina displays. Allows for hi-res artwork and crisper text on hi-res devices like the iPhone 4S and iPad 3. Can be disabled in project properties ("Use iOS retina display") if you prefer to leave it low-res and upscale, which is lower quality but can improve performance. Enabled by default.
|
Add
|
At long last, browsers are beginning to add support for point sampling in canvas 2D. This means in future it should no longer be necessary to use WebGL just to get point sampling for retro games. Browser support is in Chrome 21+, not sure about other browsers yet, but it's at least 3 months until support reaches stable browser releases.
|
Add
|
System expression 'CPUUtilisation'. Percentage of the last second spent in the application logic. Note this is an approximation only, except for browsers with support for high-resolution timers (Firefox 15+, Chrome 21+). The rest of the time will be either idling or waiting for the GPU to finish rendering - you can't tell.
|
Add
|
System expressions ViewportLeft, ViewportTop, ViewportRight, ViewportBottom. Get the viewport position for a particular layer.
|
Add
|
Support for high-resolution timers in Chrome 21+. (Was already supported in Firefox 15+)
|
Add
|
Project bar: 'family behaviors' added to right-click menu for families
|
Change
|
Dictionary: removed unused property accidentally left in
|
Change
|
Estimated project size now takes in to account the image format set in the image editor, but only very crudely: PNG-8 is assumed to be half the size and JPEG assumed to be a quarter the size. Remember the only real way to tell is to export your project.
|
Bug Fix
|
Crash adding an object type to a family with family behaviors
|
Bug Fix
|
The new letterbox fullscreen options in r91 were accidentally left out of the 32-bit version of Construct 2
|
Bug Fix
|
Some broken-when-minifying bugs should now be fixed
|
Bug Fix
|
Possible crash in the Physics behavior
|
Bug Fix
|
XML: can now return text longer than 4096 characters on Firefox
|
Bug Fix
|
WebKit based browsers (Chrome, Safari): fix for some browser bugs - Chrome sometimes made pixelly games look blurry, and Safari sometimes went blank when changing orientation. A hack as been added to work around this.
|
Performance
|
Performance improvement for some mobile browsers after exporting. It may be worth re-testing your games on mobile if you have already since the framerate may now be measurably higher in places, depending on the system. Note the optimisation is only applied on export - if you use Preview-on-LAN feature it won't be any faster.
|
SDK
|
The preview server now serves up files from the new project 'Files' folder. This could be useful for third party plugins that need to use other files. However, only a fixed list of MIME types are supported; if you need the preview server to support a new MIME type, let me know and I can add it.
|
SDK
|
New project file parameter type (AddFileParam). Dropdown list to select a file from the project's 'Files' folder. Returns a string of the filename, which is exported to the same folder as index.html (so can be used as a relative URL). Used by AJAX.
|