Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You'll need to choose an approach for storing your numbers in multiple bytes. There are various tradeoffs to consider for density vs. ease and speed of arithmetic vs. ease and speed of display. If you store a large number as a single digit per byte it will be quite easy to draw the digits, but e.g. incrementing or adding to that number will be more expensive than if you store two digits per byte.

See also: How Do I Display a Number?