Skip to content

Latest commit

 

History

History
102 lines (80 loc) · 4.04 KB

game_specific_introduction.md

File metadata and controls

102 lines (80 loc) · 4.04 KB

Game Introduction

Content 📑:

Game Operation 🎯

⭕ You can clck "Q" in game to check some basic game operation rules
  • Move: "W","A","S","D" (Represents respectely up,left,down,right)
  • Attack: "I","J","M","K" (Represents respectely up,left,down,right)
  • Help: "Q"

Game Composition 🚩

Characters 🚩

  • A main character 👦 ➡️ A knight with a gun 🔫

  • Two different friendly NPCs :neckbeard: ➡️ You can see in the main map

  • A simple enemy 👿 ➡️ Some monsters in wild map

  • A special enemy 👿 ➡️ Three bosses in boss map

Game Machanics 🔧

  • Core mechanics ➡️
  • Collision system ➡️ When player, npcs and the monsters collide with some barriers, they will stay still or just change the directions.
  • Resource system ➡️

Gameplay ⚔️

  • Main menu ➡️ When you start the game, the window will automatically display a tween animation 冤申, after which you can see the game starter page.
  • BGM ➡️ When you enter different maps, the bgmplayer will play different music. So, enjoy your fantastic tour in our game!

Code 📖

  • Very nice! 🌟

Game File Manage 🚀

  • Attributes.py

    • It is aimed to determine whether the event:collide occurs
      • Tips : classes maybe collided : obstacle / npc / boss / monster / portal
  • BgmPlayer.py

    • It is aimed to play 3 different BGMs : CITY / WILD_GRASS / BOSS_GRASS.
      • Tips : The BGM played now determined with current SceneType of the player.
  • GameManager.py

    • The most important part,which is aimed to manage the whole game,such as:
      • update all scenes / characters / events / BMGs
      • render all scenes / characters / events
      • flush or reset scenes,if your SceneType changes
      • and so on
  • Guide.py

    • It is aimed to generate and update the guideboard at the left top corner.
    • such as:“ 按‘Q’打开操作指南 ”
  • Main.py

    • The main manager of the game,which is aimed to update the display window / call GameManager to update and render the game
  • Maps.py

    • It is aimed to generate:
      • Maps for different scenes
      • Obstacles for different sences
    • Moreover,we use Breadth-First Search to determine whether the random-generated obstacles are appropriate
  • NPCs.py

    • It is aimed to generate four types of NPC characters:
      • DialogNpc,which can talk with player
      • ShopNPC,which can transaet with player
      • Monster,which moves randomly and player will lose HP if collided with them
      • Boss,which always moves towards the player and can attack player with bullet
  • Player.py

    • It is aimed to define all characteristics of the player and update it.Such as:
      • Parameters : HP / speed / directions and so on
      • Special images : Hold and turns the direction of guns according to the moving direction and so on
      • Abilities : Attack with gun / dialog with NPC and so on
      • and so on
  • PopUpBox.py

    • It is aimed to generate dialogbox / shopbox and update them
  • Portal.py

    • It is aimed to generate Protals in different maps:
      • in CITY_MAP : Transmit player to the corresponding WILD_MAP
      • in WILD_MAP : Transmit player to the BOSS_MAP
      • in BOSS_MAP : Transmit player to the CITY_MAP
  • Scene.py

    • It is aimed to generate all the things related to scenes of the game.Such as:
      • The updating of the camara
      • CityScene / WildScene / BossScene
      • GameOverScene
      • StartCG : “冤申”
      • StartMenu : “Press To Enter”
  • Settings.py

    • It is aimed to define all the settings of the game
  • StatusBar.py

    • It is aimed to generate and update all the states of characters.Such as:
      • HP / Money / Attack / Defence of the player
      • The Blood-State-Bar of the boss