olange / arcade

A distributed arcade game and mashup of a few delighful arcade games from the eighties — including restoration of an original Pacman Arcade Cocktail table (Karateco 1984)
https://d-arcade.app
Apache License 2.0
1 stars 1 forks source link

Coordinate systems for ‹game world› and ‹game boards› #17

Open olange opened 3 years ago

olange commented 3 years ago

As a developer, I'd like to know how to name and locate «the things» of the game, so that we can talk to each other 😸 about things, that would not be just things anymore.

More precisely: choose terms to designate the parts of our ‹world space›, ‹screen space›, ‹game world› and ‹game boards› (we have coined four terms!); describe the topologies of the ‹world space› (spherical/‹lat,long,alt›), ‹screen space› (2D/pixels), ‹game world› (flat or spherical? circular? surface or volume?) and the ‹game boards› (hexgrids, but why?); and choose coordinate systems, matching each topology. Explain how the ‹World Space› is partitioned in a ‹Game World›; and how the later is partitioned in ‹Game Boards›. Choose tuples of letters, to designate components of coordinates.

Actions

Documents

Reference articles

olange commented 3 years ago

Location of origin game board

Location of origin game board in the game world — just to get started playing with those coordinates:

$ brew install h3
$ geoToH3 --resolution 15 --latitude 46.1856616 --longitude 6.1579908
8f1f91ad1b84456

Reference articles: