Added config files into version control.
This commit is contained in:
parent
b655d0ec0f
commit
73b742a6d3
9 changed files with 76 additions and 0 deletions
3
resources/yaml/body.yaml
Normal file
3
resources/yaml/body.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
name: Body
|
||||||
|
texture: body.png
|
||||||
|
size: [50, 50]
|
7
resources/yaml/bullet.yaml
Normal file
7
resources/yaml/bullet.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
name: Bullet
|
||||||
|
texture: bullet.png
|
||||||
|
size: [20, 20]
|
||||||
|
|
||||||
|
damage: 10
|
||||||
|
radius: 10
|
||||||
|
speed: 500
|
2
resources/yaml/cover.yaml
Normal file
2
resources/yaml/cover.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name: Cover
|
||||||
|
texture: cover.png
|
8
resources/yaml/enemy.yaml
Normal file
8
resources/yaml/enemy.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
name: Enemy
|
||||||
|
texture: enemy.png
|
||||||
|
size: [50, 50]
|
||||||
|
|
||||||
|
health: 100
|
||||||
|
speed: 100.0
|
||||||
|
radius: 25.0
|
||||||
|
weapon: weapon.yaml
|
36
resources/yaml/overview.yaml
Normal file
36
resources/yaml/overview.yaml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# This file lists all existing YAML keys and their corresponding default values, along with a description.
|
||||||
|
## Sprite keys ##
|
||||||
|
# name to be displayed, currently unused
|
||||||
|
name: ""
|
||||||
|
# filename of texture resource, relative to resources/textures/
|
||||||
|
# no default value, has to be a valid texture file name (e.g. player.png)
|
||||||
|
texture: ""
|
||||||
|
# the object's size in pixels, in x and y direction, these should be equal for a character
|
||||||
|
size: [50, 50]
|
||||||
|
# radius from character center to border, used for collisions, generally half size
|
||||||
|
radius: 25.0
|
||||||
|
|
||||||
|
## Character keys ##
|
||||||
|
# filename of the weapon wielded
|
||||||
|
weapon: weapon.yaml
|
||||||
|
# starting/maximum health points
|
||||||
|
health: 100
|
||||||
|
# walking speed
|
||||||
|
speed: 100.0
|
||||||
|
# default weapon equipped
|
||||||
|
weapon: weapon.yaml
|
||||||
|
|
||||||
|
## Weapon keys ##
|
||||||
|
# yaml file where the bullet is defined
|
||||||
|
bullet: bullet.yaml
|
||||||
|
# milliseconds to wait before firing the next bullet, zero for no limit
|
||||||
|
interval: 250
|
||||||
|
# is the weapon automatic or not?
|
||||||
|
automatic: false
|
||||||
|
|
||||||
|
## Bullet keys ##
|
||||||
|
# damage per bullet
|
||||||
|
damage: 10
|
||||||
|
# movement speed of bullets
|
||||||
|
speed: 500.0
|
||||||
|
radius: 10.0
|
8
resources/yaml/player.yaml
Normal file
8
resources/yaml/player.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
name: Player
|
||||||
|
texture: player.png
|
||||||
|
size: [50, 50]
|
||||||
|
|
||||||
|
health: 100
|
||||||
|
speed: 100.0
|
||||||
|
radius: 25.0
|
||||||
|
weapon: weapon.yaml
|
3
resources/yaml/tile_floor.yaml
Normal file
3
resources/yaml/tile_floor.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
name: Floor Tile
|
||||||
|
texture: floor.png
|
||||||
|
size: [100, 100]
|
3
resources/yaml/tile_wall.yaml
Normal file
3
resources/yaml/tile_wall.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
name: Wall Tile
|
||||||
|
texture: wall.png
|
||||||
|
size: [100, 100]
|
6
resources/yaml/weapon.yaml
Normal file
6
resources/yaml/weapon.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
name: Pistol
|
||||||
|
texture: pistol.png
|
||||||
|
|
||||||
|
bullet: bullet.yaml
|
||||||
|
interval: 250
|
||||||
|
automatic: true
|
Reference in a new issue