Sprite Path Maker for my Stage3D game

While playing around with my shoot-em-up test for Stage3D I realised that I wanted my enemies to follow interesting and varied paths. And I wanted to create those paths visually. This is something I’ve needed in Flixel for a while actually, and although you can do it via the Flash IDE with motion guides, I knew I would eventually need more features, and also wanted to produce something that was free for all.

So I started playing around and this is the result of my first experiment. It’s only a few hours work (can you tell?!) but I think it’s going in the right direction. Drag the nodes around, press SPACE to toggle the sprite preview.

The data it generates is useless right now to you, but eventually once I add in the features I want I can release it all with a “playback” source bundle for standard AS3 and for Flixel games. Features I want include: chaining multiple paths together, being able to drop “pre-sets” in and build a path up entirely with these, allowing you to specify different speed and animation frames for path sections and maybe  easing across them.

So it’s super-early days, but I felt like sharing progress all the same :) you can follow the project on github. I’ll release my Stage3D shmup when I’m ready, but hopefully early next week. I’m trying to make it as “real game” as possible, so lots of enemies, a proper map, collision, sounds, all the things a real game has. I’ve been careful to keep texture dimensions low, so am hoping it won’t explode lower-end GPUs, but time will tell!

Posted on October 13th 2011 at 8:05 pm by .
View more posts in Experiments. Follow responses via the RSS 2.0 feed.


11 Responses

Leave a comment
  • Ryan Malm
    October 13th 2011 at 8:19 pm

    Are you rolling your own game engine for the shooter or making use of flixel and replacing the render code? Either way, looks great, looking forward to playing!

  • Anonymous
    October 13th 2011 at 9:16 pm

    Brilliant work as always. Looking forward to this. I would like somebody to create an easy way to make “bullet hells” in as3, though – with bullets drawing proper beautiful shapes. Haven’t found it yet.

  • October 13th 2011 at 9:55 pm

    Cool!
    Interested in trying BulletML? You can use it to generate enemies and bullet patterns.

  • October 13th 2011 at 10:08 pm

    Sorry, I meant CannonML (http://keim-at-si.blogspot.com/)

  • October 13th 2011 at 11:10 pm

    Ryan – For now I’m using my own and ND2D together. I fully intend to modify Flixel to replace the rendering with Stage3D, but that’s a big project and I don’t intend to start on it until next year. I still have a *lot* to learn about Open GL too!

    Abiyasa – have never heard of CannonML but looks very interesting, bookmarked and reading up on it now. Thanks for the heads-up.

  • Mr.RaT
    October 14th 2011 at 10:28 pm

    I think http://www.starling-framework.org/ is easiest way to go, if You want to bring GPU acceleration to flixel.

  • October 15th 2011 at 12:07 am

    Starling isn’t nearly fast enough yet. ND2D is a much quicker API, but I’d still rather carry on building my own. Then at least I know it’ll integrate properly.

  • October 15th 2011 at 9:59 am

    Hi very cool! Do you know the Grape Animation Library? Unfortunately it is not maintained anymore, but still interesting and inspiring :-)

    http://blog.generalrelativity.org/actionscript-30/grape-animation-library/
    http://blog.generalrelativity.org/actionscript-30/new-flash-animation-library/

  • edi
    October 15th 2011 at 12:24 pm

    hello.. nice work :) small mistake in code.. it does not change anything because it is start point only .. line 210 .. should be dummy.y = pathData.a.y; :)

  • October 16th 2011 at 8:58 am

    Can’t wait to see the final results of your work. As usual. =)

  • October 19th 2011 at 10:44 pm

    YES PLEASE. I would love this, especially since this is the exact problem I’m trying to resolve on my own shmup.

Make yourself heard