[size=200:1f961v85]Download Construct 2 public preview 30
[size=85:1f961v85]Link to release 29
Autocomplete and tips in the parameters dialog, and some basic canvas effects, notably 'additive', which is great for explosions, lasers, lighting etc., as well as opacity.
The autocomplete works a bit better than the 0.x one, including listing instance variables, and with better keyboard shortcuts:
Parameter tips (only for system expressions right now, there aren't any object expressions with parameters yet anyway) help show you how to use different system expressions. The implementation is a little naive at the moment, it doesn't support nesting and so on. However, it's still handy when used in simple cases, or as a reminder if you've hidden the object panel.
The additive effect, and the new opacity property, are great for games! This should spruce up the visual appearance of lots of games, and is all hardware accelerated in the latest browsers (IE9, FFox4, Chrome). You can also try a live demo of the additive effect
(here's the .capx file
). Canvas does support one or two other effects (XOR, some basic overlap effects), but they're not as useful as additive. It looks like this on supporting browsers:
- [Add] Sprite & Text: 'Opacity' property, and set, get and compare opacity ACEs.
- [Add] Sprite: 'Effect' property and 'Set Effect' action. This isn't a substitute for the full shader support in 0.x, but allows a quick way to access a couple of the simple effects that HTML5 Canvas has. Effects don't currently preview in the layout.
- [Add] Parameters dialog: simple expression autocomplete. E.g. type 'Sprite.' and you get a popup of all expressions and instance variables in Sprite to choose from. Seems to work a bit nicer than the old 0.x autocomplete.
- [Add] Parameters dialog: parameter tips for system expressions with parameters, e.g. typing 'distance(' pops up 'distance(x1, y1, x2, y2) - X position of first point.' These only work with system expressions (there are no object expressions with parameters yet anyway). It also doesn't handle nesting or editing after it's all typed, but is handy in simple situations.
- [Add] Object panel: F4 toggles visible. This state is remembered. (You might want to hide it and just go by autocomplete.)
- [Change] Object panel: instance variables are no longer listed in alphabetical order - they're ordered the same way you specify them in the Instance Variables dialog.
- [Fix] Fixed issues with string escaping (backslashes disappearing, error using newlines)
- [Remove] Got rid of pay-what-you-want UI.