14 Mar 13, 04:14AM
I just tested it (probably specify next time that it is 1.1 based) and it works great.
Firstly, the first post says screen tile on death -- you probably meant tilt, right? :P
I'm going to guess you increment the "tilt" every frame when needed (what would probably make sense) but do not forget not everyone can render the game at the same frames per second, so you will have to scale your offsets by current fps (I have some code for this if you want it) The tilt speed seems a little bit slow to me, but I'm going to assume it's from the fps thing as I run ~60 fps.
I personally would like to see you disable rendering of the local player's corpse and disable control of the camera after you die (disable control in that camera mode but not in the others you can switch to after death) to make it seem like you really died.
Taking another step forward to something else I would like to see, jerking of the screen each time you are hit (camera1->roll += rand()%small_amount-rand()%small_amount) Just a little bit either direction and re-centering pretty fast (remember fps scale) so as to emulate player "flinch." This would really buff automatic weapon users possibly adding another element to balance weapons on if it is ever polished enough to commit to a future version of AC.
Firstly, the first post says screen tile on death -- you probably meant tilt, right? :P
I'm going to guess you increment the "tilt" every frame when needed (what would probably make sense) but do not forget not everyone can render the game at the same frames per second, so you will have to scale your offsets by current fps (I have some code for this if you want it) The tilt speed seems a little bit slow to me, but I'm going to assume it's from the fps thing as I run ~60 fps.
I personally would like to see you disable rendering of the local player's corpse and disable control of the camera after you die (disable control in that camera mode but not in the others you can switch to after death) to make it seem like you really died.
Taking another step forward to something else I would like to see, jerking of the screen each time you are hit (camera1->roll += rand()%small_amount-rand()%small_amount) Just a little bit either direction and re-centering pretty fast (remember fps scale) so as to emulate player "flinch." This would really buff automatic weapon users possibly adding another element to balance weapons on if it is ever polished enough to commit to a future version of AC.