Sprite sheets in RUBE?

General discussion about the R.U.B.E editor
Post Reply
skinwalker
Posts: 14
Joined: Sat Jun 21, 2014 1:19 pm

Sprite sheets in RUBE?

Post 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.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Sprite sheets in RUBE?

Post 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
skinwalker
Posts: 14
Joined: Sat Jun 21, 2014 1:19 pm

Re: Sprite sheets in RUBE?

Post by skinwalker »

Thanks I solved this :)
Post Reply