Playing around with a laser weapon.

This commit is contained in:
2024-11-21 13:20:17 -05:00
parent 1498865026
commit 30b13dbc6c
5 changed files with 545 additions and 18 deletions

View File

@@ -27,6 +27,7 @@ const (
Worm ImgAssetName = "WormDefault"
Cloud ImgAssetName = "Cloud"
Fireball ImgAssetName = "Fireball"
Splash ImgAssetName = "Splash"
)
var (
@@ -60,6 +61,8 @@ var (
cloud_img []byte
//go:embed hot.png
fireball_img []byte
//go:embed splash.png
splash_img []byte
)
func LoadImages() {
@@ -79,6 +82,7 @@ func LoadImages() {
ImageBank[Worm] = LoadImagesFatal(wormdefault_img)
ImageBank[Cloud] = LoadImagesFatal(cloud_img)
ImageBank[Fireball] = LoadImagesFatal(fireball_img)
ImageBank[Splash] = LoadImagesFatal(splash_img)
}

BIN
assets/splash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B