Page 1 of 2

[Video] Moving "wall" blocks

Posted: Fri May 09, 2014 1:38 pm
by JKos
I wanted to show this in advance before I release my dungeon, because I think it's pretty cool and to bring some activity on forums.
https://drive.google.com/file/d/0B7cR7s ... view?pli=1

Take a note that sounds are following the blocks too :) Anyone want to guess how I made this?

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 2:11 pm
by Xanathar
SpoilerShow
Is it a monster ?

That could be an easy way to have the movement effect, but you'd have to "fight the AI" big time.
Wow, very cool effect!

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 2:59 pm
by Eleven Warrior
Whoaaaaaaaaaaaaaaa That is Awsesomeeeeeeeeeeeeeeee how????????????????

How did you do that Jkos??????????????????????

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 3:25 pm
by JKos
No, It's not a monster, I think that someone made a similar rolling boulder effect a long time ago. Haven't looked the sources but I guess it's the same idea. So this is nothing new actually.
SpoilerShow
Static block is just a blocker-object and moving block is a projectile(I have 4 of these pointing at different directions so the projectile can have the same facing as the static block). And I also have a party.onMove hook which prevents the party collide with block...etc. I made a smaller block too, which can move through doors. This way it's possible to make any static object moveable, or even pushable.

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 3:37 pm
by Komag
Ha! very cool! :D

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 5:23 pm
by petri
Very impressive hack! Any gotchas?

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 7:40 pm
by JKos
Thanks, all of you. One small gotcha is that if a monster and a block is moving to the same tile at the same time, the monster will go right through of the block and the block will stop. But I think that it can be fixed so that the monster is killed and the block is respawned.
Same goes with party of course, but in current implementation the whole party is killed if it's hit by a moving block.

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 8:25 pm
by Mutman
Amazing, great job! This makes na excellent use for traps! :)

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 10:26 pm
by survival
Awesome - its great to use it just like Indiana Jones dungeons . Its absolutely amazing !!

Re: [Video] Moving "wall" blocks

Posted: Fri May 09, 2014 11:38 pm
by JKos
I made another video with a dragon statue which demonstrates the interaction with doors. And I'm going to release this with the new version of my framework, and as a teaser: making a object moveable is easy as this:
fw_makeMoveable('dragon_statue',"assets/models/env/dragon_statue.fbx")
Then you can just place a dragon statue in your dungeon and you can move it by calling moveobj.move(dragon_statue_id,dir)

https://drive.google.com/file/d/0B7cR7s ... Wc/preview