New Blog Design!

Finally, a new design for my Blog. Thanks to my wife and she made it in just 2 days!

Actually since April 2009, I’ve been planning to change my blog design. The theme dilectio was used just for temporary. Unfortunately, I was always get distracted and never start it :-P

Last Friday, while she was doing some maintenance of her blog, she offered me help to design my blog themes. I gave her some directions which basically the style and color schemes  from my portfolio page.

Then on Sunday morning … tada!

For celebration, we went out that afternoon and had a nice crepes with Italian ice cream :-)

Away3D: Animation using Metasequoia

Another experiment with Away3D :-) After successfully loading Metaseq (MQO) file using Away3D, I want to do a simple animation.

Currently, Away3D supports bone animation using Collada. Collada would be great for animation but I don’t have any 3D editor to generate Collada file. Unfortunately, I’m kinda allergic to Blender :-D

Luckily, Away3D is also able to do vertex animation using MD2 or the Animator class. After reading the frame/vertex animation tutorial (http://away3d.com/tutorials/tutorial-how-to-use-the-animator-class), I decided to give it a try.

I still have the Mikoto animation files that I created for Tokusatsu Agent. Haven’t used Mikoto for very very long time but it just take me 30 minute to get used to it again. I took the running animation and saved some keyframes into 6 MQO files. Using my Metaseq library, I load all 6 MQO files, get the vertices data, and pass them to the Animator class.

The result is quite satisfying. Just click the pic below for demo. The source code still look ugly but just e-mail me if you’re interested.

away3d frame animation

More experiments and optimizations will come so stay tuned ;-)

How We Play Assassin’s Creed 2

I’m lucky that my wife is a gamer. We spend time a lot of time sitting in front of TV playing PS3 game together. Maybe that’s why my DS is collecting dust :-D

Lately, we’ve been playing Assassin’s Creed 2 together. We played and finished the first series and really enjoy it. The second Assassin’s Creed (AC) has Italian Renaissance as the settings which makes us love it even more!

assassin creed 2 costume from Little Big PlanetAC2 only supports 1 player so we take turns, just like how we played AC1 or Prince of Persia. There is no rule how we divide our turn. Basically, we both play every game mode: assassin missions, exploration, or race. Then I notice how different me and my wife play the game.

My wife prefer dueling or fighting the guards directly while I prefer assassinating my target silently. She has no problem facing several guards at a time and got the No-Hitter trophy/achievement easily. On the other hand, I’m not that good in direct duel. Maybe that’s because I am more impatient in fighting and loves to bash the button aggresively.

But when it comes to kill the target without being noticed or escaping the guards, my wife usually pass the controller to me :-)

It’s a good thing that in AC2 you can play the game anyway you like.

Away3D: More with Metasequoia

Two weeks ago, I started playing with Away3D and working on parser for Metasequoia. There were some codes for that (from sleepydesign or libspark) but they didn’t work with the new version. I have been changing the code so it can change the materials/texture of the model once loaded.

FinallyI made it. Click the picture below to see the demo

hiro-away3d-2b

Click the ‘read more’ below to see the and download the code. It is still in very early version, buggy and some MQO models are not displayed correctly. I am still working on it. But if you want, feel free to use it ;-)

Note: The code is only work with the current trunk version of the Away3D version 2.4.0/3.4.0 FP10 (tested on rev. 2039)

Read more

Away3D: Loading Metasequoia model

So what have I done on the last 3 weeks at home? Cooking, sketching, and of course, finishing my game prototype. It’s done but I need to adjust a lot of things to make it more fun. Another new thing is I learn Away3D.

After doing all tutorials (compiling, putting models on screen, rotating them, …), I really like Away3D. Flash 3D is not as I thought :-) Maybe that because I’m already familiar with 3D programming.

Since I’ve done a lot of 3D modelings using Metaseq, I want Away3D to load Metaseq files (MQO). Away3D Lite supports MQO but not the Away3D. So I tried to use Blender to convert the model to obj or Colada, but somehow didn’t work. Almost everything I export from Blender didn’t work (as usual) :|

Then I found a very nice code at sleepydesign (thanks katopz ;-) ) but the code cannot compile on the new Away3D (version 2.4.0/3.4.0 Flash Player 10). It seems that there are some classes that already gone. So I modify the code a little bit and …. tada! 8-)

Load MQO model using Away3D

It’s Hiro from my demo game Tokusatsu Agent. Click the image to play the Flash file. Make sure you have Flash Player 10 installed ;-)

The code is still not finish. It only able to load embedded model, not from external file/url.  The model above uses 3 texture files and I am still working on the MaterialLibrary part so later I can change the materials after loading the model. Once finish, I will put it on the net ;-)