Latest Posts
-
My .net magazine “Build a Retro game in Flixel” article is now out
20th Jun 2011.net magazine is apparently the “world’s best-selling magazine for web designers” which may be of little interest to game developers reading this, however issue 217 just hit the news stands and it contains Part 1 of my article on building an 8-bit inspired retro platformer in flixel 🙂
The article starts from ground zero and builds up, covering sprite sheets, tile maps, cameras and collision. Written for almost total beginners, with lots of well commented source code (available as a download) to accompany, Â it should serve as a gentle introduction to flash game dev. I will post the article on my blog eventually, but not for a couple of months. So if you’d like to see it earlier take a wander into your local newsagents, or you should be able to buy the issue online from the .net site. Part 2 will appear in issue 218 (September 2011)
-
Flixel Power Tools v1.7 – Kaboom!
16th Jun 2011It’s been a month in development but it’s finally here – Version 1.7 of the Flixel Power Tools has now gone from dev to master – and I urge you all to give it a play! I have also re-organised my site so that the tools and all sub-classes are now easily accessible from the right-hand side bar. More info, more screen shots, less scrolling 🙂
V1.7 includes a brand new Demo Suite system (don’t forget to try the Credits button 🙂 ). It’s now easier and quicker to get to the examples, which is just as well as we’ve over 60 of them in this release. Don’t forget to download the whole package from github, as it includes a Getting Started manual PDF, the full source code to all of the demos, all of the graphical and audio assets (warning: copyright, don’t use commercially!), as well as the tools themselves.
There are some great new tools and updates to nearly everything. FlxHealthBar is gone, replaced with the much more versatile FlxBar. This new bar can be used for anything, from progress meters to sprite health. It can fill in one of 8 different directions, can be hooked to a parent sprite  and monitor any value of that sprite – in short it doesn’t have to be just a health bar any longer.
The biggest new addition is FlxWeapon. A comprehensive weapon manager for games. It handles creation, pooling and re-use of bullets and a heck of a lot more. Angled bullets, sounds, callbacks, fire at the mouse, fire from the mouse, fire from a parent sprite, fire from a fixed position, bullet speeds, firing rates and more! Combined with FlxControl this is a ninja combo.
FlxVelocity has been updated with lots of new functions: moveTowardsPoint, distanceToPoint, angleBetweenPoint, velocityFromAngle, accelerateTowardsObject, accelerateTowardsMouse and accelerateTowardsPoint. And FlxControl now supports rotation, thrusting and reversing.
Basically you can make an asteroids style ship movement in a couple lines of code 🙂 Of course I couldn’t resist adding some new Special FX including Blur, Center Slide and Sine Wave. Enjoy!
-
DAME 2 Released – My Favourite Game Map Editor!
2nd Jun 2011Although I’ve been beta testing this for a while now, Charles Goatley today officially released DAME 2. I first started using DAME back in September 2010 when the first version was released on the Flixel forums, and it has gone from strength to strength since then. Charles has done a wonderful job keeping on-top of bug reports and dealing with feature requests, and v2 is easily the single biggest update yet.
DAME is a traditional 2D Tile Map Editor running on Adobe AIR, which means it works across Windows, Mac and Linux. The map editing view is generated with Flixel, so if you use it for a Flixel game you know it’s going to look exactly the same as it does in the editor. It has a comprehensive export system and custom scripts can be written in Lua. From simple CSV or XML data to writing out fully blown AS3 classes.
Version 2 brings interface refinements and a lot of new map building tools to the table, including:
- Certain windows (tile palette, sprites, layers and properties windows) are now dockable.
- Isometric tilemap support – support for diamond, staggered diamond and skewed. Tile matrix and brushes all still work as expected with these layer types.
- Tiles can be stacked on top of each other.
- Improved visuals for selected tiles.
- Improvements to drawing on tilemaps.
- Can draw lines on tilemaps.
- Flood fill for tilemaps.
- Can select, move and scale regions in tile drawing mode.
- Can copy and paste in tile drawing mode.
- Right click when drawing brings up context menu.
- New configurable 16 colour palette for drawing.
- Tiles can be animated.
- Can have per tile properties.
- Can repeat tilemaps on individual axes.
- Can use any system font for text boxes.
- Can use bitmap fonts for text boxes.
- Increased undo history.
- New Sprite Trails – automatically populate a path with a series of sprites.
- Sprites can be automatically sorted for depth.
- Sprites can use a Z value for height placement.
- All object layers can be aligned with an isometric tilemap layer to allow exported positions to be relative to the tilemap’s ‘real’ coordinate system.
- Aligned shapes on shape layers will rotate/skew to fit the tilemap shapes.
- Can change the frame for any sprite to be different from the sprite entry.
- Tile sprites are now spritesheets – can scale and translate the image within.
- Can rip an image to create a tilemap layer and tileset.
- Choice of themes for DAME.
- Importing dam projects with sprites improved to find pre-existing matches in current project.
- Can save sprite entry lists separate to a .dam project as a .dsf (DAME Sprite File), allowing you to have multiple sharing one list of sprites.
- Can move an entire group in real-time.
- More of the session is saved in a .dam file allowing you to resume editing where you left off much easier.
- Tiles now preview in tilemap layer properties window.
- Can gives shapes different colours.
DAME isn’t just for Flixel. There are FlashPunk exporters included, and the CSV/XML export makes it easy to use in languages other than AS3. I create all my game maps with this program and look forward to making even more with v2.
Download from http://dambots.com/dame-editor/
More posts to tickle your grey matter ...
- Phaser Coding Tips 5
- Phaser Coding Tips 4
- Phaser 3 Development Log - w/e 30 Jan
- Phaser Coding Tips 3
- Phaser 3 Development Log - w/e 16th Jan
- Phaser Coding Tips 2
- Phaser Coding Tips 1
- Phaser v2.1.3 and Pixi v2 are out!
- Welcome to the DarkForge - An archive of all my old DarkBASIC code
- Phaser goes to the movies
Hire Us
All about Photon Storm and our
HTML5 game development services
Recent Posts
OurGames
Filter our Content
- ActionScript3
- Art
- Cool Links
- Demoscene
- Flash Game Dev Tips
- Game Development
- Gaming
- Geek Shopping
- HTML5
- In the Media
- Phaser
- Phaser 3
- Projects
Brain Food