Category : canvas

I am working on a game, and for that, I am trying to create a scoreboard. Right now, I have a canvas with the gameplay and want to make a second canvas to track scores. I have a few questions. First, is this possible? If so, how? I have not attempted yet, but I imagine ..

Read more

I am creating rotating planets by projecting a 200×100 bitmap on a sphere. Since this projection is costly for an animation, I hacked an array with value-pairs ["pixel address in sphere projection image", "what pixels of original bitmap goes to that address"]. To just transfer them quickly with no math. I end up with 16008 ..

Read more