3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: "pause" for car games  (Read 3152 times)

« on: September 23, 2009, 03:49:56 AM »
well, sort of  :D

actually is a fake pause, so it dosnt pause the simulation and have some issues when the game is resumed, like speed which can be different, and if the car is rotating the rotation effect is lost... but at least it will keep the inertial direction if is drifting.

also, this will only freeze the car, one car... if you want to apply the "pause" to other things.. well, good luck!  ;D

drive with arrows, pause with enter, stop losing your time with esc :P.

------------------------------
maybe I could know the rotation of the car with iObjectSpin(OBJ_X,Vector3) and recreate it with forces?
I dont really understand very good the vectors concepts and therefore the explanation for iObjectSpin, if someone could drop some light on this subject?

--------------------------------------
version 2:

now the spining effect of the paused object (the car) is reproduced, sometimes looks like  :P it works, sometimes not. if I would play it safe, I doubt I would use the spining feature.

here's a vague explanation of how is done http://www.3drad.com/forum/index.php?topic=2645.msg20483#msg20483

also, this new demo includes a paused timer. first tried to stop & start the timer, unchecking in the object "reset internal timers when stopped" but it begins at 0 again, so I used a var. either that function is broken or works for something diferent.
« Last Edit: September 24, 2009, 03:41:02 PM by loop »
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #1 on: September 23, 2009, 06:56:10 AM »
awsome  ;) it would be good for a pause menu box!!!

psikotropico

« Reply #2 on: September 23, 2009, 08:16:22 AM »
good job, man.. i was trying to do something similar, but without success...
« Reply #3 on: September 23, 2009, 11:21:57 AM »
Hey this is a nice script, thanks loop.
You should do an awseome car stunt and then rotate camera around 360 and then continue (like Matrix) :)
« Reply #4 on: September 23, 2009, 04:44:25 PM »
Hey this is a nice script, thanks loop.
You should do an awseome car stunt and then rotate camera around 360 and then continue (like Matrix) :)

yeah! I thinked of that but was tired and wanted to keep it simple. after all the 360 matrix effect is piece of cake.

thanks for the kind comments, anyone have any idea to complement this with the rotation/spining of the car?
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #5 on: October 06, 2009, 04:32:57 PM »
shadmar i made somewhat of an exampe it rotates but doen't look at the car I think you could fix that. ;D
« Last Edit: October 07, 2009, 06:42:23 AM by darak555 »
Pages: [1]