Hey everyone
I had a question, and it's to do with optimization and scaling at runtime.
Say I had a block 128x128 pixels, and it was a ground tile for jumping on. I would like to know which of the two below methods would use the least memory (thinking of a Canabalt style game):
creating a thin detector on the left and top edge (around 5 pixels)
or
creating a thin detector that goes all the way along the left edge , and scaling it across the whole 100 x 100 pixels at run time
I'm aware that it's better to use power of 2 images, but not sure how that affects things when you start scaling objects at runtime.
Thanks
Simflare








Reply With Quote







very helpful
