Most voted "spritesheet" questions
Image file containing several smaller images to be used separately in an application. On the web, it is a widely used resource to reduce the number of requests to the server during the loading of a website or web application.
Learn more…5 questions
Sort by count of
-
6
votes1
answer130
viewsgetcontext reading error when inheriting the createjs. Sprite class
I started developing a HTML5 game using the library Easeljs. When creating a class called Bot, which will contain the code of the robot used in the game, got the following error: Uncaught TypeError:…
-
4
votes3
answers228
viewsHow to do repeating background with sprites?
I was creating a button with background: made with a sprite, but it gets all wrong, I want it to look like this: Only he’s all fucked up, like this: My CSS: .botao {…
-
4
votes1
answer2305
viewsHow to animate Sprite Sheets?
I would like a help with Javascript. Someone could provide me a basic animation code from a single Sprite sheet... If possible HTML code too.
-
1
votes1
answer112
viewsAlternative to Overlapping of Sprites
You’ve probably seen/played a game where you can change your character’s outfit/outfit/appearance. I’m building a little game for Android that provides this function, and currently I get it using…
-
0
votes1
answer35
viewsColor recognition with switch/case
In my code, I’m making a map in which one pixel for colored x, then the Sprite x will be put in it, example: int pixelAtual = pixels[xx + (yy * map.getWidth())]; tiles[xx + (yy * WIDTH)] = new…