add font
This commit is contained in:
parent
ea4504bdb4
commit
651ea584af
BIN
data/fonts/Lunchtype21_Regular.ttf
Normal file
BIN
data/fonts/Lunchtype21_Regular.ttf
Normal file
Binary file not shown.
@ -35,7 +35,6 @@ function Player:tick(ctx)
|
|||||||
local direction = ((camera_forward * forward_input) + (camera_right * strafe_input)):normalized()
|
local direction = ((camera_forward * forward_input) + (camera_right * strafe_input)):normalized()
|
||||||
local target_vel = direction * self.speed
|
local target_vel = direction * self.speed
|
||||||
self.velocity = self.velocity:lerp(target_vel, self.accel)
|
self.velocity = self.velocity:lerp(target_vel, self.accel)
|
||||||
-- self.velocity = target_vel
|
|
||||||
|
|
||||||
if input_action_just_pressed{name = "throw"} then
|
if input_action_just_pressed{name = "throw"} then
|
||||||
self.ThrowPressed:emit(self.position:copy(), camera_forward:copy())
|
self.ThrowPressed:emit(self.position:copy(), camera_forward:copy())
|
||||||
|
@ -32,8 +32,6 @@ function game_tick()
|
|||||||
end
|
end
|
||||||
|
|
||||||
player:tick(ctx)
|
player:tick(ctx)
|
||||||
-- draw_camera{position = Vector3(0, 1, 0), direction = Vector3.FORWARD}
|
|
||||||
-- draw ground
|
|
||||||
local q = util.create_plane_quad(Vector3(0, 0, 0), Vector3.UP, 20)
|
local q = util.create_plane_quad(Vector3(0, 0, 0), Vector3.UP, 20)
|
||||||
local params = {
|
local params = {
|
||||||
texture = "images/measure001a.png",
|
texture = "images/measure001a.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user