Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Here's what I mean:
- 1. loadPNGimage
- 2. convert PNG to array (color/index = tileID(int 0-255?), e.g. Grass = 0)
- 3. update array
- 4. onExitProgram() { save array as PNG }
- A png could be 1024 and consist of 4x4 chunks of 64 tiles.
Advertisement
Add Comment
Please, Sign In to add comment