Skip to content

samxu01/Walking-Gold-Miner

Repository files navigation

Walking Gold Miner

Introduction

Ever since the old gold miner finished his old job, he has been long retired. It was not until recently that he was recruited by the British Intelligence Agency MI6 to join the new mission: Gold mining the old treasuries left by the fleed Nazis in London. To ease the project for the gold miner, MI6 prepared him with their newest technology: Remote Hook. Now, the gold miner can walk along the way as he is mining rather than sitting still during the process. However, the unexpected yet continuous rainy day in London brought a layer of mist to the project — the old miner found it difficult to observe the targets under such conditions as he used to do. Knowing such drawbacks, MI6 held their faith in this old man and provided him with other high-tech devices. We will see how he does in these projects……

Run the Game

Method 1:

  • Download the repository using git clone command.
  • Run the Code Using Webstorm.
  • Under index.html, open the web browser as recommended(Chrome).

Method 2:

  • Download the repository using git clone command.
  • Run the Code:
    • Window User: Run 'host.bat'.
    • MacOS User: Run 'host.command'.
  • To play the game, navigate to localhost:8000 on your web browser (Google Chrome recommended).

How to Play

  1. "q", by pressing "q", the miner moves to the left.
  2. "e", by pressing "e", the miner moves to the right.
  3. "x", by pressing "x", the hook will be released at its current angle.
  4. "c", by pressing "c", a flashbang will be dropped at the current position of the miner.

Features

  1. User Interaction (Movement Control): Player will navigate the miner left and right, release the hook, and drop a flashbang using "q", "e", "x", "c"
  2. Mirroring: As the glow stick fall into the mine and as the firefly is floating around, the light emitted from the glow stick or the firefly will light up its surroundings, and the light would reflect on the surface of the gold mine
  3. Collision Detection: As collision between the gold mine and the hook is detected, the hook reaches a gold mine and can catch the gold mine back
  4. Animation: As the miner walks left and right, his left and right arms are swinging back and forth alternatively to simulate walking behavior. His legs are also moving.

Creaters

Laiyin Dai | [email protected] -Model and animation for miner -Hook transformation

Changjie(Sam) Xu | [email protected] -Model for gold/stone/skyscraper/hook -Collision detection -Upperground background

Peicheng(Mike) Shi | [email protected] -Contructing Background World -Underworld Background -Flashbang -Fireflies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages