forked from mozilla/BrowserQuest
-
Notifications
You must be signed in to change notification settings - Fork 4
Sprites
OmeGak edited this page Aug 4, 2012
·
9 revisions
One of the first goals of this fork project is to adapt the previous graphics from BrowserQuest to resemble the science world we want to explore. In a later stage of development new sprites will probably be added.
Sprites come in three different sizes and these are separated in their folder.
- /client/img/1/: For mobile devices. Original sprite size.
- /client/img/2/: Browser common resolutions. x2 sprite size.
- /client/img/3/: Browser higher resolutions. x4 sprite size.
- /client/img/common/: Invariable size.
Animation of the sprites are stored in separated JSON files.
- /client/sprites/
We haven't found any tool to modify sprite files easily, so at the moment they have been customized with pixel-editors trying not to mess the animation. A workaround for minimizing the work on this task is to:
- Modify the x1 sprite file.
- Resize it to x2 and x4.
- Make sure nearest-neighbor resampling is applied and the resolution is 72px/inch.
Any suggestions on how to approach this more efficiently would be really appreciated.
A ZIP file with all original sprites can be downloaded from here: Original BrowserQuest sprites