Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,194 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
serious problem #92235
09/29/06 04:10
09/29/06 04:10
Joined: Aug 2006
Posts: 68
A
alex5801 Offline OP
Junior Member
alex5801  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 68
when i run my level, in my level, my camera keep shaking non stop.
anyone know what wrong with it?

Re: serious problem [Re: alex5801] #92236
09/29/06 04:19
09/29/06 04:19
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
unplug your joystick mabey

Re: serious problem [Re: Grimber] #92237
09/29/06 07:30
09/29/06 07:30
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US
This could very well be the solution if you have one plugged in. I had a problem with a demo posted here not too long ago where the vehicle wouldnt stop going backwards... Come to find out my controller was plugged in and was causing the vehicle to go in reverse.


http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.
Re: serious problem [Re: FeiHongJr] #92238
09/29/06 08:54
09/29/06 08:54
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
There are a thousand possible reasons for it.

movementcode, how the camera gets mouseinputs, collisions with another entity
camera is positions with an incorrect trace that makes the camera shake.

(non updated collision hull on a dynamically altered terrain, as I had a problem
a while ago)

Bets you post your code, or make a little demo.

Re: serious problem [Re: Damocles] #92239
09/29/06 14:29
09/29/06 14:29
Joined: Aug 2006
Posts: 68
A
alex5801 Offline OP
Junior Member
alex5801  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 68
var video_mode=7;
var video_depth=32;
var move_vec[3]=0,0,0;
var idle_percent=0;
var walk_percent=0;
var temptilt = 0;

action display_glass
{
my.alpha = 25;
my.transparent = on;
}

action player_move
{
player = me;
wait(1);
Camera.genius = player;
while (player !=NULL)
{
move_vec[0] = (key_w - key_s + key_cuu - key_cud ) * 20 * time; //moving forward and backward
move_vec[1] = (key_a - key_d + key_comma - key_period) * 15 * time; //strafe movements
player.pan -= (mouse_force.x) * 100 * time; //using the mouse, left and right arrow keys to turn left and right
move_mode = IGNORE_YOU + IGNORE_PASSABLE + IGNORE_PUSH + ACTIVATE_TRIGGER + GLIDE; // move mode parameters to avoid sticking on walls and models
player.tilt-= mouse_force.y * -200 * time;
ent_move(move_vec,NULLVECTOR);
If (move_vec[0] == 0 && move_vec[1] == 0)
{
idle_percent = (idle_percent +5*time)%100;
ent_animate(me,"idle",idle_percent,ANM_CYCLE);
}
else
{
walk_percent = (walk_percent +5*time)%100;
ent_animate(player,"walk",walk_percent,ANM_CYCLE);
}
vec_set (Camera.x,player.x);
camera.z += 27;
camera.pan = player.pan;
Camera.tilt =Player.tilt*4*time;
wait(1);
}
}



function main()
{
level_load("Level1.wmb");
wait(2);
}

Re: serious problem [Re: alex5801] #92240
09/29/06 17:35
09/29/06 17:35
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Quote:


Camera.tilt =Player.tilt*4*time;





Maybe that is a problem caus you also got this:
Quote:


player.tilt-= mouse_force.y * -200 * time;





200 is very high in my opinion, so the player is really sensitiv for mouse movement.

Re: serious problem [Re: Xarthor] #92241
10/01/06 03:32
10/01/06 03:32
Joined: Aug 2006
Posts: 68
A
alex5801 Offline OP
Junior Member
alex5801  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 68
but when i reduce it the mouse movement lag
after i move my mouse for 1-2 sec, then onli the camera view move


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1