Feb
4
Esoteric framework updates
I've been working on the Esoteric Framework, a tool to quickly develop 2D and 3D Flash apps. A lot has changed since the latest release. Here are some of the new features:
- Updated for Flash Player 10, supports 3D coordinates for display objects
- Now uses Away3D 10 lite instead of Papervision3D for advanced 3D functionality
- New 3D functionality, such as loading scenes in formats supported by Away3D 10 lite
- Import SWF content so you can design in Flash and program using the framework!
- Improved scripting language, with support for objects and functions
- Added the eQuery framework, inspired by jQuery, to make scripting even easier
- Timeline element to create second based timelines
- VideoFile element to load external FLVs
- Cache for external images and files
- Performance improvements
- SDK to create custom elements
This thing is definitely not ready for a release yet, but it's a big step forward. Here's a little example that shows some of the new features:
Source code:
<MyApp>
<Scene3D id="scene" rotationX="{-20 + mouseY / 10}">
<Collada id="collada" url="assets/preloader.dae" rotationY="{mouseX}" />
</Scene3D>
<Camera3D id="camera" y="-850" z="-2000" rotationX="-20" rotationY="10" />
<BlurFilter id="blur" blurX="100" blurY="{this.blurX}" />
<Sprite filters="{[$('#blur').elements()]}">
<View3D
scene="{$('#scene').elements()}"
camera="{$('#camera').elements()}"
x="{stageWidth / 2}"
y="{stageHeight / 2}"
minX="{-stageWidth / 2}"
maxX="{stageWidth / 2}"
minY="{-stageHeight / 2}"
maxY="{stageHeight / 2}"
/>
</Sprite>
<BitmapFile url="assets/fg.png" />
<Script>
<![CDATA[
// add a listener when COLLADA is loaded
$('#collada').complete(function(e) {
// tween camera
$('#camera').animate({z: -1200, rotationX: -35, rotationY: 0}, 4);
// dim blur
$('#blur').animate('blurX', 1, 4, easing.bounce.easeOut);
});
]]>
</Script>
</MyApp>
Comments [0]


