Use fonts everywhere, misc. tweaks

This commit is contained in:
2020-07-18 21:33:33 -05:00
parent ce90284001
commit 4ee97cca4b
11 changed files with 55 additions and 37 deletions

View File

@@ -40,6 +40,7 @@ class IMICFPS
def backward
@velocity.z -= Math.cos(relative_y_rotation * Math::PI / 180) * relative_speed
@velocity.y += Math.sin(@orientation.x * Math::PI / 180) * relative_speed
@velocity.x += Math.sin(relative_y_rotation * Math::PI / 180) * relative_speed
end
@@ -62,12 +63,11 @@ class IMICFPS
end
def ascend
@velocity.y += 1 * delta_time
@velocity.y += relative_speed
end
alias :jump :ascend
def descend
@velocity.y -= 1 * delta_time
@velocity.y -= relative_speed
end
def toggle_first_person_view