Wow that terrain generator is awesome
I made a game similar to that for the One button competition.
http://www.coorrae.com/artillery/artillery.zip
I just used ReadPixel for collisions. What you can do instead of having a binary mask for collision, is you can have the foreground be a seperate image from the background, and test if there is a pixel on the foreground's imagebuffer.
Using tiles would be ideal if the terrain weren't destructable or if you wanted a larger level though.
I made a game similar to that for the One button competition.
http://www.coorrae.com/artillery/artillery.zip
I just used ReadPixel for collisions. What you can do instead of having a binary mask for collision, is you can have the foreground be a seperate image from the background, and test if there is a pixel on the foreground's imagebuffer.
Using tiles would be ideal if the terrain weren't destructable or if you wanted a larger level though.