Tag Archives: flash

ImpactJS Demo

I have recently begun tinkering with the ImpactJS framework. As a learning experiment, I am currently working on a recreation of sorts of the platformer demo (dubbed Control Alt Shift, for no reason whatsoever) I did in Flash quite some time ago. This is to get myself familiar with the ImpactJS framework as well as get myself more familiar with javascript. Once I get the functionality available in the flash version fully working in this one, I’ll post it for your viewing pleasure. In the meantime, here’s a screenshot for you to enjoy!

ImpactJS Demo
ImpactJS Demo

Bright light! Bright light!

I’ve added a page containing a few things that I’ve done utilizing Flash and Actionscript in the past. You can find them over on the Flash page at http://brandonivey.wordpress.com/flash/. Due to the fact that WordPress.com does not allow Flash files to be embedded or even be uploaded for that matter, I had to find an alternative. A friend of mine allowed me to use his web hosting to store my files and I just link to simple HTML pages that have the Flash files embedded on them. Now you can still enjoy them! Always good to have a Plan B!

Shoot ’em Up Tutorial – Part 1 is Ready!

SHMUP_WebTitle


The first part of the tutorial is now ready for your viewing. This part of the tutorial covers setting up the basic structure of the game, adding the player, adding an enemy, and letting the player shoot the enemy. Very basic so far, but there’s more to come. Stay tuned for part 2 where we’ll begin adding a little flair to our game.

SHMUP Flixel Tutorial in the works

The next tutorial I am preparing is going to be a replacement for my older extension of Andreas Zecher’s tutorial. There are two very important reasons as to why this tutorial must be redone: One, the original was not optimized, not programmed with speed in mind if you will; and two, I need the tutorial to be compatible with Flixel 2.5 so that there’s actually one available, which was also a problem after Flixel 2 was released… which is when I started learning Flixel. I don’t want others not having something up to date to learn from like I did.

Writing Up Tutorials

In order to give back to the community, I’ve begun writing up tutorials for Flixel (I’d done one in the past, which will be redone). I could think of no better place to start than the beginning. You can check out the Getting Started tutorial that will show you how to get FlashDevelop set up, where to get the Flex SDK and Flash Player Content Debugger, and make them play nice.

Next up will be a Hello World tutorial because you just HAVE to have one of those. Haha. I’ll be slowly adding more tutorials for your viewing pleasure so stay tuned.

Distractions: You Know You Love Them

The end of the year is almost here and distractions are a plenty. Well, distractions in my life are always a plenty, which is why I rarely post anything. A few weeks back, using the knowledge I’d gained from tinkering with Flixel, I started work on what is to become my first real game. I chose a simple (and quite overly populated) genre: the shoot ’em up.

The ground work of the game went together fairly quickly: Basic menus, player movement and firing, enemies spawning and attacking, damage and death, lives and game over, particle emitters for hits, the heads up display, and more.

I knew I had to optimize things a little bit or the game would eventually lag to complete halt. Rather than having new shots, enemies, emitters created over and over, which is a big no-no, I only have them created if absolutely necessary; dead sprites are recycled otherwise. This will help keep the memory usage lower and not lag the game so much.

Long story short though, I haven’t worked on it very much because of those distractions I was talking about. But I’m now back in action as of yesterday and am going to be working to get more of this game put together so that it can eventually see the light of day.

My next goal is to get the player’s weapon energy system implemented as well as other powerups,  like lives and ammo.

Tinkering with Flixel

Boy, it’s certainly been awhile since my last post. Here’s a quick update. I’ve been continuing my search for Flixel / Actionscript knowledge; reading forums, code snippets, etc, all the while compiling what I’ve learned into a simple platformer demo. Most of the graphics in it were created by me (except those coins), though the player is a placeholder (obviously). You can move around with the arrow keys and jump with X. Grab ledges simply by falling into them, and then press up to climb up or down to let go of the ledge. You can also climb on the ceilings by holding X. Hop on enemies to defeat them and grab the key to open the door.

I’ve been using DAME (Deadly Alien Map Editor – http://dambots.com/dame-editor/) by Charles Goatley to create the levels and the graphics were created using GraphicsGale (http://www.humanbalance.net/gale/us/). Yeah, there’s some problems, like the 2 levels being completely fresh when you enter them, but that’s just because the way I have it coded. Overall, I’ve learned a lot and will most certainly apply it to an actual project in the future. For now, check out the demo.

Platformer Demo

Starfield in the Tutorial

I found a code snippet for adding a starfield in Flixel and added it into the mix. The stars look great but not on a green colored background, so I had to change that to black, making everything else stand out like a sore thumb. So I’ve done a little palette reworking for the tutorial and I must say, it has improved the look of it 100 percent. Check it out.

F2TE3

Source available on Github