Tag: as3
Jiglibflash First Experiences
by eamonn on Jul.22, 2010, under development
I have been playing around with jiglibflash. It is a rigid body physics engine. I have been looking at example projects like this.
I am working on a secret project at work and I thought it would be good to share what I have learned. I want to point out that I had no 3d experience before I started this! So you should be able to do this too!
I have been using papervision to render a texture map. It takes a black and white jpeg which marks shallower and higher areas on a terrain. Papervision converts this into a 3d terrain, mountains and ditches. I also have a car which is loaded from a dae file. Papervision loads this file and renders it. I am then using Jiglibflash to create JBoxes, JSpheres and others. These ‘J’ shapes are used for the collision detection. You can even have a Papervision sphere inside a JBox and the physics engine will treat it as a box. It does all the collision detections for you. It takes care of friction and gravity. You can apply forces to the shapes. It is really straight forward handling simple shapes. The next stage of my project is to start describing complex shapes using these J shapes. It is going to be tough!!!
Using these libraries has been great! It has been a bit of a pain as Jiglibflash uses Papervision (you can also choose to use Away3D) and you need to ensure you use working sets of Jiglibflash and Papervision. A lot of the examples use strange combinations of versions so beware!
I will post the other stuff I discover as I discover it!
Design Patterns for Actionscript 3
by eamonn on Oct.31, 2009, under development
I recently did my first public talk! It was at LFPUG (London Flash Platform UserGroup).
I think it went really well. I had some very kind feedback via email and twitter and also on the night in person!
A few people have requested that I upload the examples I used and the slides so here they are.
Over the next few weeks I am going to be posting example patterns with more information, in more depth than I did on the night.
If you want me to cover a pattern please post a comment with the pattern name and I will bump it up in the list.