-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big changes for sprites. We generate a cache of textures for each emo…
…ji/image when creating the canvas. Trying to process the same pixels/vertices in a single frame render doesn't work, so we need to have the main `draw` function skip rendering squares with sprites, which need their own pass with the custom texture. We render each item type/texture in a separate pass from the main draw. Emojis are rendered in an HTML5 2D canvas, so the emoji image map is no longer needed, and they can no longer be referenced by name.
- Loading branch information
Showing
16 changed files
with
862 additions
and
3,921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.