1 decade ago by KirbySaysHi
Well, it's a year later, and I finally got around to writing up how we converted photos to impact levels! With code samples and everything!
http://kirbysayshi.com/2012/09/28/team-drainvalve-gamehackday-photos-become-impactjs-levels.html
There were two phases:
1) dividing the photo into tiles and analyzing the pixels in each tile to determine if the majority of it was "solid" or not
2) Getting impact to load a dynamically generated level
I go into much greater detail in the post itself, but I'll try to keep an eye on this thread for questions.
http://kirbysayshi.com/2012/09/28/team-drainvalve-gamehackday-photos-become-impactjs-levels.html
There were two phases:
1) dividing the photo into tiles and analyzing the pixels in each tile to determine if the majority of it was "solid" or not
2) Getting impact to load a dynamically generated level
I go into much greater detail in the post itself, but I'll try to keep an eye on this thread for questions.