The very first problem with framerate independency, was fixed this way:
Code:
#include <default.c>
#include <acknex.h>

var cam_add_roll = 0;
var cam_roll_speed = 0;

// main function:
function main(){
	// show all warnings and errors:
	warn_level = 6;
	// limit FPS:
	fps_max = 60;
	// empty testing level:
	level_load("map01.wmb");
	wait(3);
	// loop:
	while(1){
		DEBUG_VAR(cam_add_roll, 10);
		DEBUG_VAR(cam_roll_speed, 50);
		
		accelerate(cam_roll_speed, 2 * mouse_force.x, 0.9);	
		
		cam_add_roll -= (cam_add_roll - cam_roll_speed) * maxv(time_step, 0.01) * 0.2;
		
		camera.roll = cam_add_roll;
		wait(1);
	}
}

All other stuff as well. Thanks all.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung