Create destructible building

General discussion about the R.U.B.E editor
Post Reply
blakey87
Posts: 28
Joined: Wed Jan 09, 2013 7:57 pm

Create destructible building

Post by blakey87 »

Hi iForce,

Do you have any advice on how I could create a destructible building in R.U.B.E, Im hoping to make this building tall too
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Create destructible building

Post by iforce2d »

It depends what you mean by destructible, but assuming you mean to chop the building into pieces, I don't think RUBE can help much with this. It would be something that your game engine needs to do at run-time. There are a few tutorials around dealing with this topic, probably the best I have come across is on Emanuele's site here:

http://www.emanueleferonato.com/2011/06 ... ith-box2d/
http://www.emanueleferonato.com/2011/06 ... 2d-part-2/

The source code shown there is of course for Flash, but the concepts are all the same for any port of Box2D.
Post Reply