extends Node

func _ready():
	var image = Image.create(64, 64, false, Image.FORMAT_RGBA8)
	
	# Draw black bomb body
	for x in range(64):
		for y in range(64):
			var distance = Vector2(x - 32, y - 32).length()
			if distance < 30:
				image.set_pixel(x, y, Color(0.2, 0.2, 0.2))
	
	# Save the image
	var error = image.save_png("res://assets/images/bomb.png")
	if error != OK:
		print("Error saving bomb image: ", error)
	
	queue_free() 