What's new in Radi v0.5.2
2010.12.29
- You can now specify interactions for your elements using events. Here is a new sample that demonstrates this:
Hokusai's horse, interactive version
(Try clicking on the buttons on the right-hand side of that page.)
The Radi document for this sample is provided on the Download page. - There is now a "scene root" object that can be accessed by all layer scripts. To edit this object's scripts, choose "Edit Scene Root Script" from the Develop menu (or click on empty space in the layers list). The scene root is the place to store any values that need to be shared across layers, and it's the preferred location for event handlers. To access it in layer scripts, use "env.sceneRoot". (The aforementioned new sample document demonstrates this by loading the wind value from the scene root object.)
- The Inspector window now has an "Interactivity" pane that's available for all elements. You can use it to apply scripted actions to elements. There is also a tool to help you create event handler functions in the scene root object. (It comes with on-screen instructions, so refer there for more information.)
- Exported video should now play correctly on iOS devices. To create video files that can play on hardware-limited devices such as iPod Touch, don't forget to explicitly select the device you want to target (select the video element in Radi and choose "Constrain to device"). iOS 4 doesn't allow videos to begin playing automatically -- presumably to save your mobile connection's bandwidth -- so Radi will now export videos such that playback controls are shown for iOS devices.
- Rectangle and oval shapes are now exported with more condensed Canvas code than before.
- Fixed crash bug when closing a document that's playing. (Thanks to molitors @ Ars for the report.)
- Fixed bug with Inspector not correctly reflecting document closing.
- Fixed bug with viewer not getting properly redrawn in some situations when layers were modified.
Copyright 2010 Lacquer oy/ltd and Pauli Olavi Ojala. All rights reserved.