Re: Irrlicht Port
#71I don't know, in both options you end dying.
I'd rather die by falling, instead of beingBrunou8 wrote:I don't know, in both options you end dying.
I really like those suggestions, just found something in Irrlicht's documentation that allows for manual animation of meshes, so ragdolls can be done. I'll probably add this later in development.Omniary wrote:Hmm, just wondering about the physics engine, what do you think about stuff like glass in the testroom and ragdoll physics a la the 106 victim that falls from the ceiling?
That sounds cool, it might work for the 939 storage room. I'll consider it.Spiffycat wrote:Anything higher like the gas bridge would make the player yell out in fright before crashing to the ground far below with an agonizing, gurgling grunt. This would cause instant death.
I was planning on using a virtual member function called room::update() that has a different implementation depending on each room. For rooms with several possible events, I could use a switch in the function.MonocleBios wrote:I'm curious as to what your plan is for event implementation.
So each room is its own class with hard coded event/fill data, right?juanjpro wrote:I was planning on using a virtual member function called room::update() that has a different implementation depending on each room. For rooms with several possible events, I could use a switch in the function.
Events in this game aren't designed to contain much more than a timer and a state machine, making a struct is just for readability at this point.I think this is a better choice than implementing the events with separate classes, because they don't actually need objects for themselves. Also, if two events do similar things, the switch would only be for things that are different.
As I said earlier, the modding community for this game isn't nearly large enough to warrant working on a wrapper in order to load event/room data from a script.The only disadvantage that I can imagine is that all rooms would be hard-coded into the game, but it doesn't matter anyway because the events already are.