Added config files into version control.

This commit is contained in:
Felix Ableitner 2013-04-23 22:41:41 +02:00
parent b655d0ec0f
commit 73b742a6d3
9 changed files with 76 additions and 0 deletions

3
resources/yaml/body.yaml Normal file
View file

@ -0,0 +1,3 @@
name: Body
texture: body.png
size: [50, 50]

View file

@ -0,0 +1,7 @@
name: Bullet
texture: bullet.png
size: [20, 20]
damage: 10
radius: 10
speed: 500

View file

@ -0,0 +1,2 @@
name: Cover
texture: cover.png

View file

@ -0,0 +1,8 @@
name: Enemy
texture: enemy.png
size: [50, 50]
health: 100
speed: 100.0
radius: 25.0
weapon: weapon.yaml

View 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

View file

@ -0,0 +1,8 @@
name: Player
texture: player.png
size: [50, 50]
health: 100
speed: 100.0
radius: 25.0
weapon: weapon.yaml

View file

@ -0,0 +1,3 @@
name: Floor Tile
texture: floor.png
size: [100, 100]

View file

@ -0,0 +1,3 @@
name: Wall Tile
texture: wall.png
size: [100, 100]

View file

@ -0,0 +1,6 @@
name: Pistol
texture: pistol.png
bullet: bullet.yaml
interval: 250
automatic: true