Wednesday, December 29, 2010
Skinning in Spark - how to get the default skin?
Flex 4 introduced Spark components skinning - very powerful but at the same time quite overwhelming capability. I think the best idea is to edit default component skin instead of creating your own from the scratch. The big question is - how can you get this default skin?
Labels:
Flex,
Spark Skinning
Thursday, December 23, 2010
Object Pooling in Flixel
When I started to write my first game called Infinite Shooter I didn't realise that when you destroy an object in Flixel engine (using kill() function) it doesn't really disappear - it just "hang in the nowhere", still existing in allocated memory. Because of that after a few minutes of gameplay, when many planes arrived on and left the screen, I had a huge memory leak. Solution for that is making an object pool, where you can reuse killed objects and make a new ones from them. How can you achieve that in Flixel engine?
Labels:
Code Snippet,
Flixel
Thursday, December 16, 2010
First Post & First Project
This is my first post so I would like to welcome every stranger who stumbled upon this blog!
My purpose is to write about programming in Actionscript 3.0. I started to code in it about 3 years ago. First I made some projects for my university studies, but now I write Flash applications in my current job. I will show you some code snippets and solutions to problems (or, better to say, challenges) that I spotted and will spot during my work as a Flash developer. I would like also to share some thoughts on Flash Platform and of course show you my finished projects!
My purpose is to write about programming in Actionscript 3.0. I started to code in it about 3 years ago. First I made some projects for my university studies, but now I write Flash applications in my current job. I will show you some code snippets and solutions to problems (or, better to say, challenges) that I spotted and will spot during my work as a Flash developer. I would like also to share some thoughts on Flash Platform and of course show you my finished projects!
Labels:
Flixel
Subscribe to:
Posts (Atom)