mikecann / mikecann.co.uk

next-mikecann
next-mikecann.vercel.app
2 stars 0 forks source link

A lil AS3 Performance Testing #37

Open mikecann opened 1 year ago

mikecann commented 1 year ago

A lil AS3 Performance Testing

http://mikecann.co.uk/flash/a-lil-as3-performance-testing/

mikecann commented 1 year ago

imported Disqus comment by 'djperegrine' @2008-08-16 01:41:16_

I am making a game with destructible terrain, I was going to make the same test, thanks for saving me time !

I actually figured out a way so you don't need to store nearly as much data, you can just store the numbers when the bitmap goes from alpha to not alpha; however the downside is when you edit the terrain you have to reread the pixels for the entire length of the bitmap and width of the hole you made(well there is probably a better way ).