Game modes¶
Introducing game modes¶
Game mode is a way of categorizing your games based on their gameplay mechanics, objectives, and themes. YAHAHA Studio provides you with a series of game modes, including Adventure, Time-limited, Item collection, Survival, Enemy killing, Monster killing, and Racing.
Adventure¶
An adventure game is a type of game that usually involves exploration, puzzle-solving, and a focus on narrative and story. In an adventure game, the player typically takes on the role of a protagonist who must navigate through a world or environment to solve puzzles, interact with non-player characters (NPCs), and progress through a story or plotline.
Time-limited¶
A time-limited game is a type of game that has a fixed duration or time limit for players to complete their objectives or reach a certain goal. This means that players have a limited amount of time to achieve their objectives, and the game ends when the time limit expires.
The time limit in a time-limited game can add a sense of urgency and challenge, as players must make decisions quickly and efficiently to achieve their goals before time runs out. Time-limited games can also create a more intense and exciting gameplay experience, as players must work under pressure to complete their objectives.
Item collection¶
An item collection game is a type of game where the primary objective is to collect various items that are scattered throughout the game world. These items can be anything from coins, gems, and power-ups to weapons, armor, and other unique items that are necessary to progress through the game.
Item collection games can be highly addictive, as players are often rewarded for their efforts with new items that can provide unique advantages or improve their character's abilities. The sense of progression and accomplishment that comes with collecting items and unlocking new features can keep players engaged and motivated to continue playing.
Survival¶
A survival game is a type of game where the primary objective is to survive in a challenging and often hostile environment. Players must gather resources, craft tools, and shelter, and fend off threats such as hunger, thirst, predators, and other hazards.
Survival games can be found in various genres, including action-adventure, RPGs, and first-person shooters. Some survival games are set in realistic, post-apocalyptic or wilderness environments, while others take place in fictional or fantasy worlds.
Survival games often feature non-linear gameplay, allowing players to choose their own path and make decisions that affect their survival. Players must manage limited resources and balance their needs with the risks and rewards of exploring dangerous or unknown areas.
Enemy killing¶
An enemy killing game is a type of game where the primary objective is to defeat enemies through combat. Players in an Enemy killing game typically control a character who is tasked with defeating enemies using a variety of weapons, abilities, and tactics.
Monster killing¶
A monster killing game is a type of game where the primary objective is to defeat monsters through combat. Players in a Monster killing game control a character who is tasked with defeating a variety of monsters using a range of weapons, abilities, and strategies.
Racing¶
A racing game is a type of game where players compete against each other or the computer in a race to the finish line. Players in a racing game control a vehicle and must navigate a course as quickly as possible. The courses can range from traditional racetracks to more unconventional locations, such as city streets, off-road tracks, and even outer space.
None¶
In this mode, you can customize your own game mode using community componets (Components). Level_GameState and Level_CustomTimeLimitedSettings are two examples.
Setting up a game mode¶
To set up a game mode:
-
Access the game mode window by opening the Settings Explorer window in YAHAHA Studio and clicking Game Mode.
-
Select a game type and configure it. If you choose None, you can implement your game mode using either Lua scripts or community components.
Setting up an adventure game¶
In this game mode, you have the freedom to implement your own gameplay mechanics as much as you like, and there is no time limit for your game.
Setting up a Time-limited game¶
Specify the time for the pregame timer and the ingame timer, which will be displayed as follows.
Timer type | Description | |
---|---|---|
A | Pregame timer | A pregame timer is a countdown clock that is used to indicate the amount of time remaining before a scheduled event or activity starts. Players and spectators use pregame timers to prepare themselves for the upcoming game, and to ensure that they are ready to participate or watch when the game starts. |
B | Ingame timer | An ingame timer is a countdown timer that is used within a game to measure the amount of time that a player has been playing. Ingame timers are often used in games that involve time-based challenges or time-limited events, such as racing games, platformers, or strategy games. |
Setting up an Item Collection game¶
In the Item collection game type, you can specify the items that players need to collect, winning conditions, and timers.
- Select the items that players need to collect. If you haven't created any items yet, you can create them using models.
- Specify the number of items that a player needs to collect to win the game.
- Specify the number of winners in the game.
- Set up the pregame timer and the ingame timer.
Setting up a Survival game¶
You only need to set up the pregame timer and the ingame timer. In this game type, the last surviving player wins the game. If players play the game by side, the players on the last side win the game.
Configuring an Enemy-killing game¶
- Specify the number of enemies that a player needs to kill in order to win the game. Enemies can only be other players.
- Specify the number of winners in the game.
- Choose whether the players are spawnable.
- Set up the pregame timer and the ingame timer.
Setting up a Monster-killing game¶
- Select a monster. If there isn't any monster yet, create one.
- Specify the number of monsters that a player needs to kill in order to win the game. Monsters are NPCs.
- Specify the number of winners in the game.
- Choose whether the players are spawnable.
- Set up the pregame timer and the ingame timer.
Setting up a Racing game¶
- Select an object in the scene as the destination of the racing.
- Specify the number of winners in the game.
- Set up the pregame timer and the ingame timer.