💾 Archived View for whitemercury.ddns.net › offsethell.gmi captured on 2023-03-20 at 17:23:31. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I've made some games on a number of different platforms and I end up with what I'm going to call, "offset hell".
I have several things. I have a multi-screen map, a viewing window on that map (the "camera"), a player sprite, some enemy sprites, some "bullets". Some things are described in "cells" (ie the screen is 30x17 cells, a sprite is one cell in size). Some things are described in pixels (ie the screen is 240x136 pixels, a sprite is 8x8).
And I have to:
There just seems to be too many unit conversions and offset calculating. And I spend so much time just calculating this that I get bogged down and give up.
--------------------------------------------------------------------------------
This file is located at URL:
gemini://whitemercury.ddns.net/offsethell.gmi