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:
@ -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 -->
|
||||
|
Reference in New Issue
Block a user