Remove ghost's eyes, move eye sprites to ghosts sprites

This commit is contained in:
Matt Low 2019-12-25 16:53:35 +04:00
parent 1a74c9aae3
commit 437ae39a9e
5 changed files with 2 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

View File

@ -17,7 +17,6 @@ public class Assets {
private AssetManager manager; private AssetManager manager;
public TextureRegion[][] level; public TextureRegion[][] level;
public TextureRegion[][] chase;
public TextureRegion[][] deathAnimation; public TextureRegion[][] deathAnimation;
public TextureRegion[][] ghosts; public TextureRegion[][] ghosts;
public TextureRegion[][] pacman; public TextureRegion[][] pacman;
@ -43,7 +42,6 @@ public class Assets {
manager.load("logo.png", Texture.class); manager.load("logo.png", Texture.class);
manager.load("sprites/level.png", Texture.class); manager.load("sprites/level.png", Texture.class);
manager.load("sprites/chase.png", Texture.class);
manager.load("sprites/death.png", Texture.class); manager.load("sprites/death.png", Texture.class);
manager.load("sprites/ghosts.png", Texture.class); manager.load("sprites/ghosts.png", Texture.class);
manager.load("sprites/pacman.png", Texture.class); manager.load("sprites/pacman.png", Texture.class);
@ -59,6 +57,7 @@ public class Assets {
manager.load("sounds/eat_fruit.wav", Sound.class); manager.load("sounds/eat_fruit.wav", Sound.class);
manager.load("sounds/eat_ghost.wav", Sound.class); manager.load("sounds/eat_ghost.wav", Sound.class);
manager.load("sounds/extra_life.wav", Sound.class); manager.load("sounds/extra_life.wav", Sound.class);
manager.load("sounds/return_base.wav", Sound.class);
manager.load("sounds/siren.wav", Sound.class); manager.load("sounds/siren.wav", Sound.class);
manager.load("sounds/siren_fast.wav", Sound.class); manager.load("sounds/siren_fast.wav", Sound.class);
manager.load("sounds/siren_faster.wav", Sound.class); manager.load("sounds/siren_faster.wav", Sound.class);
@ -79,7 +78,6 @@ public class Assets {
// cache our texture regions // cache our texture regions
level = TextureRegion.split(manager.get("sprites/level.png", Texture.class), 8, 8); level = TextureRegion.split(manager.get("sprites/level.png", Texture.class), 8, 8);
chase = TextureRegion.split(manager.get("sprites/chase.png", Texture.class), 16, 16);
deathAnimation = TextureRegion.split(manager.get("sprites/death.png", Texture.class), 16, 16); deathAnimation = TextureRegion.split(manager.get("sprites/death.png", Texture.class), 16, 16);
ghosts = TextureRegion.split(manager.get("sprites/ghosts.png", Texture.class), 16, 16); ghosts = TextureRegion.split(manager.get("sprites/ghosts.png", Texture.class), 16, 16);
pacman = TextureRegion.split(manager.get("sprites/pacman.png", Texture.class), 16, 16); pacman = TextureRegion.split(manager.get("sprites/pacman.png", Texture.class), 16, 16);
@ -96,6 +94,7 @@ public class Assets {
eat_fruit = manager.get("sounds/eat_fruit.wav", Sound.class); eat_fruit = manager.get("sounds/eat_fruit.wav", Sound.class);
eat_ghost = manager.get("sounds/eat_ghost.wav", Sound.class); eat_ghost = manager.get("sounds/eat_ghost.wav", Sound.class);
extra_life = manager.get("sounds/extra_life.wav", Sound.class); extra_life = manager.get("sounds/extra_life.wav", Sound.class);
return_base = manager.get("sounds/return_base.wav", Sound.class);
siren = manager.get("sounds/siren.wav", Sound.class); siren = manager.get("sounds/siren.wav", Sound.class);
siren_fast = manager.get("sounds/siren_fast.wav", Sound.class); siren_fast = manager.get("sounds/siren_fast.wav", Sound.class);
siren_faster = manager.get("sounds/siren_faster.wav", Sound.class); siren_faster = manager.get("sounds/siren_faster.wav", Sound.class);