CN114669052A - Game control method, device, equipment and storage medium - Google Patents

Game control method, device, equipment and storage medium Download PDF

Info

Publication number
CN114669052A
CN114669052A CN202210427195.2A CN202210427195A CN114669052A CN 114669052 A CN114669052 A CN 114669052A CN 202210427195 A CN202210427195 A CN 202210427195A CN 114669052 A CN114669052 A CN 114669052A
Authority
CN
China
Prior art keywords
virtual
world scene
building
target virtual
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210427195.2A
Other languages
Chinese (zh)
Inventor
胡家兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhu Tingsong Network Technology Co ltd
Original Assignee
Wuhu Tingsong Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhu Tingsong Network Technology Co ltd filed Critical Wuhu Tingsong Network Technology Co ltd
Priority to CN202210427195.2A priority Critical patent/CN114669052A/en
Publication of CN114669052A publication Critical patent/CN114669052A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Abstract

The invention discloses a game control method, a game control device, game control equipment and a game control storage medium, wherein position information of a target virtual building in a world scene and position information of a virtual city pool in the world scene are acquired in response to selection operation of a player aiming at the target virtual building in the world scene, game resources acquired after the player completes a game task in the world scene are used for adding or upgrading a second virtual building and/or a virtual carrier in a personal world scene, a transmission path from the virtual city pool to the target virtual building is generated in the world scene in response to task dispatching operation aiming at the target virtual building, the target virtual carrier is determined from the personal world scene according to the transmission path, and animation of the target virtual carrier moving along the transmission path is generated in the world scene. In the process of transmitting the virtual carrier in the world scene, the invention generates the animation of the virtual carrier moving along the transmission path in the world scene, thereby improving the simulation reality and the game participation of the player.

Description

Game control method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of computer technology, in particular to a game control method, a game control device, game control equipment and a storage medium.
Background
The simulated operation game is an electronic game type, in which a player plays the role of a manager to manage the virtual real world in the game.
In a simulated play game, there are often scenarios where it is desirable to transfer a virtual character from one location to another. Usually, when a player selects a destination point and selects a transfer, a scene in which a virtual character is located can be automatically switched to a scene in which the destination point is located. This process is relatively simple, with less content for player interaction and less game play participation.
Disclosure of Invention
The invention provides a game control method, a device, equipment and a storage medium, wherein a virtual carrier is adopted for transmission in the transmission process between points in a world scene, and animation of the virtual carrier moving along a transmission path is generated in the world scene, so that the simulation reality and the game participation of players are improved.
In a first aspect, the present invention provides a game control method, in which a graphical user interface is obtained by rendering on a display of a terminal device, content displayed by the graphical user interface includes at least one virtual character and a world scene, the world scene includes a virtual city pool belonging to a player and a plurality of first virtual buildings, an internal scene of the virtual city pool is a personal world scene, the personal world scene includes a plurality of second virtual buildings and a plurality of virtual vehicles, the method includes:
in response to the selection operation of a player for a target virtual building in a world scene, acquiring position information of the target virtual building in the world scene and position information of the virtual city in the world scene, wherein the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and game resources acquired by the player after completing game tasks in the world scene are used for newly adding or upgrading the second virtual building and/or the virtual carrier in the personal world scene;
generating a transmission path of the virtual city pool to the target virtual building in the world scenario based on the location information of the target virtual building in the world scenario and the location information of the virtual city pool in the world scenario in response to a task dispatch operation for the target virtual building;
determining a target virtual vehicle from the personal world scene according to the transmission path;
generating an animation of the target virtual vehicle moving along the transfer path in the world scene.
Optionally, in response to a selection operation of a player for a target virtual building in a world scene, acquiring location information of the target virtual building in the world scene and location information of the virtual city pool in the world scene, including:
generating a building list for showing an icon of a first virtual building in the world scene in response to a virtual building searching operation of a player;
and responding to the selection operation of a player for the target icon in the building list, and acquiring the position information of the target virtual building corresponding to the target icon in the world scene and the position information of the virtual city pool in the world scene.
Optionally, generating a building list for showing an icon of a first virtual building in the world scene in response to a virtual building search operation of the player, including:
responding to the virtual building searching operation of a player, and generating a display window for displaying a first virtual building in the world scene and a grade input control for inputting a grade screening condition;
responding to the operation of a player aiming at the grade input control, and acquiring a grade screening condition for screening the first virtual building;
and displaying icons of the first virtual buildings meeting the grade screening conditions in the display window to form a building list.
Optionally, in response to a task dispatching operation for the target virtual building, generating a transmission path from the virtual city pool to the target virtual building in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene, including:
determining a start point and an end point of the transfer based on the location information of the virtual city pool and the location information of the target virtual building;
marking the starting point and the ending point in the world scene;
and generating a transmission path from the starting point to the end point in the world scene.
Optionally, determining a target virtual vehicle from the personal world scene according to the transmission path includes:
determining a transmission distance of the transmission path in the world scene;
determining a distance range to which the transmission distance belongs;
determining the grade range of the virtual vehicle corresponding to the distance range according to the distance range to which the transmission distance belongs;
selecting the virtual vehicle with the lowest grade from the virtual vehicles with the grades within the grade range in the personal world scene as a target virtual vehicle.
Optionally, generating an animation of the target virtual vehicle moving along the transfer path in the world scene includes:
loading appearance data of the target virtual vehicle;
generating an icon of the target virtual vehicle at the starting point of the conveying path according to the appearance data of the target virtual vehicle;
determining the moving speed of the target virtual vehicle in the world scene according to the grade of the target virtual vehicle;
determining a real-time location of an icon of the target virtual vehicle on the transfer path based on a moving speed of the target virtual vehicle in the world scene and a time within a game;
and updating the position of the icon of the target virtual carrier on the conveying path in real time.
Optionally, a display control for displaying the virtual vehicle is disposed in the personal world scene, and the method further includes:
switching the world scene to a personal world scene in response to a scene switching request of a player;
judging whether the upgrading resources required by upgrading the virtual vehicle are available;
and if the upgrading resources required by upgrading the virtual carrier are available, generating first prompt information for prompting the upgrading of the virtual carrier at the display control.
Optionally, the method further includes:
judging whether breakthrough resources for breakthrough to the next grade stage are available or not after the grade of the virtual carrier reaches the maximum grade of the current grade stage;
and if the breakthrough resources of the stage of the breakthrough to the next level exist, generating second prompt information for prompting the breakthrough of the virtual vehicle at the display control.
Optionally, the method further includes:
generating a display interface for displaying a virtual carrier in the personal world scene in response to an operation on the display control, wherein the display interface comprises an image of the virtual carrier and an upgrade control for upgrading the virtual carrier or a breakthrough control for breakthrough the virtual carrier;
in response to an operation directed to the upgrade control, upgrade the virtual vehicle, or,
and responding to the operation aiming at the breakthrough control, and breakthrough the virtual vehicle to a next level stage.
Optionally, after generating the animation of the virtual vehicle moving along the transportation path in the world scene, the method further includes:
generating an interaction interface interacting with the target virtual building when the virtual vehicle reaches the target virtual building;
and responding to the operation of the interactive interface, and acquiring game resources for adding or upgrading the second virtual building and the virtual carrier in the personal world scene.
In a second aspect, the present invention further provides a game control apparatus, wherein a graphical user interface is obtained by rendering on a display of a terminal device, content displayed by the graphical user interface includes at least one virtual character and a world scene, the world scene includes a virtual city pool belonging to a player and a plurality of first virtual buildings, an internal scene of the virtual city pool is a personal world scene, the personal world scene includes a plurality of second virtual buildings and a plurality of virtual vehicles, the apparatus includes:
the position information acquisition module is used for responding to the selection operation of a player for a target virtual building in a world scene, acquiring the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene, wherein the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and game resources obtained after the player completes a game task in the world scene are used for newly adding or upgrading the second virtual building and/or the virtual carrier in the personal world scene;
a transmission path generation module, configured to generate, in response to a task dispatch operation for the target virtual building, a transmission path from the virtual city pool to the target virtual building in the world scenario based on the location information of the target virtual building in the world scenario and the location information of the virtual city pool in the world scenario;
the target virtual vehicle determining module is used for determining a target virtual vehicle from the personal world scene according to the transmission path;
and the animation generation module is used for generating the animation of the target virtual carrier moving along the transmission path in the world scene.
In a third aspect, the present invention further provides a terminal device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a game control method as provided in the first aspect of the invention.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the game control method as provided in the first aspect of the present invention.
The game control method provided by the invention obtains a graphical user interface through rendering on a display of a terminal device, the content displayed by the graphical user interface comprises at least one virtual character and a world scene, the world scene comprises a virtual city pool belonging to a player and a plurality of first virtual buildings, the internal scene of the virtual city pool is a personal world scene, the personal world scene comprises a plurality of second virtual buildings and a plurality of virtual carriers, the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene are obtained in response to the selection operation of the player aiming at the target virtual building in the world scene, the world scene is a scene in which the virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and the game resources obtained after the game task is completed by the player in the world scene are used for the game resources in the personal world scene And adding or upgrading a second virtual building and/or a virtual carrier, responding to task dispatching operation aiming at the target virtual building, generating a transmission path from the virtual city pool to the target virtual building in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene, determining the target virtual carrier from the personal world scene according to the transmission path, and generating animation of the target virtual carrier moving along the transmission path in the world scene. In the process of transmitting points in the world scene, the virtual carrier is adopted for transmitting, and the animation of the virtual carrier moving along the transmission path is generated in the world scene, so that the simulation reality and the game participation of players are improved.
Drawings
Fig. 1A is a flowchart of a game control method according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a world scenario provided by an embodiment of the present invention;
FIG. 1C is a schematic diagram of a personal world scene provided by an embodiment of the present invention;
fig. 1D is a schematic diagram illustrating movement of a virtual vehicle according to an embodiment of the invention;
fig. 2A is a flowchart of a game control method according to a second embodiment of the present invention;
fig. 2B is a schematic diagram of a virtual building search interface according to an embodiment of the present invention;
FIG. 2C is a schematic diagram of an interaction interface interacting with a target virtual building according to an embodiment of the present invention;
fig. 2D is a schematic diagram of a virtual vehicle display interface according to an embodiment of the invention;
fig. 3 is a schematic structural diagram of a game control device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Embodiments of the present invention provide a game control method, which may obtain a graphical user interface by executing game application software on a processor of a terminal device and rendering the game application software on a display of the terminal device. The terminal device can be an electronic device with a display screen, such as a computer, a tablet computer, a smart phone, and the like, or an indoor terminal device such as a game machine, a VR device, and the like, and includes a memory for storing data and a processor for processing data, and game application software is installed through the memory, and the processor executes a corresponding game program to realize the operation of the game program on the terminal device. The graphical user interface is used for displaying the game interface and can be wholly or partially presented in the display area of the terminal equipment. In the embodiment of the present invention, the content displayed by the graphical user interface may include at least one virtual character and a game scene in which the virtual character is located, where the virtual character refers to a game character, such as a character, an animal, and the like, manipulated by the player. The game scene is an environment in which the virtual character is located, for example, in the embodiment of the present invention, the game scene may be a static scene or a dynamic scene, and the embodiment of the present invention is not limited herein.
Fig. 1A is a flowchart of a game control method according to an embodiment of the present invention, which is applicable to simulating transmission of virtual characters between points in an administration game. The method may be executed by a game control apparatus provided in an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and is generally configured in a terminal device, as shown in fig. 1A, and the method specifically includes the following steps:
s101, responding to selection operation of a player for a target virtual building in the world scene, and acquiring position information of the target virtual building in the world scene and position information of a virtual city pool in the world scene.
In the embodiment of the invention, the graphical user interface displays a world scene, wherein the world scene is a scene that the virtual characters of all players on the game server are allowed to enter, namely the world scene is open to all players, and any player can control the virtual characters to enter the world scene. In a world scenario, players may interact with each other, for example, in team fighting, chat, and the like. In the embodiment of the present invention, in order to relieve the pressure of the server, a plurality of servers may be provided, and players belonging to the same server may share one world scene, or players of a plurality of servers may share one world scene, which is not limited herein.
The world scenario includes a virtual city pool belonging to the player and a number of first virtual buildings. Fig. 1B is a schematic diagram of a world scenario according to an embodiment of the present invention, as shown in fig. 1B, and exemplarily, as shown in fig. 1B, a virtual city pool is a part of the world scenario, in the world scenario, the virtual city pool appears as a unique virtual building, and a player can enter a personal world scenario inside the virtual city pool after selecting the virtual building. In the embodiment of the invention, the virtual building representing the virtual city pool in the world scene is called as the My city pool. In an embodiment of the present invention, the first virtual building in the large world scenario includes, for example, a factory, a company building, and the like. All players in the world scene can interact with the first virtual building, for example, reconnaissance, occupation and the like, and can obtain rewards after the interaction achieves a desired target, for example, resources produced by the first virtual building can be obtained after the first virtual building is occupied, for example, the first virtual building can be a virtual factory, and game resources produced by the virtual factory can be obtained after the virtual factory is occupied, and the game resources can be used for newly building a second virtual building, upgrading a virtual tool and the like in the personal world scene.
The personal world scenario is a scenario that only the current virtual character of the player is allowed to enter, and the player can manage the personal world scenario, for example, a second virtual building belonging to the personal world scenario is built in the personal world scenario, the second virtual building in the personal world scenario is upgraded, a virtual tool in the personal world scenario is upgraded, and the like. Fig. 1C is a schematic diagram of a personal world scene, as shown in fig. 1C, the personal world scene includes a plurality of second virtual buildings and at least one virtual vehicle (e.g., an airplane). In the embodiment of the present invention, the functions of the second virtual building in the personal world scenario and the first virtual building in the large world scenario are different, and illustratively, the first virtual building in the large world scenario is a production-type virtual building for producing game resources, such as a factory, and the second virtual building in the personal world scenario is a consumption-type virtual building for consuming game resources for upgrading, such as a shop, a military camp, a hospital, and the like.
The player can switch between a personal world scenario and a world scenario. As shown in fig. 1B and 1C, a toolbar is provided at the bottom of the graphical user interface, and a switching control (switching icon in fig. 1B and 1C) for switching between the personal world scene and the world scene is provided in the toolbar.
In the embodiment of the invention, when the virtual character of the player needs to be transmitted in a large-world scene in a long distance and is transmitted to the position of a certain first virtual building, the virtual building is selected as the target virtual building. The selection operation may be mouse click, touch click, and the like, and the embodiment of the present invention is not limited herein.
When a player needs to perform game operation on a certain first virtual building in the world scene, the first virtual building is selected as a target virtual building. The terminal equipment responds to the selection operation of a player for the target virtual building in the world scene, and obtains the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene. For example, in the embodiment of the present invention, the world scene is a rasterized two-dimensional map, and the position information of the first virtual building and the virtual city pool in the world scene can be represented by coordinates of a grid where the first virtual building and the virtual city pool are located.
It should be noted that the location of the virtual city pool is determined according to the game level obtained by the player in the personal world scene. When the player first switches to a world scenario, the location of the virtual town pool is determined based on the game level the player has acquired in the personal world scenario. When the game level obtained by the player in the personal world scene is promoted to a certain level, the player may select "move", that is, the position of the virtual city pool in the world scene is reset according to the latest game level obtained by the player in the personal world scene, and the virtual city pool is moved to a position matching the game level obtained by the player in the personal world scene, and the specific details are not limited herein.
It should be noted that, in the above embodiments, an example is given by taking a virtual city pool as an example, and in some embodiments of the present invention, a virtual building may also be taken from a current position of a virtual character to a target virtual building, then, if the current virtual character is in the virtual city pool, the position information of the current virtual character in the world scene is the position of the virtual city pool, and if the current virtual character is in another first virtual building, the position information of the current virtual character in the world scene is the position of the first virtual building.
And S102, responding to task dispatching operation aiming at the target virtual building, and generating a transmission path from the virtual city pool to the target virtual building in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene.
When a player needs to perform game operation on a certain first virtual building in the world scene, the first virtual building is selected as a target virtual building, and task dispatching operation is executed on the terminal equipment. The terminal device generates a transmission path from the virtual city pool to the target virtual building in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene in response to the task dispatch operation for the target virtual building.
In some embodiments of the invention, the terrain of a map of a large world scene, e.g. obstacles such as mountains, rivers, cities and the like, may be considered in generating the delivery path and circumventing the obstacles. Of course, if the virtual vehicle is an airplane, there is no need to consider obstacles.
S103, determining a target virtual carrier from the personal world scene according to the transmission path.
In the embodiment of the invention, the long-distance transmission of the virtual character of the player in the world scene can be realized through the virtual carrier. The virtual vehicle is a virtual vehicle in a game, such as an airplane, an automobile, a train, and the like, and the embodiments of the present invention are not limited herein. In the embodiment of the present invention, the player may "cultivate" the virtual vehicle in the personal world scene, for example, upgrade the virtual vehicle to improve the performance (e.g., moving speed) of the virtual vehicle. After a transmission path from the virtual city pool to the target virtual building is generated in response to a task dispatching operation for the target virtual building, a target virtual vehicle is determined from the personal world scene according to the transmission path, wherein the target virtual vehicle comprises information of the target virtual vehicle, such as appearance, grade and the like. For example, a suitable level of virtual vehicles is determined as the target virtual vehicle according to the distance of the conveying path, which is not limited herein.
And S104, generating animation of the target virtual carrier moving along the transmission path in the world scene.
After the virtual vehicles are loaded from the virtual city pool and the information of the virtual vehicles is obtained, animation of the virtual vehicles moving along the transmission path is generated in a world scene so as to simulate and display the scene of a player carrying a vehicle in the world, and the simulation reality and the game participation of the player are improved.
Fig. 1D is a schematic diagram of movement of a virtual vehicle according to an embodiment of the present invention, for example, as shown in fig. 1D, in which the virtual vehicle is an airplane, and is dispatched from a virtual city pool to a target virtual building, a transmission path from the virtual city pool to the target virtual building is generated in a world scene, and an animation of the movement of the virtual vehicle along the transmission path is generated in the world scene.
The game control method provided by the embodiment of the invention obtains a graphical user interface through rendering on a display of a terminal device, the content displayed by the graphical user interface comprises at least one virtual character and a world scene, the world scene comprises a virtual city pool belonging to a player and a plurality of first virtual buildings, the internal scene of the virtual city pool is a personal world scene, the personal world scene comprises a plurality of second virtual buildings and a plurality of virtual carriers, the position information of the target virtual buildings in the world scene and the position information of the virtual city pool in the world scene are obtained in response to the selection operation of the player aiming at the target virtual buildings in the world scene, the world scene is a scene in which the virtual characters of all the players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, the game resources obtained after the game tasks are completed by the player in the world scene are used for adding or upgrading a second virtual building and/or a virtual carrier in the personal world scene, a transmission path from the virtual city pool to the target virtual building is generated in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene in response to task dispatching operation aiming at the target virtual building, the target virtual carrier is determined from the personal world scene according to the transmission path, and animation of the target virtual carrier moving along the transmission path is generated in the world scene. In the process of transmitting points in the world scene, the virtual carrier is adopted for transmitting, and the animation of the virtual carrier moving along the transmission path is generated in the world scene, so that the simulation reality and the game participation of players are improved.
Example two
Fig. 2A is a flowchart of a game control method according to a second embodiment of the present invention, which is detailed based on the first embodiment and describes in detail the specific implementation process of each step in the game control method. A graphical user interface is obtained through rendering on a display of a terminal device, content displayed by the graphical user interface includes at least one virtual character and a world scene, the world scene includes a virtual city pool belonging to a player and a plurality of first virtual buildings, an internal scene of the virtual city pool is a personal world scene, the personal world scene includes a plurality of second virtual buildings and a plurality of virtual vehicles, as shown in fig. 2A, the method includes:
s201, responding to the virtual building searching operation of the player, and generating a building list for displaying the icon of the first virtual building in the world scene.
The world scene is a scene that the virtual characters of all the players on the game server are allowed to enter, namely the world scene is open to all the players, and any player can control the virtual characters to enter the world scene.
Fig. 2B is a schematic view of a virtual building search interface according to an embodiment of the present invention, as shown in fig. 2B, in an embodiment of the present invention, when a virtual character of a player needs to be remotely transmitted in a world scene and is transmitted to a position of a virtual building, a search control is selected in an operation bar of the world scene. And the terminal equipment responds to the selection operation of the player for the search control, and generates a building list for showing a first virtual building in the world scene. Wherein, as shown in fig. 2B, in the list, the first virtual building is shown in the form of an icon.
In some embodiments of the present invention, generating a building list for showing an icon of a first virtual building in a world scene in response to a virtual building search operation by a player may include the steps of:
1. and generating a display window for displaying a first virtual building in the world scene and a grade input control for inputting a grade screening condition in response to the virtual building searching operation of the player.
And the terminal equipment responds to the selection operation of the player for the search control, and generates a display window for displaying the first virtual building in the world scene and a grade input control for inputting a grade screening condition. Illustratively, by default, when the window is first expanded, the icon of the first virtual building with the lowest ranking may be presented within the window. And the level input control is used for providing a level screening condition for the player, and the level screening condition is used for screening out the virtual buildings meeting the level screening condition from all the first virtual buildings.
Of course, in other embodiments of the present invention, a quick search may be performed according to the name of the first virtual building or the keyword in the name, for example, inputting "factory", and the first virtual building with factory in all names may be found.
In other embodiments of the present invention, a player may also drag directly in a map of a world scene (including dragging the map, zooming in the map, zooming out the map, and the like), so as to locate the world scene displayed by the terminal device to an area where the target virtual building is located, that is, quickly drag the target virtual building into a display range, and then select the target virtual building, thereby improving the selection efficiency of selecting the target virtual building.
2. And acquiring a grade screening condition for screening the first virtual building in response to the operation of the grade input control of the player.
The terminal device responds to the operation of the player aiming at the grade input control, and obtains a grade screening condition for screening the first virtual building. Illustratively, in the embodiment of the present invention, as shown in fig. 2B, a slider and a slider for inputting a rating filtering condition are generated below the display window, and a player drags the slider on the slider to input the rating filtering condition. In the embodiment of the present invention, as shown in fig. 2B, a level increase control ("+" in fig. 2B) and a level decrease control ("-" in fig. 2B) may be further provided on both sides of the slider, and the player may also implement a level filtering condition for gradually increasing or decreasing the input by selecting the level increase control and the level decrease control.
3. And displaying the icons of the first virtual buildings meeting the grade screening conditions in a display window to form a building list.
And the terminal equipment screens the first virtual buildings meeting the grade screening conditions from all the first virtual buildings according to the grade screening conditions, and displays the icons of the first virtual buildings meeting the grade screening conditions in the display window to form a building list. Illustratively, when the player inputs the rating filtering condition of "level 5", the presentation window presents icons of the first virtual building having a rating of 5 (object 1-object 5 in fig. 2B).
S202, responding to the selection operation of the player for the target virtual building in the building list, and acquiring the position information of the target virtual building in the world scene and the position information of the virtual city in the world scene.
The player selects a virtual building in the building list as the target virtual building. The terminal device responds to the selection operation of the player for the target virtual building in the building list, and obtains the position information of the target virtual building in the world scene and the position information of the virtual city in the world scene. For example, in the embodiment of the present invention, the world scene is a rasterized two-dimensional map, and the position information of the virtual building and the virtual city pool in the world scene can be represented by coordinates of a grid in which the virtual building and the virtual city pool are located.
S203, determining a starting point and an end point of transmission based on the position information of the virtual city pool and the position information of the target virtual building.
Illustratively, the starting point of the transmission path is determined based on the position information of the virtual city pool in the current world scene, and the end point of the transmission path is determined based on the position information of the target virtual building in the world scene.
And S204, marking a starting point and an end point in a world scene.
The position information based on the starting point marks the starting point on the map of the world scene, and the position information based on the end point marks the end point on the map of the world scene.
And S205, generating a transmission path from the starting point to the end point in the world scene.
A transmission path is generated on the map based on the position information of the start point and the position information of the end point. In some embodiments of the invention, the terrain of a map of a large world scene, e.g. obstacles such as mountains, rivers, cities and the like, may be considered in generating the delivery path and circumventing the obstacles. Of course, if the virtual vehicle is an airplane, there is no need to consider obstacles.
And S206, determining a target virtual vehicle from the personal world scene according to the transmission path.
In the embodiment of the invention, the long-distance transmission of the virtual character of the player in the world scene can be realized through the virtual carrier. The virtual vehicle is a virtual vehicle in a game, such as an airplane, an automobile, a train, and the like, and the embodiments of the present invention are not limited herein. In the embodiment of the present invention, the player may "cultivate" the virtual vehicle in the personal world scene, for example, upgrade the virtual vehicle to improve the performance (e.g., moving speed) of the virtual vehicle. And in response to the task dispatching operation aiming at the target virtual building, after a transmission path from the virtual city pool to the target virtual building is generated, determining a target virtual carrier from the personal world scene according to the transmission path.
In some embodiments of the present invention, in the embodiments of the present invention, the higher the level of the virtual vehicle, the faster the moving speed. Therefore, the virtual vehicles with proper levels can be selected according to the transmission distance, resource abuse of the virtual vehicles is avoided, and use of the virtual vehicles is reasonably distributed. The method for determining the target virtual vehicle from the personal world scene according to the transmission path comprises the following steps:
1. the transmission distance of the transmission path in a world scene is determined.
After the transmission path is obtained, the transmission distance of the transmission path in the world scene is determined. For example, if the transmission path is a straight line segment, the transmission distance is the length of the straight line segment, and if the transmission path is a curve, the transmission distance is the total length of the curve.
2. The distance range to which the transmission distance belongs is determined.
In the embodiment of the present invention, a plurality of distance ranges, for example, short distance, medium distance, and long distance, are set. After determining the transmission distance of the transmission path in the world scene, determining the distance range to which the transmission distance belongs.
3. And determining the grade range of the virtual vehicle corresponding to the distance range according to the distance range to which the transmission distance belongs.
The different distance ranges may correspond to different grade ranges of the virtual vehicles, for example, the grade range of the virtual vehicle corresponding to the short distance is 1-3 grade, the grade range of the virtual vehicle corresponding to the medium distance is 4-6 grade, and the grade range of the virtual vehicle corresponding to the long distance is 7-9 grade. For example, when the distance range is the middle distance, the virtual vehicle with the grade between 7 and 9 can be selected, the problem that the moving speed of the virtual vehicle with too low grade is too low, so that the waiting time of the player is longer, the waiting time of the player is reduced, and meanwhile, the virtual vehicle with high grade is prevented from being abused.
4. And selecting the virtual vehicle with the lowest grade from the virtual vehicles with the grades within the grade range in the personal world scene as the target virtual vehicle.
In the embodiment of the invention, after the grade range of the virtual vehicles is determined, the virtual vehicle with the lowest grade is selected as the target virtual vehicle from the virtual vehicles with the grades within the grade range in the personal world scene. For example, when the distance range is the middle distance and the level range of the virtual vehicles is determined to be 7-9 levels, if the virtual vehicle with the lowest level within the 7-9 level range in the virtual vehicles in the current personal world scene is 8 levels, the virtual vehicle with 8 levels is selected as the target virtual vehicle.
And S207, loading appearance data of the target virtual carrier.
After the target virtual vehicle is determined, appearance data of the target virtual vehicle, including a size, a color, a shape, and the like, is obtained.
And S208, generating an icon of the target virtual vehicle at the starting point of the transmission path according to the appearance data of the target virtual vehicle.
For example, after the appearance data of the target virtual vehicle is acquired, the target virtual vehicle may be subjected to a thumbnail processing to obtain an icon of the target virtual vehicle, and the icon of the target virtual vehicle may be displayed at the starting point of the transmission path.
And S209, determining the moving speed of the target virtual carrier in the world scene according to the grade of the target virtual carrier.
For example, in the embodiment of the present invention, the target virtual vehicle may move along the conveying path to simulate the movement of the real vehicle, wherein the moving speed of the target virtual vehicle may be determined according to the level of the target virtual vehicle, and the higher the level of the target virtual vehicle is, the faster the moving speed is. The player can obtain game resources from the world scene, and upgrade the virtual carrier in the personal world scene so as to improve the moving speed of the virtual carrier.
S210, determining the real-time position of the icon of the target virtual carrier on the conveying path based on the moving speed of the target virtual carrier in the world scene and the time in the game.
For example, the moving speed of the target virtual vehicle in the world scene is multiplied by the consumed time in the game to determine the moving distance of the target virtual vehicle in the world scene, so that the real-time position of the icon of the target virtual vehicle on the conveying path can be determined. It should be noted that, in the embodiment of the present invention, the time in the game is different from the time in the real world, for example, 1 hour in the game may be 1 minute in the real world.
And S211, updating the position of the icon of the target virtual carrier on the transmission path in real time.
After the real-time position of the icon of the target virtual vehicle on the conveying path is determined, the position of the icon of the target virtual vehicle on the conveying path is updated in real time. Therefore, the player can see the simulated motion process of the icon of the target virtual carrier moving along the conveying path, and the game participation degree and the playability of the player are improved.
As shown in fig. 1D, the target virtual vehicle in this embodiment is an airplane, and a transportation path from a virtual city pool to a target virtual building ("textile mill") is generated in a world scene, and the target virtual vehicle moves along the transportation path.
S212, when the target virtual carrier arrives at the target virtual building, an interactive interface interacting with the target virtual building is generated.
In the embodiment of the invention, when the target virtual carrier moves along the conveying path and reaches the position of the target virtual building, an interactive interface interacting with the target virtual building is generated. The interactive interface is provided with a control for interacting with a target virtual building, the player selects the control, and the terminal device can execute game operations aiming at the target virtual building, such as occupation, negotiation and the like. The negotiation refers to that the current virtual character is compared with the game character of the target virtual building in the fighting capacity, and if the fighting capacity is larger than that of the game character of the target virtual building, the negotiation is successful.
Fig. 2C is a schematic diagram of an interactive interface interacting with a target virtual building according to an embodiment of the present invention, and as shown in fig. 2C, the interactive interface interacting with the target virtual building may include an icon of the target virtual building ("textile mill" in the figure), a grade, available game resources, an avatar of a virtual character transferred to the target virtual building, a fighting power of a game task in the target virtual building, and an interaction control ("negotiation" in fig. 2C), and the like.
And S213, responding to the operation aiming at the interactive interface, and acquiring game resources for adding or upgrading a second virtual building and a virtual carrier in the personal world scene.
When the player chooses to interact with the target virtual building (e.g., negotiate with the target virtual building, camp on, etc.), the terminal device acquires game resources for operating the personal world scenario after completing a game task (e.g., success in camping) in response to an operation on the interactive interface. The game resource may be used to manage the personal world scenario, for example, to upgrade a second virtual building in the personal world scenario, to build a new second virtual building in the personal world scenario, to upgrade a virtual vehicle, and so on.
In some embodiments of the present invention, a display control for displaying a virtual vehicle is disposed in the personal world scene, and the game control method further includes:
1. and switching the world scene to the personal world scene in response to the scene switching request of the player.
For example, as described above, the player may directly select a virtual city pool in the world scene, or may issue a scene change request by selecting a scene change control. The terminal device switches the world scene to the personal world scene in response to a scene switching request of the player.
2. And judging whether the upgrading resources required by the virtual vehicle are available.
3. If the upgrade resources required by upgrading the virtual vehicle are available, first prompt information for prompting the upgrade of the virtual vehicle is generated at the display control, for example, a red exclamation mark is used for prompting so that the player can upgrade the virtual vehicle in time. In the embodiment of the invention, the virtual carrier is upgraded to improve the moving speed of the virtual carrier, beautify the appearance of the virtual carrier and the like. The required upgrade resources are needed to complete the game mission to a specific first virtual building in the world scenario, e.g., seize a virtual plant from which the parts produced are available for use in upgrading the virtual vehicle.
In some embodiments of the present invention, the virtual vehicle is provided with a plurality of level stages, for example, levels 1-3 are one level stage, levels 4-6 are one level stage, and levels 7-9 are one level stage. When the level of the virtual carrier reaches the highest level of a certain level stage, resources need to be broken through to break through to the next level stage. For example, if the current virtual vehicle is level 6, and the upgrade is to be continued, the breakthrough resources which break through to the level 7-9 must be provided to continue the upgrade. The breakthrough resources need to complete game tasks of a specific first virtual building in a world scene, the upgrading resources and the breakthrough resources are different resources, and the breakthrough resources are more rare and more difficult to obtain than the upgrading resources. Of course, the upgrade resource and the breakthrough resource may also be obtained through an activity or a gift bag in the game, and the embodiment of the present invention is not limited herein.
In an embodiment of the present invention, the game control method further includes:
1. and after the grade of the virtual carrier reaches the maximum grade of the current grade stage, judging whether breakthrough resources for breakthrough to the next grade stage are available.
2. And if the breakthrough resources of the stage from the breakthrough to the next level are available, generating second prompt information for prompting breakthrough of the virtual vehicle at the display control.
The second prompt message and the first prompt message may be the same prompt message or different prompt messages, and the embodiment of the present invention is not limited herein.
In some embodiments of the present invention, when a player selects a display control, a terminal device generates a display interface for displaying a virtual vehicle in a personal world scene in response to an operation for the display control, the display interface includes an image of the virtual vehicle and an upgrade control for upgrading the virtual vehicle when an upgrade resource required for upgrading the virtual vehicle is available, and the display interface includes an image of the virtual vehicle and a breakthrough control for breakthrough the virtual vehicle when a breakthrough resource for breakthrough to a next level stage is available. When the virtual vehicle has the upgrading condition, the player can select the upgrading control. And the terminal equipment responds to the operation aiming at the upgrading control to upgrade the virtual carrier. In some embodiments of the present invention, the presentation interface may further include performance parameters of the current virtual vehicle and a preview of the upgraded performance parameters. When the virtual vehicle has a breakthrough condition, the player can select the breakthrough control. And the terminal equipment responds to the operation aiming at the breakthrough control and breaks through the virtual carrier to the next level stage.
Fig. 2D is a schematic diagram of a virtual vehicle display interface according to an embodiment of the present invention, as shown in fig. 2D, the virtual vehicle in the embodiment is an airplane, and the display interface includes an image of the airplane and an upgrade control component ("upgrade" in fig. 2D) for upgrading the virtual vehicle. The show interface may also include performance parameters of the current aircraft, such as a 5% addition in airspeed. The display interface may further include an upgrade preview representing a numerical value by which the attribute of the upgraded virtual vehicle may be upgraded. For example, in FIG. 2D, in the upgrade preview, the flying speed is increased to + 1% after upgrade.
The game control method provided by the embodiment of the invention obtains a graphical user interface through rendering on a display of a terminal device, the content displayed by the graphical user interface comprises at least one virtual character and a world scene, the world scene comprises a virtual city pool belonging to a player and a plurality of first virtual buildings, the internal scene of the virtual city pool is a personal world scene, the personal world scene comprises a plurality of second virtual buildings and a plurality of virtual carriers, the position information of the target virtual buildings in the world scene and the position information of the virtual city pool in the world scene are obtained in response to the selection operation of the player aiming at the target virtual buildings in the world scene, the world scene is a scene in which the virtual characters of all the players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, the game resources obtained after the game tasks are completed by the player in the world scene are used for adding or upgrading a second virtual building and/or a virtual carrier in the personal world scene, a transmission path from the virtual city pool to the target virtual building is generated in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene in response to task dispatching operation aiming at the target virtual building, the target virtual carrier is determined from the personal world scene according to the transmission path, and animation of the target virtual carrier moving along the transmission path is generated in the world scene. In the process of transmitting points in the world scene, the virtual carrier is adopted for transmitting, and the animation of the virtual carrier moving along the transmission path is generated in the world scene, so that the simulation reality and the game participation of players are improved. In addition, the player can form a virtual carrier in a personal world scene, and the playability and the game participation of the game are further improved.
EXAMPLE III
The third embodiment of the present invention further provides a game control device, which is applied to a terminal device, and obtains a graphical user interface through rendering on a display of the terminal device, where content displayed on the graphical user interface includes at least one virtual character and a world scene, the world scene includes a virtual city pool belonging to a player and a plurality of first virtual buildings, an internal scene of the virtual city pool is a personal world scene, the personal world scene includes a plurality of second virtual buildings and a plurality of virtual vehicles, fig. 3 is a schematic structural diagram of the game control device provided in the third embodiment of the present invention, and as shown in fig. 3, the device includes:
a location information obtaining module 301, configured to, in response to a selection operation of a player for a target virtual building in a world scene, obtain location information of the target virtual building in the world scene and location information of the virtual city in the world scene, where the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only a current virtual character of the player is allowed to enter, and game resources obtained after the player completes a game task in the world scene are used to add or upgrade a second virtual building and/or a virtual carrier in the personal world scene;
a transmission path generation module 302, configured to generate, in response to a task dispatch operation for the target virtual building, a transmission path from the virtual city pool to the target virtual building in the world scenario based on the location information of the target virtual building in the world scenario and the location information of the virtual city pool in the world scenario;
a target virtual vehicle determining module 303, configured to determine a target virtual vehicle from the personal world scene according to the transmission path;
an animation generation module 304 for generating an animation of the target virtual vehicle moving along the transport path in the world scene.
In some embodiments of the present invention, the location information acquiring module 301 includes:
the building list generation submodule is used for responding to virtual building searching operation of a player and generating a building list for displaying an icon of a first virtual building in the world scene;
and the position information acquisition submodule is used for responding to the selection operation of a player for the target icon in the building list, and acquiring the position information of the target virtual building corresponding to the target icon in the world scene and the position information of the virtual city in the world scene.
In some embodiments of the invention, the building list generation submodule comprises:
the display window generating unit is used for responding to the virtual building searching operation of a player and generating a display window for displaying a first virtual building in the world scene and a grade input control for inputting a grade screening condition;
a screening condition acquisition unit configured to acquire a level screening condition for screening the first virtual building in response to an operation of a player for the level input control;
and the building list generating unit is used for displaying the icons of the first virtual buildings meeting the grade screening conditions in the display window to form a building list.
In some embodiments of the present invention, the transmission path generation module 302 comprises:
a starting point and end point determining submodule for determining a starting point and an end point of transmission based on the position information of the virtual city pool and the position information of the target virtual building;
the labeling submodule is used for labeling the starting point and the end point in the world scene;
and the transmission path generation sub-module is used for generating a transmission path from the starting point to the end point in the world scene.
In some embodiments of the present invention, the target virtual vehicle determination module 303 comprises:
a transmission distance determining submodule for determining a transmission distance of the transmission path in the world scene;
a distance range determining submodule for determining a distance range to which the transmission distance belongs;
the grade range determining submodule is used for determining the grade range of the virtual vehicle corresponding to the distance range according to the distance range to which the transmission distance belongs;
and the target virtual vehicle determining submodule is used for selecting the virtual vehicle with the lowest level from the virtual vehicles with the levels within the level range in the personal world scene as the target virtual vehicle.
And the loading submodule is used for loading the appearance data of the target virtual carrier.
In some embodiments of the present invention, animation generation module 304 comprises:
the loading submodule is used for loading appearance data of the target virtual carrier;
a carrier icon generating submodule for generating an icon of the target virtual carrier at a starting point of the conveying path according to appearance data of the target virtual carrier;
the moving speed determining submodule is used for determining the moving speed of the target virtual vehicle in the world scene according to the grade of the target virtual vehicle;
a real-time position determination submodule for determining a real-time position of an icon of the target virtual vehicle on the conveying path based on the moving speed of the target virtual vehicle in the world scene and the time in the game;
and the position updating submodule is used for updating the position of the icon of the target virtual carrier on the conveying path in real time.
In some embodiments of the present invention, a display control for displaying the virtual vehicle is disposed in the personal world scene, and the game control apparatus further includes:
the scene switching module is used for responding to a scene switching request of a player and switching the world scene to a personal world scene;
the first judgment module is used for judging whether the upgrading resources required by upgrading the virtual carrier are available;
and the first prompt information generation module is used for generating first prompt information for prompting the upgrading of the virtual carrier at the display control part if the upgrading resources required by the upgrading of the virtual carrier are available.
In some embodiments of the invention, the game control apparatus further comprises:
the second judgment module is used for judging whether breakthrough resources for breakthrough to the next grade stage exist or not after the grade of the virtual carrier reaches the maximum grade of the current grade stage;
and the second prompt information generation module is used for generating second prompt information for prompting the breakthrough of the virtual vehicle at the display control if the breakthrough resources of the stage from the breakthrough to the next level are available.
In some embodiments of the invention, the game control apparatus further comprises:
the carrier display module is used for responding to the operation aiming at the display control, and generating a display interface for displaying a virtual carrier in the personal world scene, wherein the display interface comprises an image of the virtual carrier and an upgrading control for upgrading the virtual carrier or a breakthrough control for breakthrough the virtual carrier;
a vehicle upgrade module for upgrading the virtual vehicle in response to an operation directed to the upgrade control, or,
and the vehicle breakthrough module is used for responding to the operation aiming at the breakthrough control and breakthrough the virtual vehicle to the next level stage.
In some embodiments of the invention, the game control apparatus further comprises:
the interactive interface generating module is used for generating an interactive interface interacting with the target virtual building when the virtual carrier reaches the target virtual building after generating the animation of the virtual carrier moving along the conveying path in the world scene;
and the game resource acquisition module is used for responding to the operation aiming at the interactive interface and acquiring game resources for newly adding or upgrading the second virtual building and the virtual carrier in the personal world scene.
The game control device can execute the game control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the game control method.
Example four
A fourth embodiment of the present invention provides a terminal device, and fig. 4 is a schematic structural diagram of a terminal device provided in the fourth embodiment of the present invention, as shown in fig. 4, the terminal device includes a processor 401, a memory 402, a communication module 403, an input device 404, and an output device 405; the number of the processors 401 in the terminal device may be one or more, and one processor 401 is taken as an example in fig. 4; the processor 401, the memory 402, the communication module 403, the input device 404 and the output device 405 in the terminal equipment may be connected by a bus or other means, and fig. 4 illustrates an example of connection by a bus. The processor 401, the memory 402, the communication module 403, the input device 404 and the output device 405 may be integrated on a control motherboard of the terminal device.
The memory 402, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the game control method in the present embodiment. The processor 401 executes various functional applications and data processing of the terminal device by running software programs, instructions and modules stored in the memory 402, that is, implements the game control method provided by the above-described embodiment.
The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 402 may further include memory located remotely from the processor 401, which may be connected to the terminal device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And a communication module 403, configured to establish a connection with an external device (e.g., an intelligent terminal), and implement data interaction with the external device. The input means 404 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device.
The terminal device provided in this embodiment may execute the game control method provided in any of the above embodiments of the present invention, and its corresponding functions and advantages are described in detail.
EXAMPLE five
An embodiment of the present invention provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for controlling a game provided in any of the above embodiments of the present invention is implemented, where the method includes:
in response to the selection operation of a player for a target virtual building in a world scene, acquiring position information of the target virtual building in the world scene and position information of the virtual city in the world scene, wherein the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and game resources acquired by the player after completing game tasks in the world scene are used for newly adding or upgrading the second virtual building and/or the virtual carrier in the personal world scene;
generating a transmission path of the virtual city pool to the target virtual building in the world scenario based on the location information of the target virtual building in the world scenario and the location information of the virtual city pool in the world scenario in response to a task dispatch operation for the target virtual building;
determining a target virtual vehicle from the personal world scene according to the transmission path;
generating an animation of the target virtual vehicle moving along the transfer path in the world scene.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the game control method provided by the embodiment of the present invention.
It should be noted that, as for the apparatus, the terminal device and the storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk, or an optical disk of a computer, and includes several instructions to enable a terminal device (which may be a computer, a tablet computer, a smart phone, or an indoor terminal device such as a game console or a VR device, etc.) to execute the game control method according to any embodiment of the present invention.
It should be noted that, in the above apparatus, each module, sub-module, and unit included in the apparatus is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution devices. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. A game control method is characterized in that a graphical user interface is obtained through rendering on a display of a terminal device, the content displayed by the graphical user interface comprises at least one virtual character and a world scene, the world scene comprises a virtual city pool belonging to a player and a plurality of first virtual buildings, the internal scene of the virtual city pool is a personal world scene, the personal world scene comprises a plurality of second virtual buildings and a plurality of virtual vehicles, and the method comprises the following steps:
in response to the selection operation of a player for a target virtual building in a world scene, acquiring the position information of the target virtual building in the world scene and the position information of the virtual city in the world scene, wherein the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and game resources acquired by the player after completing game tasks in the world scene are used for newly adding or upgrading the second virtual building and/or the virtual carrier in the personal world scene;
generating a transmission path of the virtual city pool to the target virtual building in the world scenario based on the location information of the target virtual building in the world scenario and the location information of the virtual city pool in the world scenario in response to a task dispatch operation for the target virtual building;
determining a target virtual vehicle from the personal world scene according to the transmission path;
generating an animation of the target virtual vehicle moving along the transfer path in the world scene.
2. The game control method according to claim 1, wherein acquiring the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene in response to a selection operation of the player for the target virtual building in the world scene comprises:
responding to a virtual building searching operation of a player, and generating a building list for displaying an icon of a first virtual building in the world scene;
and responding to the selection operation of a player for the target icon in the building list, and acquiring the position information of the target virtual building corresponding to the target icon in the world scene and the position information of the virtual city pool in the world scene.
3. The game control method of claim 2, wherein generating a building list showing an icon of a first virtual building in the world scene in response to a virtual building search operation by a player comprises:
responding to the virtual building searching operation of a player, and generating a display window for displaying a first virtual building in the world scene and a grade input control for inputting a grade screening condition;
responding to the operation of a player aiming at the grade input control, and acquiring a grade screening condition for screening the first virtual building;
and displaying icons of the first virtual buildings meeting the grade screening conditions in the display window to form a building list.
4. The game control method according to any one of claims 1 to 3, wherein generating a transmission path of the virtual city pool to the target virtual building in the world scenario based on the position information of the target virtual building in the world scenario and the position information of the virtual city pool in the world scenario in response to a task dispatch operation for the target virtual building comprises:
determining a start point and an end point of the transfer based on the location information of the virtual city pool and the location information of the target virtual building;
marking the starting point and the ending point in the world scene;
and generating a transmission path from the starting point to the end point in the world scene.
5. The game control method of claim 4, wherein determining a target virtual vehicle from the personal world scene according to the transmission path comprises:
determining a transmission distance of the transmission path in the world scene;
determining a distance range to which the transmission distance belongs;
determining the grade range of the virtual vehicle corresponding to the distance range according to the distance range to which the transmission distance belongs;
selecting the virtual vehicle with the lowest grade from the virtual vehicles with the grades within the grade range in the personal world scene as a target virtual vehicle.
6. The game control method of any one of claims 1-3, wherein generating an animation of the target virtual vehicle moving along the transport path in the world scene comprises:
loading appearance data of the target virtual vehicle;
generating an icon of the target virtual vehicle at the starting point of the conveying path according to the appearance data of the target virtual vehicle;
determining the moving speed of the target virtual vehicle in the world scene according to the grade of the target virtual vehicle;
determining a real-time location of an icon of the target virtual vehicle on the transfer path based on a moving speed of the target virtual vehicle in the world scene and a time within a game;
and updating the position of the icon of the target virtual carrier on the conveying path in real time.
7. The game control method according to any one of claims 1 to 3, wherein a display control for displaying the virtual vehicle is provided in the personal world scene, and the method further comprises:
switching the world scene to a personal world scene in response to a scene switching request of a player;
judging whether the upgrading resources required by upgrading the virtual vehicle are available;
and if the upgrading resources required by upgrading the virtual carrier are available, generating first prompt information for prompting the upgrading of the virtual carrier at the display control.
8. The game control method of claim 7, further comprising:
judging whether breakthrough resources for breakthrough to the next grade stage are available or not after the grade of the virtual carrier reaches the maximum grade of the current grade stage;
and if the breakthrough resources of the stage of the breakthrough to the next level exist, generating second prompt information for prompting the breakthrough of the virtual vehicle at the display control.
9. The game control method of claim 8, further comprising:
generating a display interface for displaying a virtual carrier in the personal world scene in response to an operation on the display control, wherein the display interface comprises an image of the virtual carrier and an upgrade control for upgrading the virtual carrier or a breakthrough control for breakthrough the virtual carrier;
in response to an operation directed to the upgrade control, upgrading the virtual vehicle, or,
and responding to the operation aiming at the breakthrough control, and breakthrough the virtual vehicle to a next level stage.
10. The game control method according to any one of claims 1 to 3, further comprising, after generating the animation of the virtual vehicle moving along the conveyance path in the world scene:
generating an interaction interface interacting with the target virtual building when the virtual vehicle reaches the target virtual building;
and responding to the operation of the interactive interface, and acquiring game resources for adding or upgrading the second virtual building and the virtual carrier in the personal world scene.
11. A game control apparatus, wherein a graphical user interface is rendered on a display of a terminal device, the content displayed by the graphical user interface includes at least one virtual character and a world scene, the world scene includes a virtual city pool belonging to a player and a plurality of first virtual buildings, an internal scene of the virtual city pool is a personal world scene, the personal world scene includes a plurality of second virtual buildings and a plurality of virtual vehicles, the apparatus comprising:
the position information acquisition module is used for responding to the selection operation of a player for a target virtual building in a world scene, acquiring the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene, wherein the world scene is a scene in which virtual characters of all players on a game server are allowed to enter, the personal world scene is a scene in which only the current virtual character of the player is allowed to enter, and game resources obtained after the player completes a game task in the world scene are used for newly adding or upgrading the second virtual building and/or the virtual carrier in the personal world scene;
a transmission path generation module, configured to generate, in response to a task dispatch operation for the target virtual building, a transmission path from the virtual city pool to the target virtual building in the world scene based on the position information of the target virtual building in the world scene and the position information of the virtual city pool in the world scene;
the target virtual vehicle determining module is used for determining a target virtual vehicle from the personal world scene according to the transmission path;
and the animation generation module is used for generating the animation of the target virtual carrier moving along the transmission path in the world scene.
12. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a game control method as claimed in any one of claims 1-10.
13. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing a game control method according to any one of claims 1 to 10.
CN202210427195.2A 2022-04-21 2022-04-21 Game control method, device, equipment and storage medium Pending CN114669052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210427195.2A CN114669052A (en) 2022-04-21 2022-04-21 Game control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210427195.2A CN114669052A (en) 2022-04-21 2022-04-21 Game control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114669052A true CN114669052A (en) 2022-06-28

Family

ID=82081068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210427195.2A Pending CN114669052A (en) 2022-04-21 2022-04-21 Game control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114669052A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207478A1 (en) * 2022-04-29 2023-11-02 腾讯科技(深圳)有限公司 Information display method and apparatus based on virtual zipline, and device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207478A1 (en) * 2022-04-29 2023-11-02 腾讯科技(深圳)有限公司 Information display method and apparatus based on virtual zipline, and device and medium

Similar Documents

Publication Publication Date Title
US9526994B2 (en) Deferred teleportation or relocation in virtual worlds
CN108499103B (en) Scene element display method and device
US8117551B2 (en) Computer system and method of using presence visualizations of avatars as persistable virtual contact objects
US7023452B2 (en) Image generation system, image generating method, and storage medium storing image generation program
CN114372356B (en) Artificial enhancement method, device and medium based on digital twins
CN111552550A (en) Task scheduling method, device and medium based on GPU (graphics processing Unit) resources
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
CN112717414B (en) Game scene editing method and device, electronic equipment and storage medium
CN112947923A (en) Object editing method and device and electronic equipment
CN113952720A (en) Game scene rendering method and device, electronic equipment and storage medium
CN114972594A (en) Data processing method, device, equipment and medium for meta universe
CN114669052A (en) Game control method, device, equipment and storage medium
JP7270008B2 (en) Game providing method, computer program, computer-readable recording medium, and computer device
CN114742981A (en) Post-processing special effect manufacturing system and method, AR special effect rendering method and device
WO2024046451A1 (en) Game level editing method and apparatus, device, and medium
CN104657045A (en) Intelligent terminal resource displaying control method, resource control method and apparatus
CN116778038A (en) Animation editor and animation design method based on three-dimensional map visualization platform
CN114885199B (en) Real-time interaction method, device, electronic equipment, storage medium and system
CN113082705B (en) Game scene switching method, game scene switching device, computer equipment and storage medium
CN117149889A (en) Graph data processing method and related device
CN114570022A (en) Game resource processing method, device, equipment and storage medium
KR102309243B1 (en) Method, system, and computer program for sharing content to chat room in picture-in-picture mode
CN113144606A (en) Skill triggering method of virtual object and related equipment
CN113268189B (en) Atlas management method, atlas management device, storage medium and computer equipment
CN114748877A (en) Game control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination