The third and final alternative. Lemme warn you, its complicated, but its worth it. Because you will be able to make a flash preloader for a unity scene, which basicly gives you the ultimate freedom (well unless you wanna have a 3D preloader, then refer to part 2 of this tutorial).
(more…)
Archive for the ‘Programming’ Category
A custom preloader in Unity part 3/3
Thursday, December 10th, 2009A custom preloader in Unity part 2/3
Thursday, December 10th, 2009The second way to do it resembles very much how it works in flash: first you load a small movie, which is just the preloader, which will load the big movie.
(more…)
A custom preloader in Unity part 1/3
Thursday, December 10th, 2009Unity 2.6 is now out and they made the indie version free! Thanks unity team!
Unity is used a lot for offline and iphone content and perhaps not so much as a 3D replacement for flash. As a flash programmer, there’s certain things you wanna know, like how to make a preloader.
I will describe 3 ways to make a preloader, the last being the most complex and most impressive
The first way is just to customize the default preloader.
(more…)
Custom tween in Tweener
Tuesday, August 18th, 2009
I recently needed a tween that is different from the ones you see on the cheat sheet. All tweens you’ll find there have the property that the movement hardly goes outside the bounds of begin-to-endpoint (0…1). What I needed, was a tween that swings completely beyond its target, almost as far as the begin point (0…-1…1).
Digging into CS4 perspective
Monday, July 13th, 2009I finally managed to completely copy the flash internal perspective with a manual perspective.
In flash cs4, you can make a plane, say, a 100×100 plane sitting on (0,0). Then, you can rotate it in 3D, using the properties rotationX, rotationY and rotationZ. Say you would rotate it by x and y by 20 degrees each, you end up with a nice plane in perspective.
Now this is really cool, but if would be quite a pain to display a 3D mesh in such a way.
(more…)
Making a 3D map with google maps and flex4
Tuesday, June 2nd, 2009It has been ages since I last posted cause I have been really busy working on a 3d world in Unity3D to which I cannot yet show you a link, but you can see the presentation Paul gave on it here: http://www.adobeusergroup.nl/site/list_messages/270
Anyway as most flash developers know, in flash player 10 any sprite can have a 3D rotation and position to create the illusion of 3D. Now, I wanted to test out the latest version of the google maps flash api, so I figured why not throw the google map on a plane in 3D space and see if it still works.
Amazingly enough: it does!
Here it is: http://bugshake.com/pages/googleflex4/
Dynamic Textfield with custom font
Wednesday, February 18th, 2009I noticed a little bug in flash (at least, in my version), for which I wanted to share the fix.
The bug is as follows: you create a TextField, you change it’s text and then it looks empty.
Unity3D and Flash Media Server
Thursday, February 12th, 2009
Or, how I ended up reverse engineering Adobe’s RTMP protocol. And be honest to yourself, how can you not be interested in reverse enginering networking protocols? I don’t know.
For an assignment at my work I had to figure out how to make Unity3D talk with Red5 server. As any gamer at least will acknowledge, 3D graphics + networking = win. But also on the more serious side of things you can use computers for, a 3D multiplayer experience is pretty much as close to virtual reality as you can get.
Unity 3D
Sunday, February 8th, 2009
This is a rather new authoring tool, mainly for creating 3D games. It is powerful, easy to learn, emerged out of nowhere and you should have a look at it.
Among other things, it could be to the internet in 3D what flash is in 2D. Like in flash, you can visually place 3D objects such as FBX models, lights, camera’s and terrains into a 3D world and attach scripts to them. Also like in flash, you can export a created scene to one single file (.unity3d) which you can place into a website. The user will have to download a 4.5MB plugin once, after which he can view all unity content on the internet.
