Stroep

Just a collection of random works – Mark Knol

Most flashcoders knows you can draw lines using graphics.lineTo. There is another way of drawing lines in actionscript, using the graphics.drawPath and graphics.drawGraphicsData function. Let’s take a look at it.

Optimized loops (12)

July 17th, 2011, under actionscript.

Optimized loopsEvery one should write code that performs well. Do you use loops in your code? This is a simple trick everyone could apply to his loops.

I am really impressed by all molehill demos which already build. Molehill is the codename for GPU-accelerated rendering for flash. Read more about M2D and how to use Molehill in FlashDevelop and get more rendering powers.

While working on a game, I created a function spawner. The idea was to make a function which would call a function like createEnemy() a hundred times with an interval. So I quickly created a static function. Read the full post to see that the setTimeout function should be handled with care.

Quick post for all FlashDevelop and flashflowfactory users. I have created a projectfile and templates for flashdevelop.

This article is some training for your JavaScript skills. I love Actionscript , and I am also starting to like JavaScript. HTML5 is an hot topic today, and it seems using JavaScript is an important part of it, so why not learn more of it?

I hope 2011 will be a successful year! This post is mostly targeting to developers who like to dive deeper into actionscript and are searching for a another way to start a project.