2013 - 2 - 5 / 7:16 am / tools
Asset Class Generator for Actionscript 3
The Reason
As I set forth to try and jam out the rest of this metroidvania game before GDC 2013, I've been trying to think of ways to make content generation as fast as possible. One of the big hurdles that I run into with AS3 when making a lot of content is constantly having to embed assets into the code. FlashDevelop makes this incredibly easy though. Right click a file, click generate embed, and there you go. However this still takes a lot of time when I'm talking about a game that is going to have nearly a hundred level files and who knows how many image assets, and I'm constantly switching assets around.
After a quick consultation with Twitter I got a crash course on Python and spent a couple hours making assetGenerator.py.
Download!
Download assetGenerator.py 1.0, along with an example project right here. You can also just view the code. All the files in the example project are blank files just to use as an example, and keep the download size tiny. Here's an example of the code it spits out. If you want to know more, then read the rest of the post!
read more
about
Hi there, my name is Kyle, and I'm a 27 year old kid with adult powers. I'm making video games and living the indie game developer life in Tempe, Arizona. Here you will find my thoughts, games, websites, doodles, and other stuff like that. I worked on Snapshot, Offspring Fling, and a whole bunch of other games. If you want to get a hold of me use the form on the bottom of the page, leave a comment, or just tweet at me. I try to post three times a week. Thanks for stoppin' by!
spotlight
blog stuff
categories
tags
- actionscript
- air
- alec holowka
- art
- artxgame
- as3
- bill pullman
- blog
- csharp
- depict1
- design
- dev log
- devlog
- diet
- doodles
- flash
- flashdevelop
- flashpunk
- food
- game jam
- gamedev
- gdc
- good times
- haxe
- haxepunk
- id4
- igh
- internet
- ios
- jottobots
- namiko
- ninja slash
- nme
- offspring fling
- paleo
- pax
- pax10
- php
- pipa
- podcast
- programming
- promotion
- python
- sfml
- snapshot
- sopa
- space sushi
- speedrun
- steam
- sushi
- tools
- uat
- verge
- webdev
- winnitron
- yay!
archives
- may 2013 (10)
- april 2013 (15)
- march 2013 (13)
- february 2013 (15)
- january 2013 (3)
- december 2012 (1)
- november 2012 (2)
- october 2012 (1)
- september 2012 (4)
- august 2012 (1)
- july 2012 (1)
- may 2012 (1)
- april 2012 (1)
- march 2012 (1)
- february 2012 (1)
- january 2012 (1)
- november 2011 (2)
- september 2011 (1)
- july 2011 (1)
- june 2011 (1)
- may 2011 (1)
- april 2011 (2)
- march 2011 (4)
- february 2011 (4)