Virtual Reality Game Running Method, Device, Equipment and Storage Medium
Through the game platform created by virtual reality technology, players can experience and observe the ecological environment in the virtual environment, solving the problem of lack of direct interaction in online learning, and improving the interest and efficiency of learning ecological knowledge.
Patent Information
- Application Number
- CN202410998881.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2044-07-24
AI Technical Summary
In the prior art, learning wetland knowledge through the Internet cannot allow people to observe and personally experience the wetland ecological environment on the spot, and lack direct interaction and practical experience with the wetland ecological environment, resulting in low learning interest and efficiency.
Create a game platform through virtual reality technology, display objects and gameplay lists, generate game tasks, create virtual game scenes, and complete tasks by controlling virtual characters to achieve immersive experience and learning ecological knowledge.
It improves people's interest and efficiency in learning ecological knowledge, enriches learning methods, and solves the problem of lack of direct interaction and practical experience.
Smart Images

Figure CN118925239B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game technologies, and in particular, to a method, device, equipment, and storage medium for operating a virtual reality game. Background Art
[0002] Wetland parks are a type of park with specific functions and values. Based on the good ecological environment and diverse wetland landscape resources of wetlands, they aim to popularize science education about wetlands, utilize their functions, and promote wetland culture. At the same time, they are equipped with a certain scale of tourism and leisure facilities for people to carry out activities such as tourism sightseeing and leisure entertainment. With the continuous improvement of people's awareness of wetland protection and the in-depth promotion of ecological civilization construction, the construction and development of wetland parks have received more and more attention and support. Currently, a large number of wetland parks have been established across the country, providing the public with rich wetland ecological experience and science education opportunities.
[0003] In the prior art, people can personally experience the wetland ecological environment and learn wetland knowledge in wetland parks. For those who are not in the same city as the wetland park, they can learn wetland knowledge through the promotional videos or documents published by the wetland park on the Internet. However, the way of learning wetland knowledge through the Internet cannot allow people to observe and experience the wetland ecological environment on-site, lacking direct interaction and practical experience with the wetland ecological environment, resulting in a low learning interest in wetland knowledge among people, and thus affecting the learning efficiency of wetland knowledge. Summary of the Invention
[0004] This application provides a method, device, equipment, and storage medium for operating a virtual reality game, so as to create a game platform for popularizing ecological knowledge through virtual reality technology, enabling players to personally experience and observe various ecological environments through the game platform, solving the problem of lacking direct interaction and practical experience with the ecological environment in the prior art, and being conducive to improving people's learning interest in ecological knowledge and the learning efficiency of ecological knowledge.
[0005] In a first aspect, this application provides a method for operating a virtual reality game, which is applied to a VR device and includes:
[0006] Display an object list and a gameplay type list in the game interface, and respectively determine the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list;
[0007] Obtain the environmental type and species type corresponding to the target object, and generate a game task according to the target gameplay type, the environmental type, and the species type;
[0008] Obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene;
[0009] Update the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character.
[0010] In a second aspect, the present application provides a virtual reality game operation device, which is applied to a VR device and includes:
[0011] An object gameplay determination module, configured to display an object list and a gameplay type list in a game interface, and respectively determine the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list;
[0012] A game task generation module, configured to obtain the environment type and species type corresponding to the target object, and generate a game task according to the target gameplay type, the environment type, and the species type;
[0013] A game scene creation module, configured to obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene;
[0014] A task progress update module, configured to update the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character.
[0015] In a third aspect, the present application provides a virtual reality game operation device, including:
[0016] One or more processors;
[0017] A memory, storing one or more programs, when the one or more programs are executed by the one or more processors, enabling the one or more processors to implement the virtual reality game operation method as described in the first aspect.
[0018] In a fourth aspect, the present application provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the virtual reality game operation method as described in the first aspect when executed by a computer processor.
[0019] In this application, by displaying an object list and a gameplay type list in the game interface, the target object and the target gameplay type selected by the player are determined respectively according to the selection operations on the object list and the gameplay type list; the environmental type and species type corresponding to the target object are obtained, and a game task is generated according to the target gameplay type, environmental type and species type; the game map corresponding to the target object is obtained, and a virtual game scene is created according to the game map and the game task, and a first virtual character is created in the virtual game scene; according to the first control operation on the first virtual character, the task completion progress of the first virtual character for the game task is updated. Through the above technical means, a game platform for popularizing ecological knowledge is created based on virtual reality technology. Players can log in to the game platform through VR devices to immerse themselves in the virtual reality world created by the game platform, experience and observe various ecological environments in the virtual reality world, and learn knowledge about ecological environments and ecological species by completing game tasks. While solving the problem of the lack of direct interaction and practical experience with the ecological environment in the prior art, it enriches the way for players to learn ecological knowledge, is conducive to improving people's interest in learning ecological knowledge, and improves the learning efficiency of ecological knowledge. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flowchart of a virtual reality game running method provided by an embodiment of the present application;
[0021] Figure 2 is a flowchart of generating a recommendation prompt in the object list provided by an embodiment of the present application;
[0022] Figure 3 is a flowchart of generating a game task for finding species provided by an embodiment of the present application;
[0023] Figure 4 is a flowchart of generating a game task for finding species provided by an embodiment of the present application;
[0024] Figure 5 is a flowchart of creating a virtual game scene according to the game scene and the game task of finding species provided by an embodiment of the present application;
[0025] Figure 6 is a flowchart of creating a virtual game scene according to the game scene and the game task of repairing the environment provided by an embodiment of the present application;
[0026] Figure 7 is a schematic structural diagram of a virtual reality game running device provided by an embodiment of the present application;
[0027] Figure 8 is a schematic structural diagram of a virtual reality game running device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] To make the objectives, technical solutions and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for ease of description, only parts related to the present application are shown in the accompanying drawings, rather than all the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but it can also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0029] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0030] In more common existing implementation methods, people can personally experience the wetland ecological environment and learn wetland knowledge in the wetland park. For people not in the same city as the wetland park, they can learn wetland knowledge through the promotional videos or documents published online by the wetland park. However, the way of learning wetland knowledge through the network cannot allow people to observe and experience the wetland ecological environment on the spot, lacking direct interaction and practical experience with the wetland ecological environment, resulting in a relatively low learning interest in wetland knowledge among people, and further affecting the learning efficiency of wetland knowledge.
[0031] To solve the above problems, this embodiment provides a method for running a virtual reality game, so as to create a game platform for popularizing ecological knowledge through virtual reality technology, so that players can personally experience and observe various ecological environments through the game platform and learn ecological knowledge by completing game tasks, which is beneficial to improving people's learning interest in ecological knowledge and improving the learning efficiency of ecological knowledge.
[0032] The virtual reality game running method provided in this embodiment can be executed by a virtual reality game running device, which can be implemented by software and / or hardware. The virtual reality game running device can be composed of two or more physical entities, or it can be composed of one physical entity. For example, the virtual reality game running device can be a VR device, and the VR device includes VR glasses and a game controller. The VR glasses are used to display the game screen and process the game operations input by the player, and the game controller is used to obtain the game operations input by the player and transmit them to the VR glasses. Among them, the game controller can be a remote control device or a somatosensory device. The remote control device obtains the game operations input by the player when the player operates its joystick, and the somatosensory device obtains the game operations input by the player when the player makes human body movements. Specifically, the virtual reality game running device can also be VR glasses, that is, in the process of VR glasses running virtual reality games, the game controller sends the game operations input by the player to the VR glasses, and the VR glasses process the game operations and display the game screen obtained by the processing.
[0033] The virtual reality game running device is installed with at least one type of operating system, wherein the operating system includes but is not limited to Android system, Linux system and Windows system. The virtual reality game running device can install at least one application based on the operating system, and the application can be an application that comes with the operating system, or an application downloaded from a third-party device or server. In this embodiment, the virtual reality game running device has at least an application that can execute the virtual reality game running method. For example, the application that executes the virtual reality game running method can be a virtual reality game application.
[0034] For ease of understanding, this embodiment is described by taking a VR device as an example of a subject for executing a virtual reality game running method.
[0035] Figure 1 A flowchart of a method for running a virtual reality game provided in an embodiment of the present application is given. Figure 1 , the virtual reality game running method specifically includes:
[0036] S110: Displaying an object list and a gameplay type list in the game interface, and determining a target object and a target gameplay type selected by the player according to selection operations on the object list and the gameplay type list.
[0037] Among them, the object refers to the virtual ecological park provided by the virtual reality game for players to explore and experience. The ecological park can be a wetland park, a forest park, etc. The target object is the virtual ecological park selected by the player to explore and experience through the virtual reality game. The gameplay type refers to the type of gameplay integrated by the virtual reality game in the virtual ecological park. The gameplay can include exploring the object, puzzle answering, species searching, and environmental restoration, etc. The target gameplay type is the type of gameplay selected by the player through the virtual reality game in the virtual ecological park.
[0038] Exemplarily, a VR device is installed with a virtual reality game. When the virtual reality game runs, it can render a virtual game scene of the target object in the VR glasses of the VR device, and create corresponding game tasks under the virtual game scene based on the target gameplay, so that players can experience and observe the target object in the virtual game scene and learn the ecological knowledge of the target object through the game tasks. For example, after the player starts the virtual reality game installed on the VR device and logs in to the virtual reality game through a pre-registered game account, the game interface of the virtual reality game is displayed in the VR glasses of the VR device. Two game entrances are displayed in the game interface. One game entrance is to continue the game, and the other game entrance is to restart the game. If the player selects the game entrance to continue the game, a save window can pop up in the game interface. The save window displays the game records of the objects and corresponding gameplay types that the player has experienced historically. The player can select the game records in the save window to continue experiencing the corresponding objects and gameplay. If the player selects the game entrance to restart the game, a list window can pop up in the game interface. The list window displays an object list and a gameplay type list. The player can select the object and gameplay type to re-experience from the object list and the gameplay type list.
[0039] The selection operation is that the player inputs a selection operation for any object and gameplay type in the object list and the gameplay type list. The VR device can determine the target object selected by the player for the object and the target gameplay type according to the selection operation.
[0040] In this embodiment, after the object list and the gameplay type list are displayed in the game interface, appropriate objects can be recommended to the player according to the player's age, historical game records, and geographical location. Exemplarily, Figure 2 is the flowchart of generating a recommendation prompt in the object list provided by the embodiment of the present application. As Figure 2 shown, the steps of generating a recommendation prompt in the object list specifically include S1101 - S1105:
[0041] S1101. Determine the geographical distance between the player and each object according to the geographical location of the player and the geographical locations of the objects in the object list.
[0042] Among them, the geographical location of the player is the actual location of the player in the real world, and the geographical location of the object is the actual location of the object in the real world. It can be understood that the virtual ecological park provided by the virtual reality world actually exists in the real world. In this embodiment, a virtual game scene of the ecological park in the real world is created in the game platform through virtual reality technology, so that players can personally experience and observe the ecological park in the virtual game scene without traveling far.
[0043] Exemplarily, the geographical location of the player can be obtained through the global positioning system of the VR device, and the geographical distance between the player and each object in the real world can be determined according to the geographical location of the player and the pre-set geographical locations of each object.
[0044] S1102. Determine the degree of preference of the player for each object according to the player's historical game records.
[0045] Exemplarily, the VR device can determine the number of times the player experiences various objects according to the player's historical game records, and determine the degree of preference of the player for each object according to the number of experience times of each object. Among them, the number of experience times is positively correlated with the degree of preference.
[0046] S1103. Determine the degree of adaptation of the player to each object according to the player's age.
[0047] Exemplarily, the VR device can obtain the age of the corresponding player according to the logged-in game account, or recognize the age of the player according to the collected facial image of the player. It can be understood that for players of different ages, the types of ecological parks they can learn and understand are different. Therefore, the virtual reality game pre-sets a mapping relationship table of the degree of adaptation of players of each age to each object, and the degree of adaptation of the player to each object can be determined by querying the mapping relationship table according to the player's age.
[0048] S1104. Determine the recommendation coefficient of each object according to the geographical distance, degree of preference and degree of adaptation of each object.
[0049] Exemplarily, a weighted sum processing is performed on the geographical distance, degree of preference, and degree of adaptation of each object to obtain the recommendation coefficient of each object. Among them, the weight coefficients of the geographical distance, degree of preference, and degree of adaptation are all positive numbers, and the weight coefficients can be the same or different. It can be understood that the greater the geographical distance between the object and the player, the smaller the probability that the player will experience the object in the real world, and the greater the probability that the player will choose to experience the object in the virtual reality game. Therefore, the weight coefficient of the geographical distance can be set as a positive number; the higher the degree of preference of the player for the object, the greater the probability that the player will choose to experience the object in the virtual reality game. Therefore, the weight coefficient of the degree of preference can be set as a positive number; the higher the degree of adaptation of the player to the object, the greater the probability that the player will choose to experience the object in the virtual reality game. Therefore, the weight coefficient of the degree of adaptation can be set as a positive number.
[0050] S1105. Generate corresponding recommendation prompts in the object list according to the recommendation coefficients of each object.
[0051] Exemplarily, each object can be sorted according to the recommendation coefficient from large to small according to the recommendation coefficients of each object, and the sorted objects are displayed in the object list, and the recommendation coefficients of each object are marked in the object list, so that the player can quickly select the object they want to experience at the front of the object list.
[0052] S120. Obtain the environmental type and species type corresponding to the target object, and generate game tasks according to the target gameplay type, environmental type, and species type.
[0053] Among them, the environmental type is the type of ecological environment included in the target object, and the species type is the type of ecological species included in the target object. For example, a wetland park can include ecological environments such as river wetlands, lake wetlands, marsh wetlands, and tidal flats, and a wetland park can include various ecological species such as birds, fish, and plants. In this embodiment, the target object is the wetland park B in area A. After determining that the target object is the wetland park B and the target gameplay type integrated with the wetland park B, the corresponding environmental type and species type included in it can be obtained from the database of the wetland park B, and game tasks that the player needs to complete when exploring and experiencing the wetland park B are generated according to the target gameplay type, environmental type, and species type, so that the player can learn the ecological knowledge of the wetland park B while completing the game tasks.
[0054] Exemplarily, when the target gameplay type is to explore the object, the path for the player to explore the wetland park B can be planned according to each species type and each environmental type in the wetland park B, and game tasks for exploring the object are generated according to the path. When the target gameplay type is puzzle answering, multiple puzzles can be generated according to the characteristics of each species type and each environmental type in the wetland park B, and game tasks for puzzle answering are generated according to the multiple puzzles.
[0055] When the target gameplay type is to find species, game tasks for finding species can be generated according to various species types and the environmental types in which each species inhabits in Wetland Park B. When there are many species types in Wetland Park B, some species types can be randomly selected to generate game tasks for finding species. In this embodiment, Figure 3 is a flowchart for generating game tasks for finding species provided by an embodiment of the present application. As Figure 3 shown, the steps for generating game tasks for finding species specifically include S1201 - S1203:
[0056] S1201. Determine the corresponding first weight according to the rarity of each species type, sort each species type based on the first weight to obtain a species list, and generate multiple first random numbers according to the total weight of each species type.
[0057] Exemplarily, the rarities of different species in Wetland Park B are different. The rarity of each species can be preset in advance. When generating game tasks for finding species, determine the rarity of each species type according to the species types corresponding to Wetland Park B, determine the first weight of the species type according to the rarity of the species type, and the first weight is positively correlated with the rarity. Sort each species type in Wetland Park B in descending or ascending order of the first weight to obtain a species list, and accumulate the first weights of each species type in the species list to obtain the total weight of each species type. Randomly select multiple numbers from zero to the total weight as the first random numbers. For example, when the total weight is 50, randomly select multiple numbers from 0 to 50 as the first random numbers, and the first random numbers can be integers or non - integers.
[0058] S1202. In the case where the cumulative value of the first weights of the species type and the previous multiple species types in the species list is greater than or equal to any first random number, determine the species type as the target species type to be found.
[0059] Exemplarily, traverse the species list, accumulate the first weights of the i-th species type in the species list and the previous multiple species types, that is, the first to the i-1-th species types, to obtain the accumulated value of the first weights of the i-th species type and the previous multiple species. When the accumulated value of the first weight corresponding to the i-th species type is greater than or equal to any first random number, determine the i-th species type as the target species type to be randomly selected and searched for. It can be understood that the greater the first weight of the species type, the greater the probability of it being randomly selected. Therefore, the species type with a higher rarity has a greater probability of being the target species type to be searched for. In this embodiment, by increasing the extraction probability of rare species, the probability of generating a game task of searching for rare species is increased, so that players can effectively learn knowledge about rare species during the process of completing the game task, thereby enhancing players' awareness of protecting rare species. Although the extraction probability of rare species is increased, the target species type is still randomly selected, and the probability of repeatedly generating a search task for the same species is relatively low, ensuring the playability of the game play of searching for species.
[0060] S1203. Generate corresponding game subtasks according to the target species type and the environmental type in which the target species type inhabits, and combine the game subtasks corresponding to each target species type to obtain a game task of searching for species.
[0061] Exemplarily, after determining multiple target species types, determine the type of ecological environment in which they inhabit in the target object according to the database of the target species type, and generate a game subtask of searching for the target species type according to the target species type and the corresponding inhabiting environmental type. Combine the game subtasks corresponding to each target species type to generate a game task of searching for species. For example, after determining that the target species types to be searched for in Wetland Park B are Species C and Species D, if it is determined according to the database of Species C that its inhabiting ecological environment is tidal wetland, and according to the database of Species D that its inhabiting ecological environment is swamp wetland, then a game subtask X1 of searching for Species C in the tidal wetland of Wetland Park B can be generated according to Species C and the tidal wetland, and a game subtask X2 of searching for Species D in the swamp wetland of Wetland Park B can be generated according to Species D and the swamp wetland. Combining game subtask X1 and game subtask X2 can obtain a game task X of searching for Species C and Species D.
[0062] In this embodiment, the first weight of each species type corresponding to the target object is determined according to the rarity of each species type. The probability of each species type being drawn is adjusted based on the first weight of each species type. The target species type to be searched is drawn from each species type according to the drawn probability of each species type. A game task is generated according to the target species type and the corresponding habitat environment type, ensuring the randomness of the game task generation while increasing the probability that a species type with high rarity is drawn as the target species type, so that players can effectively learn knowledge about rare species during the process of completing the game task.
[0063] When the target gameplay type is environmental restoration, a game task for environmental restoration can be generated according to the environmental elements and species types included in each environmental type in Wetland Park B. When there are many environmental types in Wetland Park B or the ecological areas corresponding to each environmental type are too large, an environmental type can be randomly selected to generate a game task for environmental restoration. In this embodiment, Figure 4 is the flowchart of generating a game task for finding a species provided by an embodiment of the present application. As Figure 4 shown, the steps of generating the game task for environmental restoration specifically include S1204 - S1206:
[0064] S1204. Determine the corresponding second weight according to the rarity of each environmental type, sort each environmental type based on the second weight to obtain an environmental list, and generate a second random number according to the total weight of each environmental type.
[0065] Exemplarily, the rarities of different ecological environments in Wetland Park B are different, and the rarity of each ecological environment can be preset in advance. When generating a game task for environmental restoration, the rarity of each environmental type is determined according to the environmental type corresponding to Wetland Park B, the second weight of the environmental type is determined according to the rarity of the environmental type, and the second weight is positively correlated with the rarity. Sort each environmental type in Wetland Park in descending or ascending order of the second weight to obtain an environmental list, and accumulate the second weights of each environmental type in the environmental list to obtain the total weight of each environmental type. Randomly draw a number between zero and the total weight as the second random number, and the second random number can be an integer or a non-integer.
[0066] S1205. When the cumulative value of the second weights of the environmental type and the previous multiple environmental types in the environmental list is greater than or equal to the second random number, determine the environmental type as the target environmental type to be restored.
[0067] Exemplarily, traverse the list of environments, and accumulate the second weights of the j-th environment type in the environment list with the previous multiple environment types, that is, the first to the (j - 1)-th environment types, to obtain the accumulated value of the second weights of the j-th environment type and the previous multiple environments. When the accumulated value of the second weight corresponding to the j-th environment type is greater than or equal to the second random number, determine the environment type as the target environment type to be repaired. It can be understood that the greater the second weight of the environment type, the greater the probability of being randomly selected. Therefore, the higher the rarity of the environment type, the greater the probability of being used as the target environment type to be repaired. In this embodiment, by increasing the extraction probability of rare environments, the probability of generating game tasks for repairing rare environments is increased, so that players can effectively learn knowledge about rare environments during the process of completing game tasks, thereby enhancing players' awareness of protecting rare environments. Although the extraction probability of rare environments is increased, the target environment type is still randomly selected, and the probability of repeatedly generating repair tasks for the same environment is relatively low, ensuring the playability of the game play of repairing environments.
[0068] S1206. Generate multiple game subtasks according to the environmental elements and species types corresponding to the target environment type, and combine the multiple game subtasks to obtain a game task for repairing the environment.
[0069] Exemplarily, the environmental elements corresponding to the target environment type include water bodies and soil, etc., and the species type corresponding to the target environment type is the type of species inhabiting the target environment. The environmental elements and species together form an ecological environment. Game subtasks for restoring environmental elements can be generated according to the environmental elements corresponding to the target environment type, and game subtasks for moving species back to their habitats can be generated according to the species type corresponding to the target environment type. Combine the game subtasks corresponding to each target environment type to generate a game task for repairing the environment.
[0070] It should be noted that when there are many environmental elements and species types, some environmental elements and some species types can be randomly selected from the multiple environmental elements and species types to generate corresponding game subtasks. For example, after determining that the target environment type to be repaired in Wetland Park B is Environment E, determine the environmental elements and material types corresponding to Environment E according to the database of Environment E. If environmental element F and material G are extracted from the environmental elements and material types corresponding to Environment E, then a game subtask Y1 for restoring environmental element F can be generated according to environmental element F, and a game subtask Y2 for moving species G back to its habitat can be generated according to species G. Combine game subtask Y1 and game subtask Y2 to obtain a game task Y for repairing Environment E. Among them, when extracting, the probabilities of environmental elements and species types being drawn can be adjusted according to the rarity of environmental elements and the rarity of species types.
[0071] In this embodiment, the second weight of each environmental type corresponding to the target object is determined according to the rarity of each environmental type. The probability of each environmental type being drawn is adjusted based on the second weight of each environmental type. The target environmental type to be repaired is drawn from each environmental type according to the drawn probability of each environmental type. Game tasks are generated according to the environmental elements and species types corresponding to the target environmental type, ensuring the randomness of game task generation while increasing the probability of the environmental type with high rarity being drawn as the target environmental type, so that players can effectively learn knowledge about rare environments during the process of completing game tasks.
[0072] S130. Obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene.
[0073] Exemplarily, the virtual reality game stores the resources of the game maps of each object, and the game map of the target object can be obtained from the resources of the game maps of each object. Then, a virtual game scene is created according to the game map and the game task, so that players can experience and explore the target object in the virtual game scene and complete the game task.
[0074] When the game task is to explore an object, a virtual game scene can be created according to the game map, path guiding symbols are marked on the path in the virtual game scene according to the path in the game task, and knowledge texts of each species type and environmental type in Wetland Park B are added at corresponding positions on the path to guide players to correctly explore Wetland Park B and learn the relevant knowledge of each species type and environmental type. When the game task is a puzzle quiz, a virtual game scene can be created according to the game map, and answer trigger points are added at corresponding positions in the virtual game scene according to the environmental type and / or species type related to each puzzle in the game task, so that players can answer questions when they move to the answer trigger points.
[0075] When the game task is to find Species C and Species D, a virtual game scene can be created according to the game map, and corresponding virtual species are created in the habitats of Species C and Species D in the virtual game scene, so that players can find the virtual species corresponding to Species C and Species D in the virtual game scene. In this embodiment, Figure 5 is the flowchart of creating a virtual game scene according to the game scene and the game task of finding species provided by the embodiment of the present application. As Figure 5 shown, the steps of creating a virtual game scene according to the game scene and the game task of finding species specifically include S1301 - S1304:
[0076] S1301. Create a virtual game scene according to the game map, and determine the first scene area corresponding to the environmental type of the game subtask in the virtual game scene.
[0077] Exemplarily, the VR device creates a virtual game scene according to the game map of Wetland Park B, determines the first scene area corresponding to the tidal flat wetland in the virtual game scene according to the game sub-task X1 of searching for species C in the tidal flat wetland of Wetland Park B, and determines the first scene area corresponding to the swamp wetland in the virtual game scene according to the game sub-task X2 of searching for species D in the swamp wetland of Wetland Park B. Herein, the first scene area can be understood as the virtual area in the virtual game scene of the environmental type of the game sub-task.
[0078] S1302. Determine the geographical information of the target species type in the environmental type where it inhabits according to the target species type of the game sub-task.
[0079] Exemplarily, the target species type of the game sub-task X1 is species C. Determine the geographical information of species C in the corresponding inhabited tidal flat wetland according to the database of Wetland Park B, that is, determine the specific location range where species C inhabits in the tidal flat wetland.
[0080] S1303. Determine the similar species types of the target species type according to the species type and appearance image of the target species type.
[0081] Exemplarily, determine the species with similar types among the various species types of Wetland Park B according to the species type of the target species type, and determine the species with similar appearance images among the similar species as the corresponding similar species types.
[0082] S1304. Create virtual species corresponding to the target species type and the similar species types in the first scene area according to the geographical information of the target species type.
[0083] Exemplarily, create virtual species corresponding to species C and the similar species types in the first scene area corresponding to the tidal flat wetland according to the geographical information of species C in the corresponding inhabited tidal flat wetland. Create virtual species corresponding to species D and the similar species types in the first scene area corresponding to the swamp wetland according to the geographical information of species D in the corresponding inhabited swamp wetland. It can be understood that in this embodiment, the virtual species corresponding to the target species type and the similar species types are all created in the habitat of the target material type in the corresponding first scene area, so that players can distinguish the target species type and the similar species types according to the virtual images and movement habits of the target species type and the similar species types, increasing the difficulty for players to search for the target species, which is beneficial to deepening players' impression of the target species and improving the efficiency of players' learning ecological knowledge.
[0084] When the game task is to repair the environment E, a virtual game scene can be created according to the game map. In the virtual game scene, determine the virtual area of the environment E, and adjust the element attributes of the environmental elements and the habitats of the species in the virtual area, so that the player can repair the element attributes of the environmental elements of the environment E and migrate the species back to the habitat. In this embodiment, Figure 6 is a flowchart for creating a virtual game scene according to the game scene and the game task of repairing the environment provided by the embodiment of the present application. As Figure 6 shown, the steps for creating a virtual game scene according to the game scene and the game task of repairing the environment specifically include S1305 - S1307:
[0085] S1305. Create a virtual game scene according to the game map, and determine the second scene area corresponding to the target environment type in the virtual game scene.
[0086] Exemplarily, the VR device creates a virtual game scene according to the game map of the wetland park B, and determines the second scene area corresponding to the environment E in the virtual game scene. Among them, the second scene area can be understood as the virtual area of the target environment type in the virtual game scene.
[0087] S1306. According to the environmental elements of the game subtask, adjust the distribution position and element attributes of the corresponding virtual elements in the second scene area.
[0088] Exemplarily, the game subtask Y1 is to restore the environmental element F. The distribution position and element attributes of the virtual element corresponding to the virtual environmental element F in the second scene area can be adjusted. For example, if the virtual environmental element F in the second scene area was originally located at point A, then move the virtual environmental element F to point B, and if the element attribute of the virtual environmental element F was originally attribute A, then modify the element attribute of the virtual environmental element F to attribute B. The original distribution position and element attributes of the virtual environmental element F presented in the second scene area met the requirements of the environment E. After the modification, they do not meet the requirements of the environment E. The player needs to restore the distribution position and element attributes of the virtual environmental element F to the distribution position and element attributes that meet the requirements of the environment E when experiencing and exploring the second scene area. The player can learn knowledge about the virtual environmental element F during the process of completing the game subtask of restoring the environmental element F, improving the efficiency of the player's learning of ecological knowledge.
[0089] S1307. According to the species type of the game subtask, adjust the distribution position of the corresponding virtual species in the second scene area.
[0090] Exemplarily, the game sub-task Y2 is to move the species G back to its habitat, and the distribution position of the virtual species G in the second scene area can be adjusted. For example, if the virtual species G in the second scene area was originally located in habitat A, then move the virtual species G to a position outside habitat A. The original distribution position of the virtual species F presented in the second scene area met the requirements of the environment E, but after the modification, it does not meet the requirements of the environment E. Players need to restore the distribution position of the virtual species G to a position that meets the requirements of the environment E when experiencing and exploring the second scene area, that is, move the virtual species G back to habitat A. Players can learn knowledge about the species G during the process of completing the game sub-task of moving the species G back to its habitat, improving the efficiency of players' learning of ecological knowledge.
[0091] In this embodiment, by adjusting the distribution position and element attributes of the virtual environmental elements in the second scene area corresponding to the target environmental type, and adjusting the distribution position of the virtual species in the second scene area, so that players can identify the virtual environmental elements and virtual species with incorrect positions and the virtual environmental elements with incorrect attributes in the second scene area, and learn knowledge about environmental elements and species during the identification process, improving the efficiency of players' learning of ecological knowledge.
[0092] After creating the virtual game scene, a first virtual character can be added to the virtual game scene so that players can experience the virtual wetland park B presented by the virtual game scene by controlling the first virtual character.
[0093] S140. Update the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character.
[0094] Among them, the first control operation is an operation for the player to input to control the exploration of the virtual game scene by the first virtual character. Exemplarily, the player can input the first operation to control the movement of the first virtual character in the virtual game scene and execute game tasks. For example, if the game task is to explore an object, the player can operate the first virtual character to move along the path guiding symbols marked in the virtual game scene, and update the task completion progress of the first virtual character for the game task according to the distance between the position of the first virtual character in the path of the game task and the end point of the path. If the game task is a puzzle quiz, the player can operate the first virtual character to move to the answer trigger point in the virtual game scene. When the first virtual character moves to the answer trigger point, the corresponding puzzle will be displayed. The player can operate the first virtual character to answer the questions, and update the task completion progress of the first virtual character for the game task according to the number of questions answered. If the game task is to find a species, the player can operate the first virtual character to go to the first scene area corresponding to the environmental type where the target species type inhabits, and search for the virtual species corresponding to the target species type in the first scene area, and update the task completion progress of the first virtual character for the game task according to the number of target species types found. If the game task is to restore the environment, the player can operate the first virtual character to go to the second scene area corresponding to the target environmental type, and operate the first virtual character to restore the virtual environmental elements and virtual species that do not meet the requirements in the target environmental type, and update the task completion progress of the first virtual character for the game task according to the number of restored virtual environmental elements and virtual species.
[0095] In one embodiment, after the player completes the game task corresponding to Wetland Park B, a check-in task for the player to go to Wetland Park B in the real world for check-in can be generated according to the geographical location of Wetland Park B in the real world. The specific implementation process is as follows: Determine whether the target object and the player are in the same city according to the geographical location information of the target object and the geographical location information of the player; in the case where the target object and the player are in the same city, issue a check-in task to the player according to the target object. The check-in task is a task for the player to go to the target object in the real world for check-in when completing the game task; perform check-in authentication according to the object image uploaded by the player, and determine that the player has completed the check-in task after the authentication is successful.
[0096] Exemplarily, determine the city where Wetland Park B is located according to the geographical location of Wetland Park B in the real world, and obtain the geographical location range of the city. Obtain the geographical location of the player in the real world through the global positioning system of the VR device. If the geographical location of the player in the real world falls within the geographical location range of the city where Wetland Park B is located, it is determined that Wetland Park B and the player are in the same city; otherwise, it is determined that Wetland Park B and the player are in different cities. When the player and Wetland Park B are in different cities, it is difficult for the player to go to Wetland Park B in the real world, so a check-in task may not be generated. When the player and Wetland Park B are in the same city, it is more convenient for the player to go to Wetland Park B in the real world. To encourage the player to experience Wetland Park B on-site, a check-in task of taking a photo at Wetland Park B in the real world can be issued to the player. After the player obtains the check-in task in the VR device, the player can carry a camera device to go to Wetland Park B in the real world, and take pictures of the landmarks of Wetland Park B through the camera device to obtain an object image. The object image is uploaded to the virtual reality game of the VR device, so that the VR device can verify whether the player has gone to the real-world Wetland Park for check-in by authenticating the landmarks in the object image. After successful authentication, it can be determined that the player has completed the check-in task, and the corresponding check-in reward is sent to the player. In this embodiment, when it is determined that the player and the target object are in the same city in the real world, a check-in task of going to the target object in the real world is issued to the player, so as to encourage the player to experience the target object in the real world on-site and deepen the understanding of the ecological knowledge of the target object.
[0097] In summary, the virtual reality game operation method provided by the embodiment of the present application displays an object list and a gameplay type list in the game interface, and determines the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list respectively; obtains the environment type and species type corresponding to the target object, and generates a game task according to the target gameplay type, environment type and species type; obtains the game map corresponding to the target object, creates a virtual game scene according to the game map and the game task, and creates a first virtual character in the virtual game scene; updates the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character. Through the above technical means, a game platform for popularizing ecological knowledge is created based on virtual reality technology. Players can log in to the game platform through the VR device to immerse themselves in the virtual reality world created by the game platform, experience and observe various ecological environments in the virtual reality world, and learn knowledge about ecological environments and ecological species by completing game tasks. While solving the problem of the lack of direct interaction and practical experience with the ecological environment in the prior art, it enriches the way for players to learn ecological knowledge, is conducive to improving people's interest in learning ecological knowledge, and improves the learning efficiency of ecological knowledge.
[0098] Based on the above embodiments, Figure 7 is a schematic structural diagram of a virtual reality game running device provided by an embodiment of the present application. Refer to Figure 7 , the virtual reality game running device provided in this embodiment specifically includes: an object gameplay determination module 21, a game task generation module 22, a game scene creation module 23, and a task progress update module 24.
[0099] Among them, the object gameplay determination module 21 is configured to display an object list and a gameplay type list in the game interface, and respectively determine the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list;
[0100] The game task generation module 22 is configured to obtain the environmental type and species type corresponding to the target object, and generate a game task according to the target gameplay type, environmental type, and species type;
[0101] The game scene creation module 23 is configured to obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene;
[0102] The task progress update module 24 is configured to update the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character.
[0103] Based on the above embodiments, the target gameplay type is to search for species; correspondingly, the game task generation module 22 includes: a first random number acquisition unit, configured to determine the corresponding first weight according to the rarity of each species type, sort each species type based on the first weight to obtain a species list, and generate multiple first random numbers according to the total weight of each species type; a target species type determination unit, configured to determine the species type as the target species type to be searched when the cumulative value of the first weights of the species type and the previous multiple species types in the species list is greater than or equal to any first random number; a first game task generation unit, configured to generate corresponding game subtasks according to the target species type and the environmental type in which the target species type inhabits, and combine the game subtasks corresponding to each target species type to obtain a game task for searching for species.
[0104] Based on the above-mentioned embodiments, the game scene creation module 23 includes: a first scene area determination unit, configured to create a virtual game scene according to the game map, and determine a first scene area corresponding to the environmental type of the game sub-task in the virtual game scene; a geographical information determination unit, configured to determine the geographical information of the target species type in the environmental type in which it inhabits according to the target species type of the game sub-task; a similar species type determination unit, configured to determine the similar species type of the target species type according to the species type and appearance image of the target species type; a virtual species creation unit, configured to create virtual species corresponding to the target species type and the similar species type in the first scene area according to the geographical information of the target species type.
[0105] Based on the above-mentioned embodiments, the target gameplay type is environmental restoration; correspondingly, the game task generation module 22 includes: a second random number acquisition unit, configured to determine corresponding second weights according to the rarity of each environmental type, sort each environmental type based on the second weights to obtain an environmental list, and generate a second random number according to the total weights of each environmental type; a target environmental type determination unit, configured to determine the environmental type as the target environmental type to be restored when the cumulative value of the second weights of the environmental type and the previous multiple environmental types in the environmental list is greater than or equal to the second random number; a second game task generation unit, configured to generate multiple game sub-tasks according to the environmental elements and species types corresponding to the target environmental type, and combine the multiple game sub-tasks to obtain a game task for environmental restoration.
[0106] Based on the above-mentioned embodiments, the game scene creation module 23 includes: a second scene area determination unit, configured to create a virtual game scene according to the game map, and determine a second scene area corresponding to the target environmental type in the virtual game scene; a virtual environmental element adjustment unit, configured to adjust the distribution positions and element attributes of the corresponding virtual elements in the second scene area according to the environmental elements of the game sub-task; a virtual species adjustment unit, configured to adjust the distribution positions of the corresponding virtual species in the second scene area according to the species type of the game sub-task.
[0107] Based on the above embodiments, the object gameplay determination module 21 includes: a geographical distance determination unit configured to determine the geographical distance between the player and each object according to the player's geographical location and the geographical locations of the objects in the object list after the object list and the gameplay type list are displayed in the game interface; a preference degree determination unit configured to determine the preference degree of the player for each object according to the player's historical game records; an adaptation degree determination unit configured to determine the adaptation degree of the player for each object according to the player's age; a recommendation coefficient determination unit configured to determine the recommendation coefficient for each object according to the geographical distance, preference degree, and adaptation degree of each object; and a recommendation prompt generation unit configured to generate corresponding recommendation prompts in the object list according to the recommendation coefficients of the objects.
[0108] Based on the above embodiments, the virtual reality game running device includes a check-in task processing module, and the check-in task processing module includes: a position detection unit configured to determine whether the target object and the player are in the same city according to the geographical location information of the target object and the geographical location information of the player after updating the task completion progress of the first virtual character for the game task; a check-in task publishing unit configured to publish a check-in task to the player according to the target object when the target object and the player are in the same city, and the check-in task is a task for the player to check in at the target object in the real world when completing the game task; and a check-in task authentication unit configured to perform check-in authentication according to the object image uploaded by the player and determine that the player has completed the check-in task after successful authentication.
[0109] As described above, the virtual reality game running device provided by the embodiments of the present application displays an object list and a gameplay type list in the game interface, and respectively determines the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list; obtains the environment type and species type corresponding to the target object, and generates a game task according to the target gameplay type, environment type, and species type; obtains the game map corresponding to the target object, creates a virtual game scene according to the game map and the game task, and creates a first virtual character in the virtual game scene; and updates the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character. Through the above technical means, a game platform for popularizing ecological knowledge is created based on virtual reality technology. Players can log in to the game platform through VR devices to immerse themselves in the virtual reality world created by the game platform, experience and observe various ecological environments in the virtual reality world, and learn knowledge about ecological environments and ecological species by completing game tasks. While solving the problem of the lack of direct interaction and practical experience with ecological environments in the prior art, it enriches the ways for players to learn ecological knowledge, is conducive to improving people's interest in learning ecological knowledge, and improves the learning efficiency of ecological knowledge.
[0110] The virtual reality game running device provided by the embodiment of the present application can be used to execute the virtual reality game running method provided by the above embodiment, and has corresponding functions and beneficial effects.
[0111] Figure 8 It is a schematic structural diagram of a virtual reality game running device provided by the embodiment of the present application. Refer to Figure 8 , the virtual reality game running device includes: a processor 31, a memory 32, a communication device 33, an input device 34, and an output device 35. The number of processors 31 in the virtual reality game running device can be one or more, and the number of memories 32 in the virtual reality game running device can be one or more. The processor 31, memory 32, communication device 33, input device 34, and output device 35 of the virtual reality game running device can be connected through a bus or other means.
[0112] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the virtual reality game running method of any embodiment of the present application (for example, the object gameplay determination module 21, game task generation module 22, game scene creation module 23, and task progress update module 24 in the virtual reality game running device). The memory 32 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the device. In addition, the memory 32 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory can further include a memory remotely set relative to the processor, and these remote memories can be connected to the device through a network. Examples of the above network include but are not limited to the Internet, enterprise intranets, local area networks, mobile communication networks, and their combinations.
[0113] The communication device 33 is used for data transmission.
[0114] The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 32, that is, implements the above virtual reality game running method.
[0115] The input device 34 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function control of the device. The output device 35 can include a display device such as a display screen.
[0116] The virtual reality game running device provided above can be used to execute the virtual reality game running method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0117] An embodiment of the present application further provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, they are used to execute a virtual reality game running method. The virtual reality game running method includes: displaying an object list and a gameplay type list in a game interface, and respectively determining a target object and a target gameplay type selected by a player according to selection operations on the object list and the gameplay type list; obtaining an environment type and a species type corresponding to the target object, and generating a game task according to the target gameplay type, the environment type, and the species type; obtaining a game map corresponding to the target object, creating a virtual game scene according to the game map and the game task, and creating a first virtual character in the virtual game scene; and updating the task completion progress of the first virtual character for the game task according to a first control operation on the first virtual character.
[0118] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memories or random access memories such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memories such as flash memory, magnetic media (such as hard disks or optical storage); register or other similar types of memory elements, etc. The storage medium may also include other types of memories or combinations thereof. Additionally, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system that is connected to the first computer system via a network (such as the Internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (such as in different computer systems connected via a network). The storage medium may store program instructions executable by one or more processors (such as specifically implemented as a computer program).
[0119] Of course, for a storage medium containing computer-executable instructions provided by an embodiment of the present application, the computer-executable instructions are not limited to the above virtual reality game running method, and can also execute related operations in the virtual reality game running methods provided in any embodiment of the present application.
[0120] The virtual reality game running device, storage medium, and virtual reality game running equipment provided in the above embodiments can execute the virtual reality game running method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, reference can be made to the virtual reality game running method provided in any embodiment of the present application.
[0121] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments here. Various obvious changes, re-adjustments, and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, it can also include more other equivalent embodiments, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for running a virtual reality game, characterized in that, Applied to VR devices, including: Display an object list and a gameplay type list in the game interface, and respectively determine the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list; Obtain the environment type and species type corresponding to the target object, and generate a game task according to the target gameplay type, the environment type, and the species type; when the target gameplay type is to repair the environment, determine the target environment type according to the rarity of each environment type; generate a game subtask for restoring environmental elements according to the environmental elements corresponding to the target environment type, generate a game subtask for moving the species back to the habitat according to the species type corresponding to the target environment type, and combine multiple game subtasks to obtain a game task for repairing the environment; Obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene; when the target gameplay type is to repair the environment, create a virtual game scene according to the game map, and determine the second scene area corresponding to the target environment type in the virtual game scene; adjust the distribution position and element attributes of the corresponding virtual elements in the second scene area according to the environmental elements of the game subtask; adjust the distribution position of the corresponding virtual species in the second scene area according to the species type of the game subtask; Update the task completion progress of the first virtual character for the game task according to the first control operation on the first virtual character.
2. The virtual reality game running method according to claim 1, wherein The target gameplay type is to find species; correspondingly, the generating a game task according to the target gameplay type, the environment type, and the species type includes: Determine the corresponding first weight according to the rarity of each species type, sort each species type based on the first weight to obtain a species list, and generate a plurality of first random numbers according to the total weight of each species type; When the cumulative value of the first weights of the species type and the previous multiple species types in the species list is greater than or equal to any one of the first random numbers, determine the species type as the target species type to be found; Generate corresponding game subtasks according to the target species type and the environmental type in which the target species type inhabits, and combine the game subtasks corresponding to each target species type to obtain a game task for finding species.
3. The virtual reality game running method according to claim 2, wherein The creating a virtual game scene according to the game map and the game task includes: Create a virtual game scene according to the game map, and determine the first scene area corresponding to the environmental type of the game subtask in the virtual game scene; Determine the geographical information of the target species type in the environmental type in which it inhabits according to the target species type of the game subtask; Determine the similar species type of the target species type according to the species type and appearance image of the target species type; Create the virtual species corresponding to the target species type and the similar species type in the first scene area according to the geographical information of the target species type.
4. The virtual reality game running method according to claim 1, wherein After displaying the object list and the gameplay type list in the game interface, it further includes: Determine the geographical distances between the player and each object in the object list according to the geographical location of the player and the geographical locations of the objects in the object list; Determine the degree of preference of the player for each object according to the player's historical game records; Determine the degree of suitability of the player for each object according to the player's age; Determine the recommendation coefficient for each object according to the geographical distance, degree of preference, and degree of suitability of each object; Generate corresponding recommendation prompts in the object list according to the recommendation coefficients of the objects; 5. The virtual reality game running method according to claim 1, wherein, After updating the task completion progress of the first virtual character for the game task, it further includes: Determine whether the target object and the player are in the same city according to the geographical location information of the target object and the geographical location information of the player; In the case where the target object and the player are in the same city, issue a check-in task to the player according to the target object, and the check-in task is a task for the player to check in at the target object in the real world when completing the game task; Perform check-in authentication based on the object image uploaded by the player, and determine that the player has completed the check-in task after successful authentication; 6. A virtual reality game running device, characterized in that, Applied to VR devices, it includes: An object gameplay determination module, configured to display an object list and a gameplay type list in the game interface, and determine the target object and the target gameplay type selected by the player according to the selection operations on the object list and the gameplay type list respectively; A game task generation module, configured to obtain the environmental type and species type corresponding to the target object, and generate a game task according to the target gameplay type, the environmental type, and the species type; in the case where the target gameplay type is to repair the environment, the game task generation module is specifically configured to: determine the target environmental type according to the rarity of each environmental type; generate a game subtask for restoring environmental elements according to the environmental elements corresponding to the target environmental type, generate a game subtask for moving the species back to the habitat according to the species type corresponding to the target environmental type, and combine multiple game subtasks to obtain a game task for repairing the environment; A game scene creation module, configured to obtain the game map corresponding to the target object, create a virtual game scene according to the game map and the game task, and create a first virtual character in the virtual game scene; in the case where the target gameplay type is to repair the environment, the game scene creation module includes: a second scene area determination unit, configured to create a virtual game scene according to the game map and determine the second scene area corresponding to the target environmental type in the virtual game scene; a virtual environment element adjustment unit, configured to adjust the distribution position and element attributes of the corresponding virtual elements in the second scene area according to the environmental elements of the game subtask; a virtual species adjustment unit, configured to adjust the distribution position of the corresponding virtual species in the second scene area according to the species type of the game subtask; A task progress update module configured to update the task completion progress of the first virtual character for the game task according to a first control operation on the first virtual character.
7. A virtual reality game running device, characterized in that, Comprising: One or more processors; A memory storing one or more programs, which when executed by the one or more processors cause the one or more processors to implement the virtual reality game running method according to any one of claims 1-5.
8. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the virtual reality game running method according to any one of claims 1-5 when executed by a computer processor.
Citation Information
Patent Citations
Ancient book gamification reading method and system based on VR technology
CN115957504A
AR (Augmented Reality) tour play generation and interaction method and system, storage medium and electronic equipment
CN117339204A