XOXCO makes community sites and web apps.
This was originally posted on our blog 420 days ago by Ben Brown.
★ Flixel
Oh great! Another super cool pixel programming framework just launched. There goes my weekend.
Flixel is a set of ActionScript classes that make creating games a lot easier. I just poked through the code for the sample game, and it looks brilliantly simple. I am very, very excited to play with this code.
Check out the code for doing collision detection between all the objects in your game! 4 lines!
//collisions with environment FlxBlock.collideArrays(_blocks,_bullets); FlxBlock.collideArrays(_blocks,_botBullets); FlxBlock.collideArrays(_blocks,_bots); FlxBlock.collideArray(_blocks,_player);
(Don't miss Gravity Hook and Fathom, also built using Flixel)
UPDATE: I spent some time hacking on the demo code and was able to create this: a version where you can draw the map with your mouse as you play. NEAT!
- Ben Brown, Jun 5, 2009
Thanks for reading our blog. There are some other blogs like ours at weeknotes.com.
And if you're interested in the same kinda stuff we are, we want to read your blog.
Send us an email so we can chat.
