(11-16-2013, 08:56 AM)ZurkQyulox Wrote: Well, it isn't hard to design the room, all i need too do is design a nice room and then place out the script area which the player will be going through to get the key or when the player has gotten the key and is on their way out. Now the hard thing is, how do i script so that the monster will start breaking the door (door_10 for example) when player walks through scriptarea_5? And also it would be pretty awesome if you guys learn me how to put in some effects!
A monster will destroy any door in which has a pathnode on the other side of a closed door.
Example
☻/ |
/▌ |
/ \ | . <- Pathnode goes here.
All you need to do is spawn the enemy and make it walk to the pathnode via scripting. It will tear down the door in 2-3 hits.
Optionally, you can mess around with the door physics to make it unbreakable, and when the player gets to a certain position, it "breaks" by exploding because the monster ate some spinach.
For General Screen effects you can mess around with, I recommend
this.
For working with pathnodes and stuff, try
this link.