![]() ![]() Cube and axial are basically the same so I’m not going to bother implementing a separate axial system, and I’ll reuse Hex. For some games I want to show coordinates to the player, and those will probably not be cube, but instead axial or offset, so I’ll need a data structure for the player-visible coordinate system, as well as functions for converting back and forth.Since most of the algorithms work with cube coordinates, I’ll need a data structure for cube coordinates, along with algorithms that work with them.The first thing to think about is what the core concepts will be. Now let’s write a library to handle hex grids. ![]() The main page covers the theory for hex grid algorithms and math. ![]() The data structures and functions here implement the math and algorithms described on that page. Their unique option is to swim to the Island and fight for their lives.Note: this article is a companion guide to my guide to hex grids. The last hidden military and scientists from the Island stole the ships by strenght, and throw the survivors into the water to save food. A few years later, the humanity was not extinguished yet : A few cargoships successfully survive by never coming back on ground. The virus has spread out, and military forces failed to contain the virus. Once their friends found out that the family was very sick, they reported them and doctors forced them to go to the local Hospital. A medical analysis was required to enter the island, but selfish and irresponsible, they brought fake documents. The island became the last hope of the humanity to survive However, a rich family was sick and they did not want to verify their disease, but they knew it. They searched, and found out a recent Island wich became larger and larger due to an very active volcano. Seeing the population going down, before it’s too late, the richest people and the governement found out that the only solution was to move away to a safe place where the virus could not make it’s way, a place where human never came to previously. The virus seems to affect only humans at this time. Scientists discovered a new virus wich survive to all conditions, mutate fast, and difficult to cure. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |