Category: AS3
-
Prologue — still can’t beat the deadline
Sorry world, the prologue will have to wait. Still squashing some bugs and adding more features (feature creep alert!) I’m going home for a few days and my hometown is poor so I won’t have internets there. Anyway here’s a screenshot of people laughing at my failure to meet a deadline:
-
A game about being in an office.. of ninjas!!
What could be cooler than working in an office of ninjas? Actually making a game about it! **Disclaimer: Any similarity to a real office is purely coincidental. ** Tilesets by Silviera Neto (the rest I did myself) Uses the Tiled Map Editor and Pushbutton Engine.
-
Getting to know the Tiled map editor
I came across this tutorial on parsing .tmx maps into AS3. While I find it useful enough to get me started there are still other parts I had to figure out myself. Using multiple tilesets When using multiple tilesets additional <tileset> nodes are added to the .tmx file. This means we need to register listeners…
-
Game of Life in AS3
5k GoL – wonderfl build flash online My entry for the Phlashers 5kb Code as Art contest. It’s a Game Of Life implementation written in less than 5kb lines of code. Click on cells to toggle. Press any key to play/pause the simulation.
-
1st in game screen shot
(This is the compromise I have to do for eschewing pixel art while keeping the project schedule realistic)
-
Jollibug now with parallax
My friend is making a game called Jollibug. He made it during the Global Game Jam. It isn’t about a certain fastfood mascot — although I personally believe otherwise. He forced me at gunpoint to upload some updates of his game in my blog. He said he put some parallaxing on the layered backgrounds now. He…
-
How to use flashvars in as3
I use flashvars heavily to create customizable swfs. After some time I got tired of copy pasting my code and found this: [as3] function getFlashVars():Object { return Object(LoaderInfo(this.loaderInfo).parameters); } [/as3] I only need to call this method (which returns an object) and chain it with the flashvar I want. This only works on timeline code…
-
How to use dynamic fonts on html using AS3
Challenge: Most designers find themselves worrying about cross-browser compatibility. Most of the time, they have to work with a limited choice of fonts. What if you want to do something flashy, like this: http://us.blizzard.com/en-us/company/ Notice the gradient and the drop shadow in the “Company” header. It’s done in flash. And since it’s Blizzard, I assume it…
-
How to embed fonts properly in AS3
Best practice for embedding fonts in AS3. Fonts can be embedded using the Flex metadata “Embed”. For example, if you want to embed the font named Arial (this should be the system font located in FontBook or the Fonts folder) [as3] [Embed(systemFont="Arial", fontName="Arial", mimeType="application/x-font", unicodeRange="U+0041-U+0054")] var arial:Class; Font.registerFont(arial); [/as3] systemFont: looks for the current system…
-
Quitz Quiz Post Mortem
I was commissioned to create an interactive quiz game in flash. “Quitz Quiz” is a quiz game for an anti-smoking campaign. The project was supposed to last for 1 week, it was delayed to 2, and finally got the pay 3 weeks after that. What Went Wrong Asking Price. Inexperienced at this kind of business,…