Posts Tagged ‘Flash’

Social Flash games on Facebook

Saturday, March 5th, 2011

I got interviewed by Nisse Bryngfors about developing social games with Flash on Facebook.

Intervju om Facebook, spel och Flash

It’s in Swedish but perhaps Google Translate can help you English readers.

Original Swedish link:

Dr Discovery

Tuesday, March 1st, 2011

My entry in LudumDare # 19

Click to play

Experimenting With Water

Tuesday, March 1st, 2011

I loved the game Flood when I was a kid and some time ago I thought I should do something with water so here is an experiment. You can for example build up pressure and then release it.

The Game

Click to play!

This was also my first attempt at implementing behaviors opposed to hierarchical class inheritance for game objects. I like the idea of behaviors.

Pixel Bender Differences

Friday, February 11th, 2011

I’ve been using Pixel Bender for some projects of mine (SquishFilter, Voxel Renderer). It’s been quite fun to write the pixel bender scripts, but the flash implementation is crippled (no functions, no loop constructs) and behaves diffrent than the gpu and cpu implementations on windows atleast. I’ve found two things:

First: normalize( float2 ) is not giving the same results in flash as gpu/cpu versions. In the flash version I had to replace the function with float2 / length(float2)

I wanted to set the alpha of a pixel4. when the color was pure green (0.,1.,0.) alpha could be set to anything. but when I sat the color to (0.2, 1.0, 0.2) and the alpha to something low as 0.3, the color got gray. What’s up with that?

Also, check this out:
Some Flash Pixel Bender performance tips + benchmarks