i ran a few of the pre coded player scripts from AUM with my prebuild room and block to test movement and gravity
no weird pause, smooth as could be..
my card is a piece of junk but its not fault....
i have probably 110 lines of code in 3 scripts total... very basic
im trying to make my own templates so i try to seperate things to be able to improve and add to them.
i did copy some of other peoples code, because i could understand it and change it how i liked. which is how ive been learning
before i scrap and redo them, i would like to be a little desciption of how i got my scripts and ill post em.
the level is just a big hollow block with a small block inside
it for the player to fall off (cbabe,mdl).(doubt its level issue)
i commented most of player.c out to eliminate possiblities
first is my main file which resides with compiled level
and defines the file that locates resources
main.c
/////////////////////////////////////////////////////
//// Default Gamestudio Key and Debug functions ///
//// ToDo: Replace with Personalized functions ////
#include <default.c>;
/////////////////////////////////////////////////////
//// Personal Resource file Locations ////////////
#include "Resources\Includes\resources.h";
/////////////////////////////////////////////////////
//// Included Scripts ////////////////////////////
#include "Resources\Scripts\Player.c";
////////////////////////////////////////////////////
//// Main Starting Function ////////////////////
void main()
{
time_smooth = 0.666;
// video_set(sys_metrics(0), sys_metrics(1), 32, 1); // detect and use the best screen resolution
video_mode = 9;
// video_screen = 1;
level_load ("newshit.WMB");
wait(2);
}
which calls my 2nd file that defines paths resources.h
/////////////////////////////////////////////////////////////////////
//// Main resource locations and files ////////////////////////////
#define PRAGMA_PATH "Resources\Entities";
#define PRAGMA_PATH "Resources\Sounds";
#define PRAGMA_PATH "Resources\Textures";
#define PRAGMA_PATH "Resources\Scripts";
then finally the movement code i have
player.c
//////////////////////////////////////////////////////////////////////
// Player movement and interaction /////////////////////////////////
//////////////////////////////////////////////////////////////////////
#define move_speed skill1
#define turn_speed skill2
//////////////////////////////////////////////////////////////////////
// Player_move defines /////////////////////////////////////////////
VECTOR move_vec; // player movement forces
VECTOR fall_dist;
//////////////////////////////////////////////////////////////////////
// Gravity related defines /////////////////////////////////////////////
var ground_dist;
var feet_bottom;
//////////////////////////////////////////////////////////////////////
// Camera variables ///////////////////////////////////////////
var temptilt; // camera tilt angle
var eye_height = 30;
//////////////////////////////////////////////////////////////////////
// Gravity /////////////////////////////////////////////////////////
function update_gravity()
{
ground_dist = c_trace(my.x,vector(my.x, my.y, my.z -1000),USE_BOX)-feet_bottom;
if(ground_dist > 0)
{
fall_dist.z = -30 * time_step;
}
}
//////////////////////////////////////////////////////////////////////
// Jumping function /////////////////////////////////////////////
function handle_jumping ()
{
wait(1);
}
//////////////////////////////////////////////////////////////////////
// Movement function ////////////////////////////////////////////
function update_movement()
{
move_vec.x = key_force.y * (time_step * my.move_speed);
move_vec.y = -key_force.x * (time_step * my.move_speed);
}
//////////////////////////////////////////////////////////////////////
// Camera function /////////////////////////////////////////////////
function update_camera()
{
vec_set(camera.x,vector(-100,0,20)); // to see what player is doing
// vec_set(camera.x,player.x); // go back to first person
camera.z += eye_height;
camera.pan = player.pan;
temptilt += (mouse_force.y * 3) * 4 * time_step;
my.pan -= (mouse_force.x * 8) * time_step;
camera.tilt = 0 + temptilt;
temptilt = clamp(temptilt,-75,75);
}
//////////////////////////////////////////////////////////////////////
// Main player action //////////////////////////////////////////////
//uses: move_speed
action player_move()
{
player = me;
//my.temptilt = 0;
c_setminmax(my);
camera.genius = player;
vec_for_min(feet_bottom,me);
while(me != NULL)
{
// update_gravity();
update_movement();
// handle_jumping();
c_move(my,move_vec,fall_dist,GLIDE);
// update_camera();
wait(1);
}
}
remember not using the commented out to eliminate possibilities.
hopefully that might help... ive reinstalled both windows and GS hoping it was some corrupted file. to no avail.
so since i know its not hardware. it must be some hiding bug or something im doing... mebbe like including the player.c twice. once in main.c then in resources? perhaps how they call the script? should i try to put my main startup function in the player.c script, which makes it the main and only script really needed eliminating other script?
i think its something in player.c ive been messing with that one only, i must have changed or did something. or at least i didnt notice it till i started adding more code
i would like to thank the community for the good help i recieved thus far

any more input or assistance would be most appreciated, please
Thank You
video card... the pc's gpu nvidia 8400gs