Questions tagged as 'spritesheet'

1
answer

Error reading 'getContext' when inheriting class 'createjs.Sprite'

I started developing an HTML5 game using the EaselJS library. When creating a class called Bot , which will contain the code of the robot used in the game, I get the following error: Uncaught TypeError: Cannot read property 'getContext...
asked by 11.01.2014 / 17:29
3
answers

How to make background that repeats with sprites?

I was creating a button with background: done with a sprite , however, it all goes wrong, I want it to look like this: But it's all bugged, like this: MyCSS:.botao{background:url(http://testetabela.esy.es/botoes.png)00;col...
asked by 04.05.2014 / 05:23
1
answer

How to animate sprite sheets?

I'd like some help with JavaScript. Could anyone provide me with a basic animation code for a single sprite sheet ... If possible the HTML code as well.     
asked by 03.07.2016 / 18:27
1
answer

Alternative to Sprites Overlapping

You've probably seen / played some game where you could change your character's outfit / clothing / appearance. I'm building a little Android game that offers this feature, and I currently get that using the Overlapping technique of sprites,...
asked by 02.05.2017 / 20:02