chore: Game

This commit is contained in:
2026-01-25 16:15:12 +01:00
parent 5193b4aba8
commit b72ac87098

View File

@@ -1,4 +1,39 @@
- id: "mainroom"
- id: "spawn"
texture: "ROOM1"
mobs:
- type: "hittable_drops"
texture: "PLAYER_FRONT"
cords:
x: 100
y: 100
collider:
start:
x: 0
y: 52
end:
x: 44
y: 78
health: 10
itemsDrops:
- name: "Apple"
type:
name: "food"
addHealth: 1
texture: "APPLE"
tasks:
- type: "blind_following_player"
speed: 1
updateRateMs: 100
- type: "attacking_player"
damage: 5
reach: 15
updateRateMs: 500
west: "empty"
east: "truhlaright"
north: null
south: null
- id: "truhlaright"
texture: "ROOM1"
objects:
- objectType: "chest"
@@ -23,6 +58,92 @@
end:
x: 140
y: 67
west: "mainroom"
east: null
north: "klicnik"
south: null
- id: "empty"
texture: "ROOM1"
west: null
east: "spawn"
north: "truhlatop"
south: null
- id: "truhlatop"
texture: "ROOM1"
objects:
- objectType: "chest"
cords:
x: 100
y: 45
items:
- name: "Wooden sword"
type:
name: "weapon_sword"
dealDamage: 1
texture: "WOODEN_SWORD"
- name: "Apple"
type:
name: "food"
addHealth: 1
texture: "APPLE"
colliders:
- start:
x: 100
y: 45
end:
x: 140
y: 67
west: "empty2"
east: null
north: null
south: "empty"
- id: "empty2"
texture: "ROOM1"
west: null
east: "truhlatop"
north: "boss"
south: null
- id: "boss"
texture: "ROOM1"
mobs:
- type: "hittable_drops"
texture: "PLAYER_FRONT"
cords:
x: 100
y: 100
collider:
start:
x: 0
y: 52
end:
x: 44
y: 78
health: 10
itemsDrops:
- name: "Apple"
type:
name: "food"
addHealth: 1
texture: "APPLE"
tasks:
- type: "following_player"
speed: 1
updateRateMs: 100
- type: "attacking_player"
damage: 20
reach: 15
updateRateMs: 500
west: null
east: null
north: null
south: "empty2"
- id: "klicnik"
texture: "ROOM1"
mobs:
- type: "hittable_drops"
texture: "PLAYER_FRONT"
@@ -52,13 +173,36 @@
reach: 15
updateRateMs: 500
west: null
east: "secondroom"
east: "truhlarightright"
north: null
south: null
south: "truhlaright"
- id: "secondroom"
texture: "ROOM2"
west: "mainroom"
- id: "truhlarightright"
texture: "ROOM1"
west: "klicnik"
east: null
north: null
south: null
south: null
objects:
- objectType: "chest"
cords:
x: 100
y: 45
items:
- name: "Wooden sword"
type:
name: "weapon_sword"
dealDamage: 1
texture: "WOODEN_SWORD"
- name: "Apple"
type:
name: "food"
addHealth: 1
texture: "APPLE"
colliders:
- start:
x: 100
y: 45
end:
x: 140
y: 67