Community, Flash, Haxe, Speaking

Video – MatterHaxe session at WhyMCA 2012

Here are the slides

and there’s the video!

[vimeoΒ 43464711]

enjoy πŸ˜‰

ps: talk in italian

ActionScript 3, Community, Speaking, Tutorials, Uncategorized

FlashCamp Milan 2011 – Garbage Collection in the Flash Platform

This post is to summarize my session at the FlashCamp.

Here’s the preso: (italian only)

and here are the examples shown during the session:

Garbage collector in action:
this example shows the memory allocation behavior. Take a look to the saw tooth yellow line in the graph.

Weak vs Strong references:
two examples to show the difference between weak and strong references: basically weak do not increment reference count, strong do that.
If you store keys in a dictionary using weak references your keys are getting cleaned by the garbage collector ( example )
otherwise the GC doesn’t clean your keys ( example ).

Blitting in order to ease the GC:
The GC iterates through each reachable node starting from the roots, one of these roots is the displaylist. So in order to ease the GC work we could flatten the whole displaylist to one bitmap by leveraging the usage of the blitting technique.
These examples display about 1000 new objects drawn each frame by using the display list ( example ) or the blitting technique ( example ). The difference in performances are not only due to the different compositing techniques (built in compositing when using the displaylist VS manual compositing when using the blitting technique ) but also to the lower number of instances to be collected by the GC.

NOTE: both examples are very cpu intensive

Don’t let the GC start by using the memory pool technique:
The GC freezes the program when freeing the memory. The memory pool technique consists in reusing the instances of your objects preventing the GC to identify those objects as garbage.
This makes your app memory utilization stable (a straight yellow line ) and removes every glitch due to the garbage collection.
These examples show a simple particle fountain implemented by leveraging the memory pool technique ( example ) or not ( example ).

here’s the source, it’s not the best commented nor the best implemented files out there, but just take a look at them to have a full comprehension of what’s going on πŸ˜‰

If you need further help, please comment this post and let me know.

PS: obviously mario copyright is property of nintendo πŸ™‚

ActionScript 3, Community, Flash, Speaking, Uncategorized

Flash Camp Milano 2011 – the day after

Yesterday it has been a great day!
Yesterday we had the FlashCamp here in Milan, hosted by WhyMCA mobile conference (thanks guys).

Flash Camp at WhyMCA

Lots of fun, lots of people (450 nerds) from the most different beliefs (html5ers, javascripters, objective-Cers, androiders, whateverers :)), a great happening to spread the word about what you can do with the flash platform and how it can ease your work when deploying on mobile devices.
Thanks to Adobe we even had a welcome guest: Mihai Corlan, who presented very cool new stuff putting his hands on Flex Builder 4.5 and the Flex Hero SDK.
Moreover it has been totally the best possible way to meet other people from the community of Milan, TheFlashMind, and to spread the word about our cool AUG πŸ™‚

I really enjoyed the FlashCamp, it has been a pretty unique conference in Italy and it has been even more successful than we expected.
As the camp was in “Eataly” we had an Eatalian FlashCamp party at the end, a cool way to make developers meet each other and to make them drunk πŸ™‚
Someone even twitted that it was the best part of the FlashCamp in Milan πŸ™‚

Last but not least: my friend Luca already uploaded some pics to his flickr account.

See you at the next camp πŸ˜‰

3D, ActionScript 3, Community, Flash Player 10, Speaking, Tutorials

Flash Graphics Unleashed at WebTech

As my previous post was announcing, cancelling and reannouncing, I’m speaking at WebTech Conference here in Milan.
Here’s my presentation slides

And here’s the examples zip:
If you need something to be more clear or some further explanation please feel free to comment this post πŸ™‚

Community, Flash, Javascript, News, Speaking

Speaking at WebTechCon Italy – 9-10 November 2010 – Milano

I’ll be speaking πŸ™‚
The session will be “Flash graphics unleashed”. 30 mins to dig into flash graphics capabilities.
See you there

Some work appointments came through and I’ll not be able to be back for WebTech :
But don’t worry! there’s a HUUUUGE “replacement”, Sandro Ducceschi from SFUG has took over my slots! πŸ™‚
so guys, have fun, I’ll be there with my soul πŸ™‚

Yup, back on stage πŸ™‚

I’ll be speaker at WebTechCon Italy, it’s the first year for this German conference in Italy and there are a HUGE amount of good reasons for you to come.

First of all it’s not all about flash!! There are 5 main tracks: webtech, flash day, silverlight day, javascript day and php4 frontend day… yes, “day” is not to be intended as “whole day” but much more as “track”.

It’s a good opportunity to put an eye on what’s going on on the html5 or silverlight fields and learn something new.

On the flashy side there are a bunch of well known and surely attractive speakers:

Luca Mezzalira ,Andrea Trento ,Marco Casario …I’m sure you all know what those guys are known for… then… well…. there’s me πŸ˜€

Further, it’s a good way to meet other guys from TheFlashMind AUG πŸ˜‰

I’ll be speaking twice on flash graphics and pureMVC.

Be sure you buy a ticket and come, one month’s left, then… rock n roll

Community, Flash, Speaking

Speaking at IGDA Switzerland 25th february 2010

I’ll be speaking at IGDA Switzerland in Bern in few weeks,
Piergiorgio Niero IGDA Switzerland
a great opportunity for me to talk about the Flash Platform as a gaming platform, to share the experience I had making the engine of Wazzamba and to meet new people I only “met” in twitter or in their blogs πŸ™‚

The meeting will take place in february 25th at “Nothing” (great name guys ;)) hq in Wabern, you can find more info here in IGDA Switzerland blog.
See you there πŸ˜‰