Player changes:

- reimplemented & improved player inventory
- now player has "Action2" which means he can interact with the
environment
- added weapon energy cost
- updated player action interface
This commit is contained in:
2016-12-12 23:28:41 +02:00
parent 6fe33a99a8
commit 6a35b11ec2
34 changed files with 885 additions and 573 deletions

View File

@ -26,12 +26,10 @@
<Transform x="120" y="100" />
<Sprite src="sprites/Player.sprite" />
<SpriteRenderer />
<PlayerMovement />
<PlayerInventory capacity="30" />
<GameObject name="Inventory">
<Transform />
</GameObject>
<Inventory capacity="30" />
<Player hp="100" maxHp="100"
energy="100" maxEnergy="100"
money="50" />
</GameObject>
<!-- Debug object -->