Skip to content

xinghansun/mini-game-robot-vs-ghosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mini Game: Robot vs Ghosts

Game Description

In "Robot vs Ghosts," you control a robot navigating through a haunted environment filled with ghosts. The objective is to avoid or eliminate the ghosts while collecting items to score points. The game tests your reflexes and strategic thinking as you progress through increasingly challenging levels.

Demo

Watch an demo playthrough of the game to see how it works:

test_run_20220825.mov

How to play

  • Use the arrow keys or WASD to move the robot in different directions.
  • Press the spacebar along with left/right direction to shoot bullets.
  • Collect coins to purchase bullets and replenish ammunition.
  • Defeat minions and bosses to progress through the game.

Objects

Robot

The robot is the main character you control. It can move in all directions and has the ability to shoot bullets to eliminate ghosts. You can pick up coins from the map.

Coins

There is always one coin in the map. Once you pick up the coin, another will appear at a random position.

Bullet

Bullets are fired by the robot to eliminate ghosts. There are three types of bullets that have different damage and speed. The bullets can only be shot in horizontal directions. Bullets can be purchased using coins.

Clip

The clip shows robot's ammunition by bullet colors. The bullets can only be shot in sequence that is shown in the clip (from left to right).

Portal

Portals are gateways that will continuously transport minion ghosts to the map. You need to destroy the portal to completely clear the minion ghosts.

Minion

Minions are ghost enemies that the robot encounters at stage one. They are relatively weak but will chase the robot to anywhere!

Boss

Boss is a powerful ghost enemy that appear at stage two when you cleared all minions and portals. Defeating a boss requires skill and strategy, as they can blink towards you by chance and have more health than minions.

License

The authors of the image materials (.png) are Erkki Kaila, Antti Laaksonen, and Matti Luukkainen.

The course material is licensed under the Creative Commons BY-NC-SA 4.0 license, so you can use and distribute it freely, as long as the names of the original authors are not removed. If you make changes to the material and want to distribute the modified version, it must be licensed under the same license. Use of materials for commercial purposes is prohibited without separate permission.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages