This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and [...]
In my previous post I update the “Hello world” for box2D so that you can see something visual interesting. You can find the original here: AS3: Hello Box2D. Today I will post the same code but now how it should be. Keeping the coding conventions in mind and making it easier to reuse code. Still [...]
In my previous post I update the “Hello world” for box2D so that you can see something visual happening. You can find the original here: AS3: Hello Box2D. Today I will make it a little bit more attractive (remove trace). First we change some settings to make it more fun to watch at! The groundBodeDef [...]
In my previous post I started with a “Hello world” for box2DFlash. You can find the original here: AS3: Hello Box2D. When you get it working you will not be satisfied: a black swf, with only a trace in the output panel. Today I will make the “Hello world” more visible. Debug_Drawing This the preferred [...]
In programming the Hello world is probably the first you will ever make in a new language. In the box2D wiki you can find a “Hello world” in box2DFlash style: AS3: Hello Box2D. Easy as it should be … or is it? This is not the “Hello world” I expected, so I’ll post one that [...]
If you are a Flex/Flash developer (and not familiar with another programming language), you will agree that the syntax for Box2DFlash is not following the AS3 coding conventions and seems funny. Not that I’m so good at it (seem to have a lot of problem shaking the suffix “_mc”) but other people have the same [...]
By Matthijs Kamstra
|
Also posted in AS3
|
Tagged AS3, blog, box2d, box2dFlash, conventions, Flash, flash developer, john lindquist, papervision3d, programmers, syntax
|
In a previous post I started my journey into Flash physics by using Box2D. And I “complained” about the documentation. So I decided to create one for the boys & girls at the box2d Flash AS3 forum using ASDoc….. Someone beat me to the punch: BorisTheBrave created a script to convert the current comment into [...]
I was looking for a physics engine for Flash so I started looking for one… there are a lot of engines… I won’t mention them all, there are enough people who did that already (here, here, here and here) If the list is that big, how to choose? Well I also want to use it [...]
By Matthijs Kamstra
|
Also posted in AS3
|
Tagged 2d engine, Actionscript, actionscript 3, AS3, box2d, box2dFlash, Flash, Open Source, physics, physics engine, physics library, tutorial, Tutorials
|
December 10, 2008 – 09:54
Update #1: when I wrote this post, this all worked… And I have good hope that the site will return. For now I can only say: try again later…. Update #2: well the site didn’t return: it’s as dead as a doorknob … that’s too bad. I couldn’t find a place where you can download [...]
September 3, 2008 – 10:00
Where did attachSound go in AS3? It’s almost the same as attachMovie (I already covered attachMovie: read attachMovie post) I was never very good in sound, and I didn’t use it a lot in my applications/animations. That changed with my new job. But for the people that remember attachSound in AS2, this is how its [...]