DricomDragon 5 tahun lalu
induk
melakukan
785499a224
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      Player.gd
  2. TEMPAT SAMPAH
      player.png

+ 2 - 0
Player.gd

@@ -72,6 +72,8 @@ func _physics_process(delta):
 	turn(dire)
 	dire_delta = 0
 
+	grid.set_cell( posix, posiy, 1)
+
 	posix += dirx
 	posiy += diry
 

TEMPAT SAMPAH
player.png