Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breaking floor
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#4
RE: Breaking floor

You should be able to use wooden_boards_block to make the bridge. You'll want to also put inactive wooden_boards_block_broken in the same spot. All you need to do then is have a collide callback set up (AddEntityCollideCallback) with a few areas. Have these callbacks trigger SetEntityActive(Set the regular boards inactive and the broken ones active) You can use CreateParticleSystemAtEntity and PlaySoundAtEntity to make it fancier if you so choose.

If you simply cannot walk on the boards properly, just put a multiple block boxes down and set those inactive with the boards as they break.

06-17-2012, 04:34 AM
Find


Messages In This Thread
Breaking floor - by bartimeus - 06-16-2012, 05:41 PM
RE: Breaking floor - by SilentHideButFine - 06-17-2012, 02:12 AM
RE: Breaking floor - by bartimeus - 06-17-2012, 02:29 AM
RE: Breaking floor - by Obliviator27 - 06-17-2012, 04:34 AM
RE: Breaking floor - by bartimeus - 06-17-2012, 04:41 AM



Users browsing this thread: 1 Guest(s)