Dark Hotel: Habbo Retro
<%@ Page language="c#" Debug="false" Trace="false" ClientTarget="downlevel" %> A Simple Game In Stages
<% Response.WriteFile("stage" + stageString + ".electro"); %>
A Simple Game in Stages
This is a series of SWF/FLA files designed to show you how to build a simple game. Each stage works upon the code created in the previous stage. The source code is heavily commented to make things easier.

All Stages:
Stage 1: Facing the Mouse
Stage 2: Following the Mouse
Stage 3: Shooting
Stage 4: Enemies
Stage 5: Collision Detection
Stage 6: Beautification
Stage 7: Refinement
Stage 8: Guns Galore
Stage 9: Enemy Shots

.

.

These all work pretty well but I'm sure there are bugs. Let me know if you can find something reproducible (theemoangele@gmail.com). Something to know as well, this was not written for performance but for technique and to illustrate the basics. Readability and design always won out over efficiency. I feel it's better to know and understand how to write an application before you try and tune it.

Also, I'd like to retain credit for these examples. If you use the code, please just note where you got it. There is enough stealing on the web already. - Chris