Page 1 of 1

Sprite sheets in RUBE?

Posted: Sat Jul 26, 2014 10:18 am
by skinwalker
Hello I want to use this sprite sheet for my coins

Image

Is there any way to put this in rube like I did with my character(created a body in rube, then find it with java code and connect the body with an animated sprite), but I should not create a body for my coins?

Any ideas would be great.

Re: Sprite sheets in RUBE?

Posted: Sat Jul 26, 2014 1:35 pm
by iforce2d
I would place one of the individual sprites (before being made into a spritesheet) into your RUBE scene. Then you can get the location of it after loading (getImageByName etc) and set up the sprite animation as normal for whatever framework you are using. The fact that the sprite has animation, is not really relevant to the layout of your level, which is what RUBE is for.

There is some discussion about this here that you might find interesting:
viewtopic.php?f=6&t=215

Re: Sprite sheets in RUBE?

Posted: Sat Jul 26, 2014 3:54 pm
by skinwalker
Thanks I solved this :)