Pausing Certain Items? Others retain time.
by Cinder Games · in Torque Game Engine · 07/19/2005 (7:47 pm) · 1 replies
Ok in my next step on my RPG battle engine.... i realized i need a way to pause certain items movements completely.
while i've found how to to pause everything.... using $timescale=1; thats not exactly what i need.
I'm thinking maybe i need to crack into the engine, perhaps the shapebase processticks or updatemove.
An example of what i want to do is... picture turnbased battles, but "turns" of different characters will overlap. think ffx-2. So as one character is in the middle of attacking, another characters turn will come up.
I'd like everycharacter... besides the character that just came up for a turn.... to pause in their tracks..... pause the animations... stop gravity.. just stop in time.
I'll also need camera control. I haven't found anything in my searches to shed much light on this subject. Any Ideas?
while i've found how to to pause everything.... using $timescale=1; thats not exactly what i need.
I'm thinking maybe i need to crack into the engine, perhaps the shapebase processticks or updatemove.
An example of what i want to do is... picture turnbased battles, but "turns" of different characters will overlap. think ffx-2. So as one character is in the middle of attacking, another characters turn will come up.
I'd like everycharacter... besides the character that just came up for a turn.... to pause in their tracks..... pause the animations... stop gravity.. just stop in time.
I'll also need camera control. I haven't found anything in my searches to shed much light on this subject. Any Ideas?
Torque Owner Cinder Games
void Player::updateAnimation(F32 dt)
definately stopped them from animating
and one at the begining of
void Player::processTick(const Move* move)
prevents movements.... it also stops the effect of gravity. So i think that's definately where i need to research more. a few conditionals and a way to set them and i should be good.
Anyone done this before? Anyone have any warnings or futher advise?