itch.io is community of indie game creators and players

Devlogs

Performance boost and Map Textures

The Battle of Fell Desert
A browser game made in HTML5

Finally fixed the crash bug. And I can add textured map sprites, too.


Before this update, running this game on Firefox would crash after about 20 minutes. Chrome wouldn't crash but instead would play at around 15 fps. Turns out drawing all of those hexagonal tiles are CPU intensive and the browsers can't keep up.

Each terrain type now uses an image. Turns out drawing an image is much less intense. And it looks nice as long as you line up the seams correctly.

Files

  • torrins-trial.zip 1.9 MB
    May 28, 2024
Leave a comment