- Move: "W","A","S","D" (Represents respectely up,left,down,right)
- Attack: "I","J","M","K" (Represents respectely up,left,down,right)
- Help: "Q"
- 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 ➡️
- 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!
- Very nice! 🌟
-
Attributes.py
- It is aimed to determine whether the event:collide occurs
- Tips : classes maybe collided : obstacle / npc / boss / monster / portal
- It is aimed to determine whether the event:collide occurs
-
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.
- It is aimed to play 3 different BGMs : CITY / WILD_GRASS / BOSS_GRASS.
-
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
- The most important part,which is aimed to manage the whole game,such as:
-
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
- It is aimed to generate:
-
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
- It is aimed to generate four types of NPC characters:
-
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
- It is aimed to define all characteristics of the player and update it.Such as:
-
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
- It is aimed to generate Protals in different maps:
-
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”
- It is aimed to generate all the things related to scenes of the game.Such as:
-
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
- It is aimed to generate and update all the states of characters.Such as: