Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

odd tabulation characters?

A topic by Ulhar created Dec 15, 2020 Views: 182
Viewing posts 1 to 1

Some time ago, I tried using Left to write some dialogue for my game. Eventually I noticed that the tabulation I placed in Left wasn’t being included in the whitespace pattern, and was resulting in some weird bugs. It turned out the tabulation was being represented by a character that I’m not particularly familiar with - its codepoint is 10. While I could tweak my game’s code to account for this, it seemed less than ideal. Anyway, is there a particular reason Left uses codepoint 10 to represent tabulation? (After messing with the code a bit, it wasn’t very hard to switch it to standard tabulation. I could submit a pull request to implement this change, if you’d like.)