forked from team-sg/hero-mark-2
msx is now a stinky catgirl
This commit is contained in:
parent
e7c96298da
commit
6946592a6e
8 changed files with 180 additions and 11 deletions
|
@ -26,10 +26,10 @@ func _physics_process(delta):
|
|||
anims.play("walk")
|
||||
#Stop at the end of path and give shard
|
||||
if position.x <= 80:
|
||||
Console.print(Game.shards_collected)
|
||||
is_moving = false
|
||||
velocity.x = 0
|
||||
if is_holding_shard:
|
||||
anims.play("give")
|
||||
var ShardInstance = shard.instance()
|
||||
ShardInstance.global_position = Vector2(shard_position.global_position.x,shard_position.global_position.y)
|
||||
ShardInstance.number = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue