We need an in game Character Editor for customization
Posting in epic thread before itās an epic thread.
I remember some of the old Dragonball Z games did the same, if you were far enough apart the character was little more than a dot, seemed to work pretty well for them. Not sure how well it would cope with 4 players, but i guess you could have it zoom in to the closest alive player.
Sorry for the delay, I got super busy the past week and didnāt have any time to work on it.
Here is the zooming demo, all tidied up.
That is incredible, Atomic! The members of this community blow my mind all the time! I definitely wouldnāt mind making a larger version of Robo to include him.
Hey Atomic,
To ensure your example is easy to find and stays around a while I put your code in a Gist. I gave credit to your nome de plume āAtomicā. Let me know if you would like this changed or taken down.
The code and last video have also been included in the latest blog post.
If thatās right that is pretty amazing. The scaling method being used here is simple and straightforward - and to boot itās using drawPixel (a sure recipe for slowness). Thatās just to say there is still a ton of room for optimization here. The smaller the sprite gets the faster it could be⦠right now the entire sprite is still drawn pixel by pixel, even if all the pixels are been smashed into a single pixel.
Of course one could argue the rendering a 1x1 or 2x2 could possibly be reduced to a simple single drawPixel or drawRect (2x2) operation without even considering the content of the sprite.
Very cool though.
That demo is impressive, great work!
Hahaha, Love the Nyan cats!
Is it just me or does drawScaledBitmap rotate the Bitmap 90°?
Yep it definitely does.
It expects the data to be encoded differently because itās x/y looping is reversed. Itād be an easy enough fix to fix the looping if youāre using graphics that are cut to work with any of the ānormalā rendering methods.