4
0
Files
mranderson/inc/init.config.lua
Zsolt Tasnadi fc398d0f65
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
rename partial files
2025-12-10 23:16:39 +01:00

36 lines
741 B
Lua

--------------------------------------------------------------------------------
-- Game Configuration
--------------------------------------------------------------------------------
local Config = {
screen = {
width = 240,
height = 136
},
colors = {
black = 0,
light_grey = 13,
dark_grey = 14,
green = 6,
npc = 8,
item = 12 -- yellow
},
player = {
w = 8,
h = 8,
start_x = 120,
start_y = 128,
sprite_id = 1
},
physics = {
gravity = 0.5,
jump_power = -5,
move_speed = 1.5,
max_jumps = 2,
interaction_radius_npc = 12, -- New constant
interaction_radius_item = 8 -- New constant
},
timing = {
splash_duration = 120 -- 2 seconds at 60fps
}
}