Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reworking Game Modes #56

Open
BenCheung0422 opened this issue Dec 25, 2024 · 0 comments
Open

Reworking Game Modes #56

BenCheung0422 opened this issue Dec 25, 2024 · 0 comments

Comments

@BenCheung0422
Copy link
Member

Background

In the game, currently there are 4 modes: Survival, Creative, Hardcore and Score. However, the handling is not quite well, and their brief respective differences as below:

Feature Survival Creative Hardcore Score
Darkness rendering Yes No Yes Yes
Hotbar rendering Yes Hidden when empty Yes Yes
Arrow consumption for bow shooting Yes No Yes Yes
Time constrains No No No Yes, configurable
Health Yes Hidden Yes Yes
Stamina Yes No Yes Yes
Hunger Yes No Yes Yes
Score showing in debug display No No No Yes
Spawner instant kill No Yes No No
Spawner configuring No Yes No No
Hostile mob attacking Yes No Yes Yes
Mob instant kill No Yes No No
Score multiplication No No No Yes
"Flying" on sky level No Yes No No
Constant slime loot No No No Yes
Item consumption Yes No Yes Yes
Can always craft No Yes, but recipe must be unlocked No No
Boss tile effectiveness Yes No Yes Yes
Survival mode achievements Yes No Yes Yes
Can respawn Yes Yes No Yes

However, Game Modes should only affect player-oriented behaviors, so features like time constrains and spawner radius, changing world behaviors, are not favourable in this area. This system could not support multiplayer effectively.

Redefinition

Firstly, Game Mode has to be redefined. Now, Game Mode means player's gameplay mode in a world. This should only affect per-player features, but not world behaviors applying globally on every player.

Refined System

Score Mode would be removed from the game. Hardcore Mode would be removed from Game Modes because of the characteristics of the Hardcore Mode, but would be introduced in another system. Referring to Minecraft's implementation, we have:

  • Survival (as is)
  • Creative (more unified)
  • Adventure (useful for maps)
  • Spectator (useful for landscape maps)

For the Score Mode, it is not really flexible, and the scoring system would be entirely removed the game, but some features may be replaced by the Statistics System. For the modes, the implementation might be similar to Minecraft, but tweaking would still be required. Among them, Adventure and Spectator are the new modes to be introduced to the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment