dinsdag, mei 22, 2007

gemaaktwatmee.be: Campaign for Jupiler

Commisioned by TheseDays, we worked at flash development for the campaign gemaaktwatmee.be for Belgian beer Jupiler.

Our developer Maarten worked together with the Thesedays developer team mostly at database communication using Json and Monorail.

There is an article at www.marketinginteractive.be too (in dutch).

Thanks to TheseDays.

vrijdag, mei 18, 2007

Build and compile AS3, Flex2 and Apollo applications in Eclipse on Mac OS X

Tested Unit, the blog of Mister Sven Dens is online.

Sven is sitting right next to me here at the office and his first post is a litle jewel for all Flash/Flex developers.

He created a template that contains everything you need to build and run Flash/Flex/Apollo apps from ActionScript source files or MXML (Flex2) source files.

Donload the template here or visit Sven's blog for the source and more details.

Good work Sven!
Technorati Profile

dinsdag, mei 15, 2007

Silverlight for Flash Developers: Demo with source code

With Silverlight being the talk of the town, especially amongst Flash developers, what is the best way to get your head around it? Right... Get your hands dirty. There ain't much to gain from talking about stuff you never tried :-)

The best way to get started was to go out and try some very basic stuff for game development. So I started out with basic character controlling.

Download the silverlight plug-in, if you don't allready have it, and check out the result:
http://www.seeingisbelieving.be/blog/silverlight/ladybug/fullscreen/default.html


I am on a Mac so I did not use any IDE for the creation of this demo.
Windows users can use Visual Studio or Expression.
I only used TextEdit (Notepad) for Windows users. So you could say that Silverlight is platform independent. This demo was created on a Mac. Maybe some IDE for Mac will arise in the open source community one day. You could use Eclipse for your javascript development for now. Documentation that comes with the SDK is pretty good, so you should have a 'Hello World' pretty quick.

What you need:
1. html file
2. a xaml file (pronounce as "zammel")
3. min. 2 javascript files
4. the Silverlight plug-in
5. TextEdit or Notepad

Download the SDK here.

Developing Silverlight vs Flash:
It's not all that difficult to get it working, but it can be pretty confusing if you are a Flash developer. Because I didn't use any IDE it was very hard to debug and I am not a javascript master so I had to 'cheat' sometimes.

1. Scripting and manipulating objects is done in separate files. You define your UI elements in the XAML file and you manipulate them in another file with javascript. Or at least most of the time. Not so for animations. Pretty confusing indeed...

2. I made quit a mess trying to get simultanious keyboard input, but it works. I got frustrated over booleans not working (no debugging tools) so I faked them with strings, sorry...

3. There is no 'onEnterFrame' boys and girls. There is however a work around. You create an animation with duration zero, you set a callback handler where you restart the animation and where you can put your code to be executed.

4. Prototyping is back. You will be seeing a lot of these things: myobject.prototype.mymethod = function doThis() . I've only got rid of this 2 years ago and I feel that it's not doing any good for the OO approach.

5. No support for creating custom events if your are not working with C# or Visual Basic.

6. No collision detection for images. There is a HitTest method but you can't use that on images. Only on the Stroke object.

7. Bitmap manipulation in Flash (the bitmap API) is much much more mature.

8. The switch from Actionscript to Javascript is not that hard.

9. Embedding in an html page is a complete drag. I tried to embed my application in this blog but it doesn't work at all. Microsoft provided a service called Silverlight streaming. Here you can upload your application as a zip file where you add a manifest.xml file from where it can be streamed. They provide you with some extra code and code to embed your app on an html page but I can't get it to work. It is pretty easy if you have full control over the server where you host your pages but embedding a Flash app is much more straightforward.

10. Working with animations is completely different in Silverlight than in Flash. It is done in the XAML file where you work with storyboards. An animation is an object, you can target and manipulate your animations in the according *.js file.

I feel Silverlight has a long way to go, but .NET developers should be able to get a grip of it fast. It is still in Beta so I guess stuff like bitmap manipulation, cleaner embedding, collision detection, event handling,... are allready on the table over at Microsoft. Or they should be...

Download the source code here:
http://www.seeingisbelieving.be/blog/silverlight/ladybug/silverlight_ladybug_source.zip

Word!
Technorati Profile

zaterdag, mei 12, 2007

Work, work, work

To all my dear readers,

I know it has been a while but it's been very very busy the last two weeks. I know you've heard it before but it's true! Really.
Check it out:

Game development:
I have been doing a game for a recruitment campaign for Microsoft Dynamics, commissioned by the nice folks over at McCann:
http://www.lanceerjezelf.be/game.aspx


The game was done in the Asap framework and I must say it works very good. Development speed has gone up and everybody is working according one system which is a good thing. It's good, believe me! We did coding, design and photography for the game from zero to completion within 6 days.

Game development 2:
I haven been doing an offline installation for Suzuki. This jackpot installation was used at a 4x4 event in Brecht. Check out my test environment:

My collegue Bart doing a stresstest (look at him all stressed out...)


Second Life:
We have opened our own island, commissioned by our mother company Cronos, at Second Life and had a first event there with Radio1 and Boek.be:
http://slurl.com/secondlife/Cronos/152/157/34
Go there and watch streaming video's of presentations of books presented in a special package for 'De literaire lente'. I am very proud of our island and what we achieved there so far.





Silverlight:

I got my hands dirty on Silverlight

Internal stuff:
I've been working on our Subversion setup or at least I was mostly anoying my collegue Sven who actually did the setup. But we are on a roll now. I am so glad everything works fine now.

Yes, all of this in merely 13-15 days my friends...

More on all these things in following posts.

Respect!