Blackvoxel Forum

Blackvoxel => Programming with Blackvoxel => Topic started by: Yves on February 27, 2019, 07:08:48 pm

Title: Programmatic handling of the player
Post by: Yves on February 27, 2019, 07:08:48 pm
I was pondering the creation of a program to move the player faster, more specifically an elevator, because going down/up stairs is so slow!

I had the feeling that the answer was in PlayerAddAccel (http://www.blackvoxel.com/view.php?node=1534) or PlayerSetAccel (http://www.blackvoxel.com/view.php?node=1535). But playing with one only made the game more/less smooth, and playing with the other either 1º moved me of a few pixels, or 2º moved me a dozen voxels in the air, and then I died falling.

I was not able to understand either of these functions by trial-and-error… Is there a better explanation of these functions somewhere?