This commit is contained in:
OddlyTimbot 2026-07-27 18:14:07 -04:00
parent cdb1b5d632
commit 9448311064
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
Week 5:
Coin collection, bad guys, dealing damage
In this lesson, we get some enemies in the game, and along the way w
learn some valuable principles.

View File

@ -449,7 +449,7 @@ tile_set = SubResource("TileSet_gee14")
script = ExtResource("2_lbhrr")
[node name="Player" parent="." unique_id=2145223914 instance=ExtResource("4_iywne")]
position = Vector2(495, 379)
position = Vector2(446.00003, 465.00003)
[node name="Crates" type="Node2D" parent="." unique_id=207771395]

View File

@ -61,7 +61,7 @@ func coinCollected(body,coin)->void:
destroySignal.emit(coin)
func coinTotal(totalAmount)->void:
print("GC knows total coins "+str(totalAmount))
print("GC knows total coins remaining "+str(totalAmount))
func bulletDamage(body, _bullet)->void:
print("bullet hit")