WO2023202239A1 - 虚拟载具的选择方法、装置、设备、存储介质及程序产品 - Google Patents

虚拟载具的选择方法、装置、设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2023202239A1
WO2023202239A1 PCT/CN2023/079592 CN2023079592W WO2023202239A1 WO 2023202239 A1 WO2023202239 A1 WO 2023202239A1 CN 2023079592 W CN2023079592 W CN 2023079592W WO 2023202239 A1 WO2023202239 A1 WO 2023202239A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
vehicle
vehicles
display
target
Prior art date
Application number
PCT/CN2023/079592
Other languages
English (en)
French (fr)
Inventor
刘博艺
仇蒙
田聪
崔维健
何晶晶
邹聃成
谢洁琪
邓昱
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2023202239A1 publication Critical patent/WO2023202239A1/zh

Links

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
    • 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/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • 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/8017Driving on land or water; Flying

Definitions

  • Embodiments of the present application relate to the field of computer technology, and in particular to a virtual vehicle selection method, device, equipment, storage medium and program product.
  • players can drive or carry virtual vehicles to move in virtual scenes.
  • Virtual vehicles enable players to move quickly and are important props.
  • a virtual vehicle when there are multiple virtual vehicles that the player can drive, after the player clicks the driving control, a virtual vehicle will be randomly selected among the multiple virtual vehicles to drive.
  • Embodiments of the present application provide a virtual vehicle selection method, device, equipment, storage medium and program product, which can improve the efficiency of human-computer interaction.
  • the technical solutions are as follows:
  • a method for selecting a virtual vehicle includes:
  • the vehicle selection area includes vehicle identifications respectively corresponding to the at least two virtual vehicles, wherein, the display of the vehicle identification corresponds to the appearance of the at least two virtual vehicles;
  • a virtual vehicle selection device includes:
  • a display module used to display virtual objects and virtual vehicles in the virtual scene, and the virtual vehicles are used to provide mobile carrying capabilities to the virtual objects;
  • the display module is also configured to display a vehicle selection area when there are at least two virtual vehicles within the carrying range of the virtual object.
  • the vehicle selection area includes information related to the at least two virtual vehicles.
  • Each vehicle has a corresponding vehicle identification, wherein the display of the vehicle identification corresponds to the appearance of the at least two virtual vehicles;
  • the display module is also configured to display a picture of the virtual object being carried by the target virtual vehicle in response to receiving a selection operation on the target vehicle identification.
  • the target virtual vehicle is the at least two virtual vehicles. The virtual vehicle among the vehicles corresponding to the target vehicle identification.
  • a computer device includes a processor and a memory.
  • the memory stores at least one instruction, at least a program, a code set or an instruction set.
  • the at least one instruction, the at least A program, the code set or the instruction set is loaded and executed by the processor to implement any of the virtualization methods described in the embodiments of this application. Selection method of virtual vehicle.
  • a computer-readable storage medium is provided. At least one program code is stored in the computer-readable storage medium. The at least one program code is loaded and executed by a processor to implement any of the embodiments of the present application. 1. The method of selecting a virtual vehicle.
  • a computer program product or computer program including computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual vehicle selection method described in any one of the embodiments of the present application.
  • the vehicle selection area is displayed, and the target virtual vehicle is determined by selecting the vehicle identification in the vehicle selection area, and the player is operating the virtual vehicle.
  • the target virtual vehicle is determined by selecting the vehicle identification in the vehicle selection area, and the player is operating the virtual vehicle.
  • Figure 1 is a schematic diagram of an interface for selecting a virtual vehicle in the related technology provided by an exemplary embodiment of the present application
  • Figure 2 is a schematic interface diagram of a virtual vehicle selection method provided by an exemplary embodiment of the present application.
  • Figure 3 is a schematic diagram of the implementation environment provided by an exemplary embodiment of the present application.
  • Figure 4 is a flow chart of a virtual vehicle selection method provided by an exemplary embodiment of the present application.
  • Figure 5 is a schematic interface diagram of a display method of a carrier identification provided by an exemplary embodiment of the present application.
  • Figure 6 is a flow chart of a virtual vehicle selection method provided by another exemplary embodiment of the present application.
  • Figure 7 is a schematic interface diagram of an interactive control provided by an exemplary embodiment of the present application.
  • Figure 8 is a schematic diagram of an oil quantity indicator provided by an exemplary embodiment of the present application.
  • Figure 9 is a schematic diagram of another oil level indicator provided by an exemplary embodiment of the present application.
  • Figure 10 is a schematic diagram of the display of the corresponding vehicle identification of a virtual vehicle provided by an exemplary embodiment of the present application in different states;
  • Figure 11 is a schematic interface diagram of a long press operation provided by an exemplary embodiment of the present application.
  • Figure 12 is a schematic interface diagram of a sliding operation provided by an exemplary embodiment of the present application.
  • Figure 13 is a schematic plan view of adjusting the field of view range of a virtual object provided by an exemplary embodiment of the present application.
  • Figure 14 is a schematic plan view of another method of adjusting the field of view range of a virtual object provided by an exemplary embodiment of the present application.
  • Figure 15 is a schematic interface diagram showing the process of a virtual object driving a target virtual vehicle provided by an exemplary embodiment of the present application
  • Figure 16 is a flow chart of a virtual vehicle selection method provided by another exemplary embodiment of the present application.
  • Figure 17 is another schematic interface diagram showing the process of a virtual object driving a target virtual vehicle provided by an exemplary embodiment of the present application.
  • Figure 18 is a functional logic diagram of a virtual vehicle selection method provided by an exemplary embodiment of the present application.
  • Figure 19 is a structural block diagram of a virtual vehicle selection device provided by an exemplary embodiment of the present application.
  • Figure 20 is a structural block diagram of a virtual vehicle selection device provided by another exemplary embodiment of the present application.
  • Figure 21 is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.
  • the virtual scene includes the scene displayed when the target application is running on the terminal, for example: the game scene displayed when the shooting game is run on the terminal.
  • the virtual scene includes at least one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, a three-dimensional virtual scene, etc.
  • the virtual scene can be a completely fictitious scene, a simulated scene of the real world, or a semi-simulated and semi-fictitious scene.
  • Virtual objects refer to movable objects in virtual scenes.
  • the movable object may be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in the virtual scene.
  • the virtual object is a three-dimensional model created based on animation skeleton technology, and each virtual object has its own shape and volume in the three-dimensional virtual environment.
  • players need to use virtual vehicles to transfer and fight virtual objects in the virtual scene.
  • the player needs to drive a virtual vehicle, click the driving control, and a virtual vehicle will be displayed on the terminal.
  • the scene shows an object driving a virtual vehicle, and the player can control the virtual object to drive the virtual vehicle.
  • a virtual object 101, a first virtual vehicle 102 and a second virtual vehicle 103 are displayed in the virtual scene 100.
  • a virtual object 201 is displayed in the virtual scene 200.
  • the virtual object 201 has two rideable virtual vehicles in the virtual scene 200: The first virtual vehicle 202 and the second virtual vehicle 203; press and hold the driving control 204 to display the vehicle selection box 205.
  • the vehicle selection box 205 displays the first vehicle identification 206, the second vehicle identification 207 and the selection The pointer 208, the first vehicle identification 206 corresponds to the first virtual vehicle 202, and the second vehicle identification 207 corresponds to the second virtual vehicle 203; long press the driving control 204 while sliding left and right to move the vehicle selection The vehicle identification in frame 205; after the long press operation is completed and the selection pointer 208 points to the first vehicle identification 206, a picture of the virtual object 201 driving the first virtual vehicle 202 is displayed.
  • players can clarify their target virtual vehicle before operating the virtual vehicle, which reduces players' erroneous selection operations on virtual vehicles, thereby reducing computer processing errors.
  • the resource consumption of operations improves the efficiency of human-computer interaction and improves user experience.
  • Figure 3 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. As shown in Figure 3, the implementation environment includes a terminal 310, a server 320 and a communication network 330. The terminal 310 and the server 320 are connected through the communication network 330. connect.
  • a target application supporting virtual scenes is installed and run in the terminal 310 .
  • the target application may be a virtual reality application, a First-Person Shooting (FPS) game, a Third-Personal Shooting (TPS) game, or a Multiplayer Online Battle Arena Games. Any one of MOBA), Massive Multiplayer Online Role-Playing Game (MMORPG), etc., the embodiment of the present application is not limited to this.
  • the terminal 310 displays the virtual scene through a target application program, the virtual scene includes a virtual vehicle and a virtual object, and the target application program provides a virtual vehicle selection function.
  • a player account is logged into the terminal 310.
  • a vehicle selection area will be displayed, where the vehicle The selection area includes a vehicle identification corresponding to the virtual vehicle.
  • the terminal 310 receives the target in the vehicle selection area.
  • the terminal 310 For the selection operation of the vehicle identification, the terminal 310 generates a selection request according to the selection operation and uploads the selection request to the server 320.
  • the server 320 determines the target virtual vehicle according to the selection request and sends the selection corresponding to the target virtual vehicle.
  • the result is fed back to the terminal 310, and the terminal 310 displays a picture of the target virtual vehicle carrying the virtual object according to the selection result.
  • the terminal 310 is a smartphone, a tablet computer, a desktop computer, a portable notebook computer, a smart home appliance, a vehicle-mounted terminal, an aircraft, etc., but is not limited thereto.
  • the server 320 is used to provide background services for target applications installed in the terminal 310. It is worth noting that the server 320 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, and networks. Services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • CDN Content Delivery Network, content distribution network
  • the server 320 can also be implemented as a node in the blockchain system.
  • the communication network 330 may be a wired network or a wireless network, which is not limited in the embodiments of the present application.
  • the information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • signals involved in this application All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
  • the player operation data involved in this application were obtained with full authorization.
  • the virtual vehicle selection method provided by the embodiment of this application is schematically: the player presses and holds the driving control, and a vehicle selection box will be displayed next to the driving control.
  • the vehicle selection box displays the vehicle identification and the corresponding virtual vehicle. Select pointer. Long press the driving control while sliding left and right to select the vehicle identification.
  • the virtual vehicle corresponding to the vehicle identification pointed to by the selection pointer in the vehicle selection box is the virtual vehicle that the player is about to drive.
  • the vehicle identification The vehicle logo also displays the color, wear status, oil level and other information of the corresponding virtual vehicle.
  • Players can quickly select a virtual vehicle based on this information.
  • the virtual vehicle selection method provided by the embodiment of the present application enables players to clarify their operation goals before boarding the virtual vehicle, and can accurately select the virtual vehicle through the display of important information, reducing the need for virtual vehicles.
  • the trial and error cost of selection improves the player's user experience in the game.
  • the virtual vehicle selection method provided by the embodiment of the present application is schematically: the player clicks the driving button, and a vehicle selection box is displayed in the interface.
  • the vehicle selection box displays a vehicle identification corresponding to the vehicle model.
  • Figure 4 is a flow chart of a method for selecting a virtual vehicle provided by an embodiment of the present application. This method is explained by taking the method applied to the terminal 310 shown in Figure 3 as an example. The method includes :
  • Step 401 Display virtual objects and virtual vehicles in the virtual scene.
  • the virtual scene is a scene displayed when the target application is running on the terminal, and a player account is logged in the target application.
  • the virtual scene also includes virtual elements such as virtual sky, virtual land, and virtual ocean, where the virtual land includes environmental elements such as deserts and cities.
  • the player account can control the virtual object to move in the virtual scene.
  • the virtual scene is implemented as a combat map in a shooting game, the player can control the virtual object to move in the combat map.
  • the virtual object is a virtual image used to represent the player account in the virtual scene.
  • One virtual object can be displayed in the virtual scene, or two or more virtual objects can be displayed.
  • the k virtual objects are respectively Controlled by k player accounts, k is a positive integer.
  • the virtual vehicle can be a completely virtual vehicle or a simulated vehicle of a vehicle in a real scene, such as a motorcycle, a car, a truck, a train, an airplane, a tractor, etc.
  • virtual vehicles are used to provide mobile carrying capabilities to virtual objects in virtual scenes.
  • a virtual object can drive a virtual vehicle to move in the virtual scene, or ride a virtual vehicle to move in the virtual scene.
  • the virtual vehicle is used to provide mobile carrying capabilities to one virtual object, or to provide mobile carrying capabilities to two or more virtual objects.
  • Step 402 When there are at least two virtual vehicles within the mounting range of the virtual object, display the vehicle selection area.
  • the vehicle selection area is displayed.
  • the determination method of the carrying range includes at least one of the following methods:
  • the virtual object is located at a certain location in the virtual scene. With this location as the center of the circle and the preset distance as the radius, the circular range is the carrying range of the virtual object.
  • the virtual object is located at a certain location in the virtual scene. With this location as the center of the circle, the preset distance as the radius, and the preset angle as the central angle, the sector-shaped range is the carrying range of the virtual object.
  • the preset The angle is realized based on the field of view angle of the virtual object. Schematically, the virtual object faces the A direction in the virtual scene, and the field of view range is 120°. Then the range from -60° in the A direction to 60° in the A direction is used as the preset angle. Assume a preset angle range, wherein the divided angle range is divided in the horizontal direction in the virtual scene.
  • the entire virtual vehicle when the entire virtual vehicle is within the carrying range, it belongs to the virtual vehicle within the carrying range, or when part of the virtual vehicle is within the carrying range, it belongs to the virtual vehicle within the carrying range.
  • the above-mentioned vehicle selection area is used to select virtual vehicles within the carrying range.
  • the vehicle selection area includes vehicle identifications respectively corresponding to at least two virtual vehicles, wherein the display of the vehicle identifications corresponds to the appearance of the at least two virtual vehicles.
  • the appearance of the virtual vehicle includes the outline, surface color, etc.
  • the display of the vehicle identification corresponds to the outline of the motorcycle, or the vehicle identification
  • the display color corresponds to the surface color of the motorcycle.
  • the display method of the above-mentioned vehicle identification in the vehicle selection area includes at least one of the following methods:
  • the vehicle selection area displays vehicle identification in the form of a list.
  • the vehicle selection area can display the vehicle identification in the form of a horizontal list, schematically, where the shape of the vehicle selection area is a rectangle with a length of n and a width of 1; it can also display the vehicle identification in the form of a vertical list.
  • Vehicle identification schematically, where the shape of the vehicle selection area is a rectangle with a length of 1 and a width of n; the vehicle identification can also be displayed in the form of a circular list, n is a positive integer.
  • all vehicle identifications can be displayed in the display area of the vehicle selection area, where all vehicle identifications refer to vehicle identifications corresponding to all virtual vehicles within the carrying range of the virtual object.
  • the vehicle identifiers corresponding to these three virtual vehicles will be displayed in the display area of the vehicle selection area at the same time; or, part of the virtual vehicle will be displayed in the display area of the vehicle selection area.
  • Vehicles, among which, some virtual vehicles refer to the vehicle identifiers corresponding to some virtual vehicles within the carrying range of the virtual object.
  • the display area of the selection area displays the vehicle identification corresponding to a virtual vehicle. When sliding left and right in the vehicle selection area, you can move the above three vehicle logos so that they are displayed in the vehicle selection area in sequence.
  • the arrangement order of the vehicle identifiers corresponds to the arrangement order of at least two virtual vehicles surrounding the virtual object in the virtual scene.
  • the vehicle selection area displays the vehicle identification in a planar distribution.
  • all vehicle identifications are displayed in a planar distribution in the vehicle selection area, where all vehicle identifications refer to vehicle identifications corresponding to all virtual vehicles within the carrying range of the virtual object.
  • the arrangement structure of the vehicle identifiers corresponds to the arrangement structure of at least two virtual vehicles surrounding the virtual object in the virtual scene.
  • the arrangement structure of the vehicle identifiers corresponds to the arrangement structure between the virtual object and the at least two virtual vehicles.
  • the position relationship corresponds to the orientation relationship. For example, if vehicle A is located directly in front of the direction in which the virtual object faces, then vehicle A is displayed in the upper middle direction in the vehicle selection area.
  • a virtual object 501 is displayed in the virtual scene 500, and there are a first virtual vehicle 502, a second virtual vehicle 503, and a third virtual vehicle 504 within the mounting range of the virtual object 501. Then the vehicle selection area 505 is displayed.
  • the vehicle selection area 505 has a display area 506.
  • the display area 506 displays the first vehicle identification 507 corresponding to the first virtual vehicle 502 and the third vehicle identification 507 corresponding to the second virtual vehicle 503.
  • the structure corresponds to the arrangement structure of the first virtual vehicle 502 , the second virtual vehicle 503 , and the third virtual vehicle 504 surrounding the virtual object 501 in the virtual scene 500 .
  • the arrangement structure of the vehicle identification in the vehicle selection area also changes accordingly.
  • the vehicle selection area displays the vehicle identification in the form of a wheel.
  • all vehicle identifications are displayed in the display area of the vehicle selection area in the form of a roulette wheel, where all vehicle identifications refer to vehicle identifications corresponding to all virtual vehicles within the carrying range of the virtual object.
  • the arrangement order of the vehicle identifiers in the roulette wheel corresponds to the arrangement order of at least two virtual vehicles around the virtual object in the virtual scene.
  • the wheel can rotate clockwise or counterclockwise.
  • the virtual object when the roulette wheel is rotated, the virtual object also rotates correspondingly in the virtual scene, wherein the rotation direction of the virtual object is the same as the rotation direction of the roulette wheel.
  • corresponding status indication elements are respectively displayed on the vehicle identification.
  • the vehicle status includes at least one of oil level status, tire wear status, body wear status, and protection strength.
  • Step 403 In response to receiving a selection operation on the target vehicle identification, display a screen for carrying the virtual object through the target virtual vehicle.
  • the target virtual vehicle is the virtual vehicle corresponding to the target vehicle identification among the at least two virtual vehicles.
  • the player account can select at least two vehicle identifiers based on the status indication elements displayed by the at least two vehicle identifiers, thereby determining the target vehicle identifier.
  • a picture of the virtual object driving the target virtual vehicle is displayed, or a picture of the virtual object riding on the target virtual vehicle is displayed.
  • the virtual vehicle selection method displayed the vehicle selection area when it is necessary to select a virtual vehicle in the virtual scene, and selects the vehicle identification in the vehicle selection area. operation and determine the target virtual vehicle, then the player can clarify his target virtual vehicle before operating the virtual vehicle, which improves the efficiency of human-computer interaction, enhances the user experience, and reduces additional errors caused to the server by misoperation. Data processing pressure.
  • the method provided by this embodiment selects virtual vehicles in the vehicle selection area in the form of a list, and displays the vehicles to be selected in the form of a list, which improves human-computer interaction when selecting in the vehicle selection area. efficiency.
  • the method provided in this embodiment intuitively reflects each vehicle identification by displaying the vehicle identification in a planar distribution form.
  • the positional relationship between the corresponding virtual vehicle and the virtual object in the virtual scene improves the accuracy and efficiency of selection in the vehicle selection area.
  • the method provided in this embodiment improves the convenience of operation by displaying the vehicle identification in the form of a roulette wheel and cyclically selecting between multiple vehicle identifications.
  • Figure 6 is a flow chart of a method for selecting a virtual vehicle provided by another exemplary embodiment of the present application. This method is explained by taking the method applied to a terminal as an example. As shown in Figure 6, the method includes:
  • Step 601 Display virtual objects and virtual vehicles in the virtual scene.
  • virtual vehicles are used to provide mobile carrying capabilities to virtual objects.
  • Step 602 When there are at least two virtual vehicles within the carrying range of the virtual object, display interactive controls.
  • the interactive controls include at least one of a driving control and a riding control.
  • the driving control is used to trigger the virtual object to drive the virtual vehicle
  • the riding control is used to trigger the virtual object to ride the virtual vehicle.
  • ways of displaying interactive controls include: displaying only driving controls; or displaying only riding controls; or displaying driving controls and riding controls at the same time.
  • FIG. 7 Schematically, if the implementation is to display driving controls and riding controls at the same time, please refer to Figure 7.
  • a virtual object 701 is displayed in the virtual scene 700. There are two virtual vehicles within the carrying range of the virtual object 701, and the driving controls are displayed at the same time. 702 and ride controls 703.
  • Step 603 In response to receiving a trigger operation on the interactive control, display the vehicle selection area.
  • the implementation method of triggering operation includes at least one of the following methods:
  • the trigger operation is implemented as a click operation on the interactive control
  • the trigger operation is implemented as a long press operation on the interactive control
  • the trigger operation is implemented as a voice command operation on the interactive control.
  • the voice command for triggering the interactive control is set on the setting interface of the target application, and the interactive control is triggered through the voice command to display the vehicle selection area;
  • the triggering operation is implemented as a preset gesture for the interactive control.
  • the preset gesture for triggering the interactive control is set on the setting interface of the target application, and the interactive control is triggered through the preset gesture to display the vehicle selection area.
  • the above method of displaying the vehicle selection area also includes: in response to the presence of at least two virtual vehicles within the carrying range of the virtual object, simultaneously displaying the interactive control and the vehicle selection area. Schematically, when there are at least two virtual vehicles within the carrying range of the virtual object, the vehicle selection area and interactive controls are directly displayed.
  • the vehicle selection area includes vehicle identifiers respectively corresponding to at least two virtual vehicles.
  • the display of the vehicle identification corresponds to the appearance of at least two virtual vehicles.
  • corresponding status indication elements are respectively displayed on the vehicle logo, where the vehicle status includes oil level status, tire wear status, body wear status, and protection strength. At least one of, optionally, describe the status indication elements corresponding to the oil level status, tire wear status, vehicle body wear status, and protection strength:
  • Vehicle status includes fuel level status.
  • a fuel level indication mark is displayed on the vehicle logo.
  • a fuel level indicator mark 802 is displayed below the vehicle logo 801, and the black part represents The remaining fuel amount of the virtual vehicle corresponding to the vehicle identification 801; or, based on the remaining fuel ratio of at least two virtual vehicles, display an indication area corresponding to the remaining fuel ratio on the vehicle identification.
  • FIG 9 there is a black area 902 in the appearance of the vehicle identification 901.
  • the proportion of the black area 902 in the entire vehicle identification 901 is the remaining fuel ratio of the virtual vehicle corresponding to the vehicle identification 901.
  • the black color of the black area 902 is only a schematic representation.
  • the black areas 902 with different oil remaining ratios can be set to different colors. For example, if the oil remaining ratio is 10%-1%, then The black area 902 is set to red; if the remaining fuel ratio is 100%-90%, the black area 902 is set to green (it is worth noting that if the color of the above-mentioned black area 902 is the appearance color of the virtual vehicle corresponding to the virtual logo same, Then adjust the color of the black area 902. For example: if the appearance color of the virtual vehicle corresponding to the virtual logo is red, then when the remaining fuel ratio is 9%, adjust the color of the black area 902 to dark red to make it consistent with the appearance color. differentiate).
  • Vehicle status includes tire wear status.
  • the tire wear includes at least one of the wear of the virtual vehicle during driving, the wear of the virtual vehicle after receiving an attack, etc., which is not limited in this embodiment.
  • the tire wear logo is displayed on the vehicle logo.
  • the tire wear box/tire wear level number, tire wear box/tire wear level number are displayed under the vehicle logo.
  • Vehicle status includes body wear status.
  • the wear of the vehicle body includes at least one of wear and tear of the virtual vehicle during driving, wear and tear of the virtual vehicle after being attacked, etc., which is not limited in this embodiment.
  • the body wear mark is displayed on the vehicle mark.
  • the body wear frame/body wear level number is displayed under the vehicle mark, and the body wear frame/body wear level number is displayed.
  • an indication area corresponding to the vehicle body wear status is displayed on the vehicle logo with performance characteristics that are different from the vehicle logo.
  • Vehicle status includes protection strength.
  • the protection strength refers to the virtual vehicle's ability to resist damage. The higher the protection strength, the stronger the virtual vehicle's ability to resist damage.
  • the protection strength mark is displayed on the vehicle logo.
  • the protection strength box/protection strength level number is displayed under the vehicle logo, and the protection strength box/protection strength level number is displayed in It is used to indicate the protection strength of the virtual vehicle corresponding to the vehicle logo; or, based on the protection strength of at least two virtual vehicles, it represents the appearance of the protective part of different vehicle logos, where the appearance of the protective part of the vehicle logo is different from that of the vehicle logo.
  • the protective part of the corresponding virtual vehicle has a corresponding appearance, for example: the vehicle logo is displayed as a jeep with a hard top, and its protection strength is high; the vehicle logo is displayed as a soft-top jeep, and its protection strength is low; or, based on at least two virtual vehicles
  • the protection strength of the vehicle is displayed on the vehicle logo with an indicator area corresponding to the protection strength with performance characteristics that are different from the vehicle logo.
  • status indication elements corresponding to oil quantity status, tire wear status, vehicle body wear status, and protection strength are only illustrative descriptions, and are not limited in this embodiment of the present application.
  • the status indication elements corresponding to the tire wear status and the body wear status are jointly displayed to represent the overall usage status of the virtual vehicle corresponding to the vehicle identification.
  • Figure 10 shows the virtual vehicle.
  • the corresponding vehicle identification is displayed in different states, as shown in Figure 10:
  • the first vehicle identification 1010 indicates that the virtual vehicle has not been used, wherein the fuel level indicator 1011 indicates that the remaining fuel ratio of the virtual vehicle is 100%; the second vehicle identification 1020 indicates that the virtual vehicle is used. , optionally, where there is a certain degree of wear on both the tires and the body, the black part indicates the joint wear degree of the tires and the body, and the fuel level indicator mark 1021 indicates that the remaining fuel level of the virtual vehicle is 50%; the third vehicle The mark 1030 indicates that the virtual vehicle can no longer be driven. Optionally, the black part accounts for 100% of the third vehicle mark 1030, indicating that the tires and body have been completely worn.
  • the oil level indicator mark 1031 indicates that the virtual vehicle is oily.
  • the remaining volume ratio is 10%; the fourth vehicle mark 1040 indicates that the virtual vehicle can no longer be driven.
  • both the tires and the body have a certain degree of wear, and the black part indicates the joint wear degree of the tires and the body.
  • the fuel level indication mark 1041 indicates that the remaining fuel level of the virtual vehicle is 0%.
  • Step 604 In response to receiving a selection operation on the target vehicle identification, display the virtual pair through the target virtual vehicle. The picture of the image being carried.
  • the target virtual vehicle is the virtual vehicle corresponding to the target vehicle identification among the at least two virtual vehicles.
  • the vehicle selection area includes a pointer display element.
  • the pointer display element can be implemented in the form of a selection pointer.
  • the pointer display element is an element of the virtual vehicle selected by moving the switch in the vehicle selection area; or, the display position of the pointer display element remains unchanged, and the vehicle identification displayed in the vehicle selection area is moved by Switch the selected virtual vehicle.
  • displaying the screen of carrying the virtual object through the target virtual vehicle also includes the following steps:
  • Step 1 In response to receiving a long press operation on the interactive control, display the vehicle selection area and pointer display element.
  • the above long press operation refers to pressing and holding the interactive control without releasing it. Please refer to Figure 11.
  • the driving control 1101 is displayed in the virtual scene 1100. If you press and hold the driving control 1101, the vehicle selection area 1102 and the selection pointer will be displayed. 1103.
  • Step 2 Accept the sliding operation connected to the long press operation.
  • accepting a sliding operation connected to a long press operation means accepting a sliding operation while pressing and holding the interactive control without releasing it.
  • the sliding operation may be a sliding operation within the interactive control display area, or may be a sliding operation within other virtual scene display areas including outside the interactive display area.
  • the above-mentioned sliding operation includes at least one of a left-right sliding operation, an up-down sliding operation, or a rotating sliding operation around a certain point.
  • the above-mentioned sliding operation can also be implemented as a sliding operation in any direction. , this embodiment is not limited to this.
  • the above situation of receiving a sliding operation connected to a long press operation also includes at least one of the following situations:
  • the moving object of the sliding operation is the pointer display element.
  • the vehicle identification currently indicated by the pointer display element is the currently selected vehicle identification.
  • the moving object of the sliding operation is the vehicle logo.
  • the pointer display element is fixed at a certain position in the vehicle selection area and always indicates a certain vehicle logo. If the vehicle logo is moved, the pointer displays the vehicle indicated by the element. The logo will also change.
  • receiving the sliding operation connected to the long press operation also includes:
  • the viewing angle direction of the virtual object is synchronously adjusted.
  • the viewing angle direction of the virtual object corresponds to the direction indicated by the pointer display element in the vehicle selection area.
  • the pointer display element indicates a certain vehicle logo.
  • the middle position of the virtual object, then the viewing angle direction of the virtual object is also facing the middle position of the virtual vehicle corresponding to the vehicle identification.
  • a virtual object 1201 is displayed, and a first virtual vehicle 1202 is displayed within the carrying range of the virtual object 1201. Then the driving control 1203 and the vehicle are displayed in the virtual scene 1200. Selection area 1204. The first vehicle identification 1205 and selection pointer 1206 corresponding to the first virtual vehicle 1202 are displayed in the vehicle selection area 1204; long press the driving control 1203 while sliding left and right to move the vehicle selection area 1204.
  • the position indicated by the selection pointer 1206 on the first vehicle identifier 1205 corresponds to the position where the viewing angle direction 1208 of the virtual object 1201 points to the first virtual vehicle 1202 .
  • the above-mentioned synchronous adjustment of the viewing angle direction of the virtual object that is, the synchronous adjustment of the visual field range of the virtual object (the visual field range may refer to the display screen of the current virtual scene).
  • the virtual scene is implemented as a three-dimensional virtual scene and the carrying range of the virtual object is implemented as a circular range with the virtual object fixed at a certain location in the virtual scene as the center and the preset distance as the radius, then by sliding
  • the situations in which the field of view range of a virtual object is adjusted include at least one of the following situations:
  • Situation 1 Within the carrying range of the virtual object, there is a rideable virtual vehicle outside the virtual object's field of view.
  • the sliding operation allows the virtual object's field of view to be adjusted 360 degrees.
  • the mounting range of virtual object 1301 is a circle with virtual object 1301 as the center and 2m as the radius.
  • logo; sector 1302 is used to represent the field of view of the virtual object.
  • a virtual vehicle 1303 within the carrying range of the virtual object 1301; optionally , display the above four vehicle logos in the vehicle selection area, and slide from the first displayed vehicle logo to the last displayed vehicle logo in order, which can cause the virtual object 1301 to rotate 360 degrees in the three-dimensional virtual scene, thereby This allows the field of view of the virtual object 1301 to include four virtual vehicles within the mounting range during the sliding operation.
  • the carrying range of the virtual object 1401 is a circle with the virtual object 1401 as the center and a radius of 2m.
  • the vehicle identification can cause the visual field range of the virtual object 1401 to change, where the changing range of the visual field range is sliding from the first sector 1402 to the second sector 1403, where the first sector 1402 represents the visual field range of the first virtual vehicle.
  • 1404 can be completely displayed in the current picture of the virtual scene; within the field of view represented by the second sector 1403, the second virtual vehicle 1405 can be completely displayed in the current picture of the virtual scene.
  • the above-mentioned vehicle selection selection area includes at least two display sub-areas corresponding to at least two vehicle identifiers, wherein the i-th vehicle identifier is displayed in the i-th display sub-area, i is a positive integer and i is less than or equal to the number of virtual vehicles existing within the carrying range of the virtual object, then receiving the sliding operation connected to the long press operation also includes:
  • the pointer indication element will always indicate a certain vehicle identification, and the vehicle identification will be displayed in the area within the vehicle selection area, that is, the display sub-area. Highlight.
  • the highlight means that the display sub-region corresponding to the vehicle logo indicated by the pointer display element is brighter than the display sub-region corresponding to other vehicle logos, or the display corresponding to the vehicle logo indicated by the pointer display element
  • the color of the sub-area is different from the color of the display sub-area corresponding to other vehicle identifiers.
  • Step 3 In response to the end of the sliding operation, determine the vehicle identification indicated by the pointer display element at the end of the sliding operation as the target vehicle identification, and display a picture of the virtual object being carried by the target virtual vehicle.
  • displaying the picture of the virtual object being carried by the target virtual vehicle includes at least one of: displaying a picture of the virtual object driving the target virtual vehicle, and displaying a picture of the virtual object riding on the target virtual vehicle.
  • a virtual object 1501, a virtual vehicle 1502, a vehicle selection area 1503 and a driving control 1504 are displayed in the virtual scene 1500.
  • the vehicle selection area 1503 displays a selection pointer 1505 and The vehicle logo 1506 corresponding to the virtual vehicle 1502 is long pressed while sliding left and right on the driving control 1504. After the left and right sliding is stopped and the long press operation is completed, the pointer 1505 is selected to point to the vehicle logo 1506, and the driving virtual vehicle is displayed in the virtual scene 1510.
  • 1511 virtual vehicle 1511 and virtual vehicle 1502 belong to the same virtual vehicle).
  • the virtual vehicle selection method displayed the vehicle selection area when it is necessary to select a virtual vehicle in the virtual scene, and selects the vehicle identification in the vehicle selection area. operation and determine the target virtual vehicle, then the player can clarify his target virtual vehicle before operating the virtual vehicle, which improves the efficiency of human-computer interaction, enhances the user experience, and reduces additional errors caused to the server by misoperation. Data processing pressure.
  • the virtual vehicle selection method displayed by the embodiment of the present application displays a vehicle identification in the vehicle selection area, wherein the vehicle identification can be used to identify the vehicle status of the virtual vehicle, and the player uses the status indication element on the vehicle identification Before operating the virtual vehicle, at least one of the fuel level status, tire wear status, body wear status, and protection strength of the virtual vehicle can be previewed, so as to make an accurate selection of the virtual vehicle and reduce the time spent on the virtual vehicle.
  • the cost of trial and error in selection further Improved player user experience.
  • the virtual vehicle selection method provided by the embodiment of the present application realizes the selection of the vehicle identification through long pressing and sliding operation of the interactive control, making the selection operation smoother and further improving the efficiency of human-computer interaction.
  • Figure 16 is a flow chart of a method for selecting a virtual vehicle provided by another exemplary embodiment of the present application. This method is illustrated by taking the method being executed by a terminal as an example. As shown in Figure 16, the method includes:
  • Step 1601 Display virtual objects and virtual vehicles in the virtual scene.
  • virtual vehicles are used to provide mobile carrying capabilities to virtual objects.
  • Step 1602 When there are at least two virtual vehicles within the carrying range of the virtual object, display the vehicle selection area and interactive controls.
  • all vehicle identifications are displayed in the display area of the vehicle selection area in a planar distribution, where all vehicle identifications refer to vehicle identifications corresponding to all virtual vehicles within the carrying range of the virtual object, where , the arrangement structure of the vehicle identification corresponds to the arrangement structure of at least two virtual vehicles surrounding the virtual object in the virtual scene.
  • the player can preview the position of the virtual vehicle in the virtual scene through the arrangement structure of the vehicle identifiers in the vehicle selection area.
  • Step 1603 Receive a selection operation on the target vehicle identification in the vehicle selection area.
  • the player can select the vehicle identification according to the arrangement structure of the vehicle identification in the vehicle selection area, thereby determining the target vehicle identification.
  • the implementation of the selection operation includes a click operation on the target carrier identification.
  • the vehicle selection area 1701 in the virtual scene 1700 displays a first vehicle identification 1703 corresponding to the first virtual vehicle 1702 and a second vehicle identification 1705 corresponding to the second virtual vehicle 1704. , the third vehicle identification 1707 corresponding to the third virtual vehicle 1706, click the first vehicle identification 1703, then the first vehicle identification 1703 is the target vehicle identification.
  • Step 1604 In response to receiving a triggering operation on the interactive control, based on the selection operation on the target vehicle identification, display a picture of the virtual object being carried by the target virtual vehicle.
  • the target virtual vehicle is the virtual vehicle corresponding to the target vehicle identification among the at least two virtual vehicles.
  • a triggering operation on the interactive control is received, and then a picture of the virtual object being carried by the target virtual vehicle is displayed.
  • the implementation of the triggering operation of the interactive control is explained in step 603 and will not be described again here.
  • the interactive controls include at least one of driving controls and riding controls, which are not limited in the embodiments of the present application.
  • the driving of the first virtual vehicle 1711 (virtual vehicle 1711 and virtual vehicle 1702) will be displayed in the virtual scene 1710. Belonging to the same virtual vehicle, that is, the target virtual vehicle) screen.
  • the screen showing the virtual object being carried by the target virtual vehicle also includes:
  • a seat selection area is displayed, wherein the seat selection area includes at least two seat identifiers corresponding to at least two available seats of the target virtual vehicle, wherein the at least two seat identifiers are available representing the positions of at least two available seats in the target virtual vehicle; receiving a sliding operation connected to a long press operation; in response to the end of the sliding operation, determining the seat identification indicated by the sliding operation when the sliding operation ends as the target seat identification, And display a picture of the virtual object riding the target virtual vehicle on the available seat corresponding to the target seat identification.
  • the virtual vehicle selection method displayed the vehicle selection area when it is necessary to select a virtual vehicle in the virtual scene, and selects the vehicle identification in the vehicle selection area. operation and determine the target virtual vehicle, then the player can clarify his target virtual vehicle before operating the virtual vehicle, which improves the efficiency of human-computer interaction, enhances the user experience, and reduces additional errors caused to the server by misoperation. Data processing pressure.
  • the virtual vehicle selection method provided by the embodiment of the present application, the arrangement structure of the vehicle identification in the vehicle selection area and the virtual The arrangement structure of the vehicles around the virtual objects in the virtual scene corresponds to the arrangement structure.
  • the player can intuitively understand the position of the virtual vehicle in the virtual scene through the arrangement structure of the vehicle logo, so as to select the required virtual vehicle and reduce the number of virtual objects in the virtual scene.
  • the cost of trial and error in vehicle selection further improves the player's user experience.
  • Figure 18 is a functional logic diagram of a virtual vehicle selection method provided by an exemplary embodiment of the present application. As shown in Figure 18, the virtual vehicle is implemented as a virtual vehicle as an example for explanation. The method includes:
  • Step 1802 There is a virtual vehicle in the virtual scene.
  • the virtual scene also contains virtual objects.
  • Players can control the virtual objects to move in the virtual scene.
  • the virtual scene picture displayed on the player's terminal will continue to change.
  • Step 1803 Determine whether the virtual vehicle is within 2m of the virtual object.
  • Step 1804 If the virtual vehicle is not within 2m of the virtual object, the driving/riding button will not be displayed.
  • the above 2m range can refer to the range of a circle with the virtual object as the center and a radius of 2m; it can also refer to the sector-shaped range with the virtual object as the center, a radius of 2m, and the central angle of the circle is the field of view angle of the virtual object.
  • the map in the virtual scene has a scale.
  • the above 2m refers to the size of the actual size reduced/enlarged according to the scale, not the size of the actual screen.
  • Step 1805 If the virtual vehicle is within 2m of the virtual object, display the driving/riding button.
  • only the driving button can be displayed.
  • only the driving button can be displayed when the virtual vehicle cannot be ridden.
  • the situations in which the virtual vehicle cannot be ridden include: the virtual vehicle only has a driving function, and the virtual vehicle can not be ridden.
  • the riding position is full; it is also possible to display only the riding button.
  • only the riding button is displayed when the virtual vehicle cannot be driven.
  • the situation where the virtual vehicle cannot be driven includes: the driving position of the virtual vehicle is full; also Driving and riding buttons can be displayed simultaneously.
  • Step 1806 Determine whether a click operation or a long press operation is received.
  • the trigger operation received on the driving/riding button is a click operation or a long press operation.
  • the triggering operation corresponds to a triggering duration, and whether the triggering duration reaches a preset duration is determined to determine whether a click operation or a long press operation is received on the driving/riding button.
  • the triggering duration is within 1 second (including 1 second), it is determined to be a click operation; if the triggering duration exceeds 1 second, it is determined to be a long press operation.
  • Step 1807 if a click operation is received, get in the car directly.
  • the trigger operation received on the driving/riding button is a click operation
  • the virtual vehicle facing the virtual object's perspective at the end of the click operation is used as the target virtual vehicle, and the virtual object is displayed riding/driving that A screen shot of the target virtual vehicle.
  • Step 1808 If a long press operation is received, determine whether the number of virtual vehicles is greater than or equal to 2.
  • the trigger operation received on the driving/riding button is a long press operation, then it is determined whether the number of virtual vehicles existing within 2m of the virtual object is greater than or equal to 2.
  • Step 1809 if the number of virtual vehicles is less than 2, let go and get on the vehicle.
  • the virtual vehicle is regarded as the target virtual vehicle, and at the end of the long press operation, a screen of the virtual object riding/driving the target virtual vehicle is displayed.
  • Step 1810 If the number of virtual vehicles is greater than or equal to 2, trigger the vehicle selection box.
  • a vehicle selection box is displayed in the virtual scene, where a vehicle identification corresponding to the virtual vehicle is displayed in the vehicle selection box.
  • the display of the vehicle identification is consistent with the appearance and color of the virtual vehicle corresponding to the vehicle identification.
  • the vehicle identification also includes remaining fuel information and vehicle wear status of the virtual vehicle corresponding to the vehicle identification.
  • Step 1811 Swipe left or right to select the virtual vehicle.
  • the vehicle selection box also includes a selection pointer.
  • the selection pointer always indicates a certain vehicle identification.
  • the above-mentioned selection pointer is fixed at a certain position in the vehicle selection box, and the left and right sliding operation changes the vehicle identification in the vehicle selection box.
  • the player's perspective also rotates left and right accordingly.
  • Step 1812 let go and get on the car.
  • the screen of the target virtual vehicle in the virtual object riding/driving step 1811 is displayed.
  • FIG. 19 shows a structural block diagram of a virtual vehicle selection device provided by an exemplary embodiment of the present application.
  • the device includes:
  • the display module 1910 is used to display virtual objects and virtual vehicles in the virtual scene, and the virtual vehicles are used to provide mobile carrying capabilities to the virtual objects;
  • the display module 1910 is also configured to display a vehicle selection area when there are at least two virtual vehicles within the mounting range of the virtual object, and the vehicle selection area includes information related to the at least two virtual vehicles.
  • the display module 1910 is also configured to display a picture of the virtual object being carried by a target virtual vehicle in response to receiving a selection operation on the target vehicle identification, and the target virtual vehicle is the at least two The virtual vehicle corresponding to the target vehicle identification among the virtual vehicles.
  • the display module 1910 includes:
  • the display unit 1911 is used to display interactive controls when there are at least two virtual vehicles within the carrying range of the virtual object.
  • the interactive controls include at least one of driving controls and riding controls; the display unit 1911. Also configured to display the vehicle selection area in response to receiving a trigger operation on the interactive control.
  • the display unit 1911 is configured to display the vehicle selection area in response to receiving a long press operation on the interactive control, and the vehicle selection area includes a pointer display element. ;
  • the display module 1910 also includes:
  • the receiving unit 1912 is used to receive the sliding operation connected to the long press operation
  • Determining unit 1913 configured to respond to the end of the sliding operation, determine the vehicle identification indicated by the pointer display element when the sliding operation ends as the target vehicle identification, and display the target virtual vehicle through A picture carrying the virtual object.
  • the receiving unit 1912 is further configured to synchronously move the pointer display element based on the sliding direction of the sliding operation; or, synchronously move the carrier based on the sliding direction of the sliding operation. logo.
  • the display module 1910 includes:
  • the adjustment unit 1914 is configured to synchronously adjust the viewing angle direction of the virtual object based on the sliding direction of the sliding operation, wherein the viewing angle direction of the virtual object is consistent with the viewing angle direction indicated by the pointer display element in the vehicle selection area. direction corresponding.
  • the vehicle selection area includes at least two display sub-areas corresponding to the at least two vehicle identifiers, wherein the i-th vehicle identifier is displayed in the i-th display sub-area , i is a positive integer and i is less than or equal to the number of virtual vehicles existing within the carrying range of the virtual object; the display unit 1911 is also used to highlight all The display sub-area corresponding to the vehicle identification indicated by the pointer display element.
  • the display unit 1911 is also used to display the vehicle selection area and interactive controls when there are at least two virtual vehicles within the carrying range of the virtual object; so
  • the receiving unit 1912 is further configured to receive a selection operation on the target vehicle identification in the vehicle selection area; the display unit 1911 is also configured to respond to receiving a triggering operation on the interactive control, based on the The selection operation of the target vehicle identifier displays a picture of the virtual object being carried by the target virtual vehicle.
  • the display module 1910 is further configured to display corresponding status indication elements on the vehicle logo based on the vehicle status of the at least two virtual vehicles;
  • the tool status includes at least one of oil level status, tire wear status, body wear status, and protection strength.
  • the vehicle status includes a fuel level status; the display unit 1911 is also configured to display on the vehicle logo based on the fuel level status of the at least two virtual vehicles. a fuel quantity indication mark; or, based on the fuel quantity remaining ratio of the at least two virtual vehicles, display an indication mark area corresponding to the fuel quantity remaining ratio on the vehicle mark.
  • the display module 1910 is configured to display the vehicle identifications in the form of a list in the vehicle selection area, and the arrangement order of the vehicle identifications is consistent with that of the at least two virtual vehicles.
  • the arrangement order of the vehicles surrounding the virtual object in the virtual scene corresponds to the arrangement; or, the vehicle selection area displays the vehicle identifications in a planar distribution, and the arrangement structure of the vehicle identifications is consistent with the arrangement structure of the vehicle identifications.
  • At least two virtual vehicles correspond to an arrangement structure surrounding the virtual object in the virtual scene.
  • the virtual vehicle selection device when it is necessary to select a virtual vehicle in a virtual scene, displays the vehicle selection area and selects the vehicle identification in the vehicle selection area.
  • the selection operation determines the target virtual vehicle, so the player can clarify his target virtual vehicle before operating the virtual vehicle, which improves the efficiency of human-computer interaction, enhances the user experience, and reduces the damage caused to the server by misoperation. Additional data processing pressure.
  • Figure 21 shows a structural block diagram of a computer device 2100 provided by an exemplary embodiment of the present application.
  • the computer device 2100 may be: a smartphone, a tablet, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer III (MP3) player. IV, MP4) player, laptop or desktop computer.
  • Computer device 2100 may also be referred to as user equipment, portable computer equipment, laptop computer equipment, desktop computer equipment, and other names.
  • the computer device 2100 includes: a processor 2101 and a memory 2102.
  • the processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
  • the processor 2101 can adopt at least one hardware form among digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA field-programmable gate array
  • PROM programmable logic array
  • PLA programmable logic array
  • the processor 2101 can also include a main processor and a co-processor.
  • the main processor is a processor used to process data in the wake-up state, also called a central processing unit (Central Processing Unit, CPU); the co-processor is A low-power processor used to process data in standby mode.
  • CPU Central Processing Unit
  • the processor 2101 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is responsible for rendering and drawing content that needs to be displayed on the display screen.
  • the processor 2101 may also include an artificial intelligence (Artificial Intelligence, AI) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 2102 may include one or more computer-readable storage media, which may be non-transitory. Memory 2102 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2101 to implement the virtual load provided by the method embodiments in this application. How to choose tools.
  • the computer device 2100 also includes other components. Those skilled in the art can understand that the structure shown in Figure 21 does not constitute a limitation on the computer device 2100, and may include more or less components than shown in the figure, or Combination components, or use different component arrangements.
  • the program can be stored in a computer-readable storage medium.
  • the computer-readable storage medium may be a computer-readable storage medium included in the memory in the above embodiments; it may also be a computer-readable storage medium that exists independently and is not assembled into a computer device.
  • the computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor. To implement the virtual vehicle selection method described in any of the above embodiments.
  • the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), solid-state drive (SSD, Solid State Drives) or optical disk, etc.
  • random access memory can include resistive random access memory (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
  • ReRAM resistive random access memory
  • DRAM Dynamic Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种虚拟载具的选择方法,包括:显示虚拟场景(200)中的虚拟对象(201)和虚拟载具(202、203);在虚拟对象(201)的搭载范围内存在至少两个虚拟载具(202、203)的情况下,显示载具选择框(205);响应于接收到对目标载具标识(206、207)的选择操作,显示通过目标虚拟载具(202、203)对虚拟对象(201)进行承载的画面。还提供了一种虚拟载具的选择装置、计算机设备、存储介质及计算机程序产品。玩家在对虚拟载具进行操作之前就能明确自己的目标虚拟载具,减少了玩家对虚拟载具的错误选择操作,从而减少了计算机处理误操作的资源消耗,提高了人机交互效率,且提升了用户体验。

Description

虚拟载具的选择方法、装置、设备、存储介质及程序产品
本申请要求于2022年04月18日提交的申请号为202210405945.6、发明名称为“虚拟载具的选择方法、装置、设备、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机技术领域,特别涉及一种虚拟载具的选择方法、装置、设备、存储介质及程序产品。
背景技术
在支持虚拟场景的应用程序中,玩家可以驾驶或者承载虚拟载具在虚拟场景中进行移动,虚拟载具使得玩家具有快速转移的能力,是属于比较重要的道具。
相关技术中,当玩家可驾驶的虚拟载具有多个时,玩家点击驾驶控件后,会在多个虚拟载具中随机选择一个虚拟载具进行驾驶。
然而,上述选择虚拟载具的方式,玩家对于将会驾驶/乘坐的虚拟载具完全未知,因此很容易误操作;当两个玩家需要乘坐同一个虚拟载具时,也容易误操作上到不同虚拟载具,人机交互效率低,且玩家频繁重复切换上车的操作,给服务器造成了额外的数据处理压力。
发明内容
本申请实施例提供了一种虚拟载具的选择方法、装置、设备、存储介质及程序产品,可以提高人机交互效率。所述技术方案如下:
一方面,提供了一种虚拟载具的选择方法,所述方法包括:
显示虚拟场景中的虚拟对象和虚拟载具,所述虚拟载具用于向所述虚拟对象提供移动承载能力;
在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域,所述载具选择区域中包括与所述至少两个虚拟载具分别对应的载具标识,其中,所述载具标识的显示与所述至少两个虚拟载具的外观对应;
响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,所述目标虚拟载具是所述至少两个虚拟载具中与所述目标载具标识对应的虚拟载具。
另一方面,提供了一种虚拟载具的选择装置,所述装置包括:
显示模块,用于显示虚拟场景中的虚拟对象和虚拟载具,所述虚拟载具用于向所述虚拟对象提供移动承载能力;
所述显示模块,还用于在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域,所述载具选择区域中包括与所述至少两个虚拟载具分别对应的载具标识,其中,所述载具标识的显示与所述至少两个虚拟载具的外观对应;
所述显示模块,还用于响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,所述目标虚拟载具是所述至少两个虚拟载具中与所述目标载具标识对应的虚拟载具。
另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现本申请实施例中任一所述的虚 拟载具的选择方法。
另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行以实现如本申请实施例中任一所述的虚拟载具的选择方法。
另一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请实施例中任一所述的虚拟载具的选择方法。
本申请实施例提供的技术方案带来的有益效果至少包括:
在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
附图说明
图1是本申请一个示例性实施例提供的相关技术中选择虚拟载具的界面示意图;
图2是本申请一个示例性实施例提供的虚拟载具的选择方法的界面示意图;
图3是本申请一个示例性实施例提供的实施环境示意图;
图4是本申请一个示例性实施例提供的虚拟载具的选择方法的流程图;
图5是本申请一个示例性实施例提供的载具标识的显示方式的界面示意图;
图6是本申请另一个示例性实施例提供的虚拟载具的选择方法的流程图;
图7是本申请一个示例性实施例提供的互动控件的界面示意图;
图8是本申请一个示例性实施例提供的一种油量指示标识的示意图;
图9是本申请一个示例性实施例提供的另一种油量指示标识的示意图;
图10是本申请一个示例性实施例提供的虚拟载具在不同状态下其对应的载具标识的显示的示意图;
图11是本申请一个示例性实施例提供的长按操作的界面示意图;
图12是本申请一个示例性实施例提供的滑动操作的界面示意图;
图13是本申请一个示例性实施例提供的一种调整虚拟对象的视野范围的平面示意图;
图14是本申请一个示例性实施例提供的另一种调整虚拟对象的视野范围的平面示意图;
图15是本申请一个示例性实施例提供的显示虚拟对象驾驶目标虚拟载具的过程的界面示意图;
图16是本申请另一个示例性实施例提供的虚拟载具的选择方法的流程图;
图17是本申请一个示例性实施例提供的另一种显示虚拟对象驾驶目标虚拟载具的过程的界面示意图;
图18是本申请一个示例性实施例提供的虚拟载具的选择方法的功能逻辑图;
图19是本申请一个示例性实施例提供的虚拟载具的选择装置结构框图;
图20是本申请另一个示例性实施例提供的虚拟载具的选择装置结构框图;
图21是本申请一个示例性实施例提供的计算机设备的结构框图。
具体实施方式
虚拟场景包括目标应用程序在终端上运行时显示的场景,例如:射击类游戏在终端上运行时显示的游戏场景。该虚拟场景包括二维虚拟场景、2.5维虚拟场景、三维虚拟场景等中的至少一种。该虚拟场景可以是完全虚构的场景,也可以是对真实世界的仿真场景,还可以是半仿真半虚构的场景。
虚拟对象是指虚拟场景中的可活动对象。该可活动对象可以是虚拟人物、虚拟动物、动漫人物等,例如:在虚拟场景中显示的人物、动物、植物、油桶、墙壁、石块等。可选的,当虚拟场景实现为三维虚拟场景时,虚拟对象是基于动画骨骼技术创建的三维立体模型,每个虚拟对象在三维虚拟环境中具有自身的形状和体积。
在支持虚拟场景的应用程序中,玩家在虚拟场景中需要使用虚拟载具来进行虚拟对象的转移和战斗,示意性的,当玩家需要驾驶虚拟载具时,点击驾驶控件,终端上会显示虚拟对象驾驶虚拟载具的画面,玩家可以控制虚拟对象对虚拟载具进行驾驶操作。
相关技术中,当虚拟场景中存在两个及以上可供玩家操作的虚拟载具时,玩家点击互动控件后,后台会为玩家随机分配一个可供玩家操作的虚拟载具,示意性的,请参考图1,虚拟场景100中显示有虚拟对象101、第一虚拟载具102和第二虚拟载具103,点击驾驶控件104,显示虚拟对象101驾驶第一虚拟载具102的画面,或者,显示虚拟对象101驾驶第二虚拟载具103的画面。也就是说,玩家在点击驾驶控件104之前,对于自己将要进行驾驶操作的虚拟载具是不确定的,故而,在相关技术的实现过程中,会出现以下情况:
(1)当需要选择虚拟载具进行驾驶时,玩家无法明确自己要驾驶的虚拟载具,可能需要多次操作才能选择到自己需要的虚拟载具;
(2)当属于同一队伍的玩家需要分别操作不同的虚拟载具进行转移时,会出现误操作导致两个玩家上了同一个虚拟载具。
上述两种情况都会影响玩家在虚拟场景中利用虚拟载具进行转移的转移效率,导致人机交互效率低,使得玩家的用户体验感差。
而本申请实施例提供的虚拟载具的选择方法,当虚拟场景中存在两个及以上可供玩家操作的虚拟载具时,会显示载具选择区域,玩家可以通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,示意性的,请参考图2,虚拟场景200中显示有虚拟对象201,虚拟对象201在虚拟场景200中存在两个可乘坐的虚拟载具:第一虚拟载具202和第二虚拟载具203;长按驾驶控件204,显示载具选择框205,载具选择框205中显示有第一载具标识206、第二载具标识207和选择指针208,第一载具标识206对应的是第一虚拟载具202,第二载具标识207对应的是第二虚拟载具203;在长按驾驶控件204的同时左右滑动可以移动载具选择框205中的载具标识;结束长按操作,选择指针208指向第一载具标识206,则显示虚拟对象201驾驶第一虚拟载具202的画面。
由上述介绍可知,本申请实施例提供的方法,玩家在对虚拟载具进行操作之前就能明确自己的目标虚拟载具,减少了玩家对虚拟载具的错误选择操作,从而减少了计算机处理误操作的资源消耗,提高了人机交互效率,且提升了用户体验。
图3是本申请一个示例性实施例提供的实施环境示意图,如图3所示,该实施环境中包括终端310、服务器320和通信网络330,其中,终端310和服务器320之间通过通信网络330连接。
在一些可选的实施例中,终端310中安装和运行有支持虚拟场景的目标应用程序。该目标应用程序可以是虚拟现实应用程序、第一人称射击(First-Person Shooting,FPS)游戏、第三人称射击(Third-Personal Shooting,TPS)游戏、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)、大型多人在线角色扮演游戏(Massive Multiplayer Online Role-Playing Game,MMORPG)等中的任意一种,本申请实施例对此不加以限定。可选地,终端310通过目标应用程序显示虚拟场景,该虚拟场景中包括虚拟载具和虚拟对象,该目标应用程序提供有虚拟载具选择功能。
示意性的,终端310中登录有玩家账号,当目标应用程序显示的虚拟场景中存在两个及两个以上可供玩家账号操作的虚拟载具时,会显示载具选择区域,其中,载具选择区域中包括与虚拟载具对应的载具标识,可选地,如图3所示,终端310接收对载具选择区域中目标 载具标识的选择操作,终端310根据该选择操作生成选择请求,并将该选择请求上传至服务器320,服务器320根据该选择请求,确定目标虚拟载具,并将该目标虚拟载具对应的选择结果反馈至终端310,终端310根据该选择结果显示目标虚拟载具承载虚拟对象的画面。
可选地,终端310是智能手机、平板电脑、台式电脑、便携式笔记本电脑、智能家电、车载终端、飞行器等,但并不局限于此。
在一些可选的实施例中,服务器320用于为终端310中安装的目标应用程序提供后台服务。值得注意的是,服务器320能够是独立的物理服务器,也能够是多个物理服务器构成的服务器集群或者分布式系统,还能够是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)以及大数据和人工智能平台等基础云计算服务的云服务器。
可选地,服务器320还可以实现为区块链系统中的节点。
在一些可选的实施例中,通信网络330可以是有线网络,也可以是无线网络,本申请实施例对此不加以限定。
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的玩家操作数据都是在充分授权的情况下获取的。
对本申请实施例提供的虚拟载具的选择方法的应用场景进行说明:
1、在射击类游戏中,玩家在地图中需要使用虚拟载具来进行转移和战斗,虚拟载具是游戏过程中比较重要的道具,在游戏中,在同一地点经常会存在有两个及两个以上可以让玩家操作的虚拟载具,玩家需要对两个及两个以上的虚拟载具进行选择。本申请实施例提供的虚拟载具的选择方法,示意性的,玩家长按驾驶控件,驾驶控件旁会显示载具选择框,载具选择框中显示有与虚拟载具对应的载具标识和选择指针。长按驾驶控件的同时左右滑动可以对载具标识进行选择,载具选择框中选择指针指到的载具标识对应的虚拟载具就是玩家即将进行驾驶操作的虚拟载具,可选地,载具标识还显示有与之对应的虚拟载具的颜色、磨损状况、油量状况等信息,玩家可以根据这些信息快速对虚拟载具进行选择。则本申请实施例提供的虚拟载具的选择方法,使得玩家在上虚拟载具之前就能明确自己的操作目标,且能够通过重要信息的显示精确对于虚拟载具的选择,减少对于虚拟载具选择的试错成本,提升了玩家在游戏中的用户体验。
2、在模拟驾校软件中,用户在虚拟场景中选择车辆进行驾驶模拟练习,而虚拟场景中共通常存在多辆汽车模型供用户进行选择。本申请实施例提供的虚拟载具的选择方法,示意性的,玩家通过点击驾驶按钮,在界面中共显示载具选择框,载具选择框中显示有与车辆模型对应的载具标识。通过在载具标识中选择需要驾驶的车辆标识,对该车辆标识对应的车辆模型进行模拟驾驶。通过重要信息的显示精确对于虚拟载具的选择,减少对于虚拟载具选择的试错成本,提升了用户体验。
值得注意的是,上述应用场景仅为示意性的举例,本申请实施例对虚拟载具的选择方法的其他应用场景不加以限定。
结合上述介绍和实施环境,图4是本申请实施例提供的一种虚拟载具的选择方法的流程图,以该方法应用于如图3所示的终端310中为例进行说明,该方法包括:
步骤401,显示虚拟场景中的虚拟对象和虚拟载具。
可选地,虚拟场景是目标应用程序在终端上运行时显示的场景,目标应用程序中登录有玩家账号。
可选地,虚拟场景中还包括虚拟天空、虚拟陆地、虚拟海洋等虚拟元素,其中,虚拟陆地包括沙漠、城市等环境元素。可选地,玩家账号可以控制虚拟对象在虚拟场景中进行移动,示意性的,虚拟场景实现为射击类游戏中的作战地图时,玩家可以控制虚拟对象在作战地图中移动。
可选地,虚拟对象是虚拟场景中用于代表玩家账号的虚拟形象,虚拟场景中可以显示一个虚拟对象,也可以显示两个及两个以上的虚拟对象,可选地,k个虚拟对象分别被k个玩家账号控制,k为正整数。
可选地,虚拟载具可以是完全虚拟的载具,也可以是真实场景中的载具的仿真载具,例如:摩托车、轿车、卡车、火车、飞机、拖拉机等。
其中,虚拟载具用于在虚拟场景中向虚拟对象提供移动承载能力。示意性的,虚拟对象可以驾驶虚拟载具在虚拟场景中移动,也可以乘坐虚拟载具在虚拟场景中移动。可选地,虚拟载具用于向一个虚拟对象提供移动承载能力,或者,向两个及两个以上的虚拟对象提供移动承载能力。
步骤402,在虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域。
在虚拟场景中存在至少两个虚拟载具,则当虚拟对象的搭载范围内存在至少两个虚拟载具,显示载具选择区域。其中,搭载范围的确定方式包括以下方式中的至少一种:
1、虚拟对象位于虚拟场景中的某一地点,以该地点为圆心,以预设距离为半径划分的圆形范围即为虚拟对象的搭载范围。
2、虚拟对象位于虚拟场景中某一地点,以该地点为圆心,以预设距离为半径,以预设角度为圆心角划分的扇形范围即为虚拟对象的搭载范围,可选地,预设角度实现为以虚拟对象的视野角度,示意性的,虚拟对象在虚拟场景中面向A方向,视野范围为120°,则以A方向的-60°方向至A方向的60°方向的范围作为预设预设角度范围,其中,划分角度范围是在虚拟场景中的水平方向上进行的划分。
值得注意的是,上述搭载范围的实现方式仅为示意性的举例,本申请实施例对此不加以限定。
可选地,当虚拟载具整个都处于搭载范围内时属于搭载范围内的虚拟载具,或者,虚拟载具存在部分处于搭载范围内时属于搭载范围内的虚拟载具。
上述载具选择区域用于对处于搭载范围内的虚拟载具进行选择。载具选择区域中包括与至少两个虚拟载具分别对应的载具标识,其中,载具标识的显示与至少两个虚拟载具的外观对应。可选的,虚拟载具的外观包括外形轮廓、表面颜色等,示意性的,若虚拟载具为摩托车,则载具标识的显示与该摩托车的外形轮廓对应,或者,载具标识的显示颜色对应摩托车的表面颜色。
在一些可选的实施例中,上述载具标识在载具选择区域中的显示方式包括以下方式中的至少一种:
1、载具选择区域以列表的形式显示载具标识。
可选地,载具选择区域可以以横向列表的形式显示载具标识,示意性的,其中载具选择区域的形状为长度为n,宽度为1的矩形;也可以以纵向列表的形式显示载具标识,示意性的,其中载具选择区域的形状为长度为1,宽度为n的矩形;还可以以环形列表的形式显示载具标识,n为正整数。
可选地,可以在载具选择区域的显示区域显示所有载具标识,其中,所有载具标识是指在虚拟对象的搭载范围内的所有虚拟载具对应的载具标识,示意性的,若虚拟对象的搭载范围内存在3个虚拟载具,则将这3个虚拟载具对应的载具标识同时显示在载具选择区域的显示区域;或者,在载具选择区域的显示区域显示部分虚拟载具,其中,部分虚拟载具是指在虚拟对象的搭载范围内的部分虚拟载具对应的载具标识,示意性的,若虚拟对象的搭载范围内存在3个虚拟载具,在载具选择区域的显示区域显示1个虚拟载具对应的载具标识,当对 载具选择区域进行左右滑动操作时,可以移动上述3个载具标识,使其依次显示在载具选择区域中。
其中,载具标识的排列顺序与至少两个虚拟载具在虚拟场景中围绕虚拟对象的排列顺序对应。
2、载具选择区域以平面分布的形式显示载具标识。
可选地,在载具选择区域以平面分布的形式显示所有载具标识,其中,所有载具标识是指在虚拟对象的搭载范围内的所有虚拟载具对应的载具标识。
其中,载具标识的排列结构与至少两个虚拟载具在虚拟场景中围绕虚拟对象的排列结构对应,可选地,载具标识的排列结构与虚拟对象与至少两个虚拟载具之间的位置关系和朝向关系对应,如:载具A位于虚拟对象面朝方向的正前方,则载具A在载具选择区域中显示在中间偏上的方向。示意性地,请参考图5,在虚拟场景500中显示有虚拟对象501,在虚拟对象501的搭载范围内存在第一虚拟载具502、第二虚拟载具503、第三虚拟载具504,则显示载具选择区域505,该载具选择区域505中有显示区域506,在显示区域506中显示第一虚拟载具502对应的第一载具标识507、第二虚拟载具503对应的第二载具标识508、第三虚拟载具504对应的第三载具标识509,其中,第一载具标识507、第二载具标识508和第三载具标识509在显示区域506中的排列结构与第一虚拟载具502、第二虚拟载具503、第三虚拟载具504在虚拟场景500中围绕虚拟对象501的排列结构对应。
可选地,当虚拟对象在虚拟场景中的位置改变时,载具标识在载具选择区域的排列结构也相应改变。
3、载具选择区域以轮盘的形式显示载具标识。
可选地,在载具选择区域的显示区域以轮盘的形式显示所有载具标识,其中,所有载具标识是指在虚拟对象的搭载范围内的所有虚拟载具对应的载具标识。
其中,轮盘中载具标识的排列顺序与至少两个虚拟载具在虚拟场景中围绕虚拟对象的排列顺序对应。
可选地,轮盘可以顺时针旋转,也可以逆时针旋转。
可选地,旋转轮盘的同时,虚拟对象在虚拟场景中也相应旋转,其中虚拟对象的旋转方向与轮盘旋转的方向相同。
值得注意的是,上述载具标识在载具选择区域中的显示方式仅为示意性的举例,本申请实施例对此不加以限定。
在一些可选的实施例中,基于至少两个虚拟载具的载具状态,在载具标识上分别显示对应的状态指示元素。其中,载具状态包括油量状态、轮胎磨损状态、车身磨损状态、防护强度中的至少一种。
步骤403,响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对虚拟对象进行承载的画面。
其中,目标虚拟载具是至少两个虚拟载具中与目标载具标识对应的虚拟载具。
可选地,玩家账号可以根据至少两个载具标识显示的状态指示元素对至少两个载具标识进行选择,从而确定目标载具标识。
可选地,显示虚拟对象驾驶目标虚拟载具的画面,或者,显示虚拟对象乘坐目标虚拟载具的画面。
综上所述,本申请实施例提供的虚拟载具的选择方法在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
本实施例提供的方法,通过列表的形式在载具选择区域中对虚拟载具进行选择,将待选的载具以列表的形式显示,提高了在载具选择区域中进行选择的人机交互效率。
本实施例提供的方法,通过以平面分布的形式显示载具标识,直观体现了各个载具标识 对应的虚拟载具在虚拟场景中与虚拟对象之间的位置关系,提高了在载具选择区域中进行选择的准确率和效率。
本实施例提供的方法,通过以轮盘的形式显示载具标识,循环在多个载具标识之间进行选择,提高了操作的便捷性。
图6是本申请另一个示例性实施例提供的虚拟载具的选择方法的流程图,以该方法应用于终端为例进行说明,如图6所示,该方法包括:
步骤601,显示虚拟场景中的虚拟对象和虚拟载具。
其中,虚拟载具用于向虚拟对象提供移动承载能力。
步骤602,在虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示互动控件。
其中,互动控件包括驾驶控件和乘坐控件中的至少一种,驾驶控件用于触发虚拟对象驾驶虚拟载具,乘坐控件用于触发虚拟对象乘坐虚拟载具。可选地,显示互动控件的方式包括:只显示驾驶控件;或者,只显示乘坐控件;或者,同时显示驾驶控件和乘坐控件。
示意性的,若实现为同时显示驾驶控件和乘坐控件,请参考图7,虚拟场景700中显示有虚拟对象701,在虚拟对象701的搭载范围内存在两个虚拟载具,则同时显示驾驶控件702和乘坐控件703。
对于虚拟对象的搭载范围的实现方式已经在步骤402中进行了说明,此处不再赘述。
步骤603,响应于接收到对互动控件的触发操作,显示载具选择区域。
可选地,触发操作的实现方式包括以下方式中的至少一种:
1、触发操作实现为在互动控件上的点击操作;
2、触发操作实现为在互动控件上的长按操作;
3、触发操作实现为对互动控件的语音指令操作,示意性的,在目标应用程序的设置界面设置触发互动控件的语音指令,通过语音指令对互动控件进行触发从而显示载具选择区域;
4、触发操作实现为对互动控件的预设手势,示意性的,在目标应用程序的设置界面设置触发互动控件的预设手势,通过预设手势对互动控件进行触发从而显示载具选择区域。
值得注意的是,上述触发操作的实现方式仅为示意性的举例,本申请实施例对此不加以限定。
可选地,上述显示载具选择区域的方法还包括:响应于在虚拟对象的搭载范围内存在至少两个虚拟载具,同时显示互动控件和载具选择区域。示意性的,当虚拟对象的搭载范围内存在至少两个虚拟载具,直接显示载具选择区域和互动控件。
可选地,上述载具选择区域中包括与至少两个虚拟载具分别对应的载具标识。
可选地,载具标识的显示与至少两个虚拟载具的外观对应。
可选地,基于至少两个虚拟载具的载具状态,在载具标识上分别显示对应的状态指示元素,其中,载具状态包括油量状态、轮胎磨损状态、车身磨损状态、防护强度中的至少一种,可选地,对油量状态、轮胎磨损状态、车身磨损状态、防护强度对应的状态指示元素进行说明:
1、载具状态包括油量状态。
则基于至少两个虚拟载具的油量状态,在载具标识上显示油量指示标识,示意性的,请参考图8,载具标识801下方显示有油量指示标识802,黑色部分表示的载具标识801对应的虚拟载具剩余的油量;或者,基于至少两个虚拟载具的油量剩余比例,在载具标识上显示对应油量剩余比例的指示标识区域,示意性的,请参考图9,载具标识901的外观中存在黑色区域902,则黑色区域902占整个载具标识901的比例即为载具标识901对应的虚拟载具的油量剩余比例,可选地,其中黑色区域902的黑色仅为示意性的表示,在实际应用中,可以将不同油量剩余比例的黑色区域902设置为不同的颜色,例如:若油量剩余比例为10%-1%,则将黑色区域902设置成红色;若油量剩余比例为100%-90%,则将黑色区域902设置成绿色(值得注意的是,若上述黑色区域902颜色与虚拟标识对应的虚拟载具的外观颜色相同, 则调整黑色区域902颜色,例如:若虚拟标识对应的虚拟载具的外观颜色为红色,那么当油量剩余比例为9%时,将黑色区域902的颜色调整为深红色,使其与外观颜色区分开)。
2、载具状态包括轮胎磨损状态。
其中轮胎磨损包括虚拟载具在行驶过程中的磨损、虚拟载具收到攻击后的磨损等中的至少一种,本实施例对此不加以限定。
则基于至少两个虚拟载具的轮胎磨损状态,在载具标识上显示轮胎磨损标识,示意性的,在载具标识下显示轮胎磨损框/轮胎磨损级别数,轮胎磨损框/轮胎磨损级别数用于指示载具标识对应的虚拟载具的轮胎磨损程度;或者,基于至少两个虚拟载具的轮胎磨损状态,改变载具标识的轮胎外观,其中载具标识的轮胎外观与载具标识对应的虚拟载具的轮胎外观相对应;或者,基于至少两个虚拟载具的轮胎磨损状态,在载具标识上以区别于载具标识的表现特征显示对应轮胎磨损状态的指示标识区域。
3、载具状态包括车身磨损状态。
其中车身磨损包括虚拟载具在行驶过程中的磨损、虚拟载具收到攻击后的磨损等中的至少一种,本实施例对此不加以限定。
则基于至少两个虚拟载具的车身磨损状态,在载具标识上显示车身磨损标识,示意性的,在载具标识下显示车身磨损框/车身磨损级别数,车身磨损框/车身磨损级别数用于指示载具标识对应的虚拟载具的车身磨损程度;或者,基于至少两个虚拟载具的车身磨损状态,改变载具标识的车身外观,其中载具标识的车身外观与载具标识对应的虚拟载具的车身外观相对应;或者,基于至少两个虚拟载具的车身磨损状态,在载具标识上以区别于载具标识的表现特征显示对应车身磨损状态的指示标识区域。
4、载具状态包括防护强度。
可选地,防护强度是指虚拟载具在抵御伤害时的能力,防护强度越高,虚拟载具在抵御伤害时的能力越强。
则基于至少两个虚拟载具的防护强度,在载具标识上显示防护强度标识,示意性的,在载具标识下显示防护强度框/防护强度级别数,防护强度框/防护强度级别数用于指示载具标识对应的虚拟载具的防护强度;或者,基于至少两个虚拟载具的防护强度,表现不同的载具标识的防护部分外观,其中载具标识的防护部分外观与载具标识对应的虚拟载具的防护部分外观相对应,例如:载具标识显示为硬顶的吉普车,其防护强度高,载具标识显示为软顶吉普车,其防护强度低;或者,基于至少两个虚拟载具的防护强度,在载具标识上以区别于载具标识的表现特征显示对应防护强度的指示标识区域。
可选地,上述对油量状态、轮胎磨损状态、车身磨损状态、防护强度对应的状态指示元素的举例仅为示意性的说明,本申请实施例对此不加以限定。
可选地,将轮胎磨损状态和车身磨损状态对应的状态指示元素联合显示以表示载具标识对应的虚拟载具的整体使用状态,示意性的,请参考图10,其示出了虚拟载具在不同状态下其对应的载具标识的显示,如图10所示:
第一载具标识1010表示虚拟载具是未被使用过的,其中,油量指示标识1011表示虚拟载具油量剩余比例为100%;第二载具标识1020表示虚拟载具是使用过的,可选地,其中轮胎和车身都存在一定程度的磨损,黑色部分指示的是轮胎和车身的联合磨损程度,油量指示标识1021表示虚拟载具油量剩余比例为50%;第三载具标识1030表示虚拟载具已经不能被驾驶,可选地,其中黑色部分占第三载具标识1030的比例为100%,说明轮胎和车身已经完全被磨损,油量指示标识1031表示虚拟载具油量剩余比例为10%;第四载具标识1040表示虚拟载具已经不能被驾驶,可选地,其中轮胎和车身都存在一定程度的磨损,黑色部分指示的是轮胎和车身的联合磨损程度,油量指示标识1041表示虚拟载具油量剩余比例为0%。
值得注意的是,虚拟载具在不同状态下其对应的载具标识的显示仅为示意性的举例,本申请实施例对此不加以限定。
步骤604,响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对虚拟对 象进行承载的画面。
其中,目标虚拟载具是至少两个虚拟载具中与目标载具标识对应的虚拟载具。
在一些可选的实施例中,载具选择区域包括指针显示元素。
可选地,指针显示元素可以实现为选择指针的形式。在一些实施例中,指针显示元素是载具选择区域中通过移动切换被选择的虚拟载具的元素;或者,指针显示元素的显示位置不变,通过移动载具选择区域中显示的载具标识切换被选择的虚拟载具。
可选的,若触发操作实现为长按操作,显示通过目标虚拟载具对虚拟对象进行承载的画面还包括以下步骤:
步骤一、响应于接收到对互动控件的长按操作,显示载具选择区域和指针显示元素。
示意性的,上述长按操作是指按住互动控件不松开,请参考图11,虚拟场景1100中显示有驾驶控件1101,长按驾驶控件1101,则会显示载具选择区域1102和选择指针1103。
步骤二、接收衔接长按操作的滑动操作。
示意性的,接收衔接长按操作的滑动操作是指在按住互动控件不松开的同时,接收滑动操作。
可选地,滑动操作可以是在互动控件显示区域内的滑动操作,也可以是在包括互动显示区域外的其他虚拟场景显示区域内的滑动操作。
可选地,上述滑动操作包括左右滑动操作、上下滑动操作或者是绕着某一点的旋转滑动操作等中的至少一种,在一些实施例中,上述滑动操作还可以实现为任意方向的滑动操作,本实施例对此不加以限定。
在一些可选的实施例中,上述接收衔接长按操作的滑动操作的情况还包括以下情况中的至少一种:
1、接收衔接长按操作的滑动操作,基于滑动操作的滑动方向同步移动指针显示元素。
示意性的,滑动操作的移动对象是指针显示元素,移动指针显示元素,指针显示元素当前指示的载具标识即为当前选择的载具标识。
2、接收衔接长按操作的滑动操作,基于滑动操作的滑动方向同步移动载具标识。
示意性的,滑动操作的移动对象是载具标识,指针显示元素固定在载具选择区域的某一位置且始终指示着某个载具标识,移动载具标识,则指针显示元素指示的载具标识也会改变。
上述接收衔接长按操作的滑动操作的情况的举例仅为示意性说明,本申请实施例对此不加以限定。
在一些可选的实施例中,接收衔接长按操作的滑动操作之后还包括:
基于滑动操作的滑动方向,同步调整虚拟对象的视角方向,其中,虚拟对象的视角方向与指针显示元素在载具选择区域所指示的方向对应,示意性的,指针显示元素指示在某载具标识的中间位置,那么虚拟对象的视角方向也正对着该载具标识对应的虚拟载具的中间位置。
示意性的,请参考图12,在虚拟场景1200中,显示虚拟对象1201,在虚拟对象1201的搭载范围内显示有第一虚拟载具1202,则在虚拟场景1200中显示驾驶控件1203和载具选择区域1204,载具选择区域1204中显示有与第一虚拟载具1202对应的第一载具标识1205和选择指针1206;长按驾驶控件1203的同时左右滑动可以移动载具选择区域1204中的载具标识,从而改变选择指针1206指示的载具标识;长按驾驶控件1203的同时按照第一箭头1207方向滑动,则虚拟对象1201的视角方向1208也相应的按照第二箭头1209方向滑动;且选择指针1206在第一载具标识1205上指示的位置与虚拟对象1201的视角方向1208指向第一虚拟载具1202的位置相对应。
可选地,上述同步调整虚拟对象的视角方向,也即,同步调整虚拟对象的视野范围(视野范围可以指当前虚拟场景的显示画面)。
示意性的,若虚拟场景实现为三维虚拟场景,虚拟对象的搭载范围实现为以虚拟对象固定在虚拟场景中的某一地点为圆心,以预设距离为半径划分的圆形范围,则通过滑动操作调整虚拟对象的视野范围的情况包括以下情况中的至少一种:
情况一:在虚拟对象的搭载范围内,虚拟对象的视野范围外存在可乘坐的虚拟载具,滑动操作使得虚拟对象的视野范围可以360度调整。请参考图13,虚拟对象1301的搭载范围是以虚拟对象1301为中心,2m为半径的圆,在该搭载范围内存在4个虚拟载具,这4个虚拟载具分别对应有4个载具标识;扇形1302用于表示虚拟对象的视野范围,在该视野范围内显示有3个虚拟载具,该视野范围外还存在一个在虚拟对象1301的搭载范围内的虚拟载具1303;可选地,在载具选择区域显示上述4个载具标识,则从第一个显示的载具标识依次滑动到最后一个显示的载具标识,可使得虚拟对象1301在三维虚拟场景中360度旋转,从而使得虚拟对象1301的视野范围在滑动操作的过程中可包括在搭载范围内的4个虚拟载具。
情况二:在虚拟对象的搭载范围内,虚拟对象的视野范围外不存在可乘坐的虚拟载具,滑动操作只能使得虚拟对象的视野范围的滑动到最边缘虚拟载具,使得最边缘虚拟载具处于完整显示状态。示意性的,请参考图14,虚拟对象1401的搭载范围是以虚拟对象1401为中心,2m为半径的圆,在该搭载范围内存在3个虚拟载具,这3个虚拟载具分别对应有3个载具标识;可选地,第一扇形1402为虚拟对象的初始视野范围,载具选择区域显示上述3个载具标识,则从第一个显示的载具标识依次滑动到最后一个显示的载具标识,可使得虚拟对象1401的视野范围变化,其中视野范围的变化范围是从第一扇形1402滑动至第二扇形1403,其中第一扇形1402代表的视野范围内,第一虚拟载具1404可以完整显示在虚拟场景的当前画面中;第二扇形1403代表的视野范围内,第二虚拟载具1405可以完整显示在虚拟场景的当前画面中。
上述通过滑动操作调整虚拟对象的视野范围的情况的举例仅为示意性的说明,本申请实施例对此不加以限定。
在一些可选的实施例中,上述载具选择选择区域包括与至少两个载具标识对应的至少两个显示子区域,其中,第i个载具标识显示在第i个显示子区域中,i为正整数且i小于等于虚拟对象的搭载范围内存在的虚拟载具的数量,则接收衔接长按操作的滑动操作之后还包括:
高亮显示指针显示元素指示的载具标识对应的显示子区域。
示意性的,通过滑动操作移动指针显示元素或者载具标识,指针指示元素总是会指示某一载具标识,将该载具标识在载具选择区域内显示的区域,也即,显示子区域进行高亮表示。
其中,高亮表示是指相较于其他载具标识对应的显示子区域,指针显示元素指示的载具标识对应的显示子区域亮度较高,或者,指针显示元素指示的载具标识对应的显示子区域的颜色与其他载具标识对应的显示子区域的颜色不相同。
步骤三、响应于滑动操作结束,将滑动操作结束时指针显示元素所指示的载具标识确定为目标载具标识,并显示通过目标虚拟载具对虚拟对象进行承载的画面。
可选地,显示通过目标虚拟载具对虚拟对象进行承载的画面包括:显示虚拟对象驾驶目标虚拟载具的画面、显示虚拟对象乘坐目标虚拟载具的画面中的至少一种。
示意性的,请参考图15,在虚拟场景1500中显示有虚拟对象1501、虚拟载具1502、载具选择区域1503和驾驶控件1504,其中,载具选择区域1503中显示有选择指针1505和与虚拟载具1502对应的载具标识1506,长按驾驶控件1504的同时左右滑动,停止左右滑动且结束长按操作后,选择指针1505指向载具标识1506,则在虚拟场景1510中显示驾驶虚拟载具1511(虚拟载具1511和虚拟载具1502属于同一个虚拟载具)的画面。
综上所述,本申请实施例提供的虚拟载具的选择方法在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
本申请实施例提供的虚拟载具的选择方法,在载具选择区域中显示载具标识,其中,载具标识可用于标识虚拟载具的载具状态,玩家通过载具标识上的状态指示元素可以在操作虚拟载具之前对虚拟载具的油量状态、轮胎磨损状态、车身磨损状态、防护强度中的至少一种进行预览,从而对虚拟载具做出精确选择,减少了在虚拟载具选择上的试错成本,进一步的 提升了玩家的用户体验。
本申请实施例提供的虚拟载具的选择方法,通过对互动控件的长按以及滑动操作实现对载具标识的选择,使得选择操作更为流畅,进一步的提高了人机交互效率。
图16是本申请另一个示例性实施例提供的虚拟载具的选择方法的流程图,以该方法由终端执行为例进行说明,如图16所示,该方法包括:
步骤1601,显示虚拟场景中的虚拟对象和虚拟载具。
其中,虚拟载具用于向虚拟对象提供移动承载能力。
步骤1602,在虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域和互动控件。
可选地,在载具选择区域的显示区域以平面分布的形式显示所有载具标识,其中,所有载具标识是指在虚拟对象的搭载范围内的所有虚拟载具对应的载具标识,其中,载具标识的排列结构与至少两个虚拟载具在虚拟场景中围绕虚拟对象的排列结构对应。
也即,通过载具选择区域中载具标识的排列结构玩家可以对虚拟载具在虚拟场景中的位置进行预览。
步骤1603,接收在载具选择区域中对目标载具标识的选择操作。
示意性的,玩家可以根据载具选择区域中载具标识的排列结构对载具标识进行选择,从而确定目标载具标识。
可选地,选择操作的实现方式包括在目标载具标识上的点击操作。
示意性的,请参考图17,虚拟场景1700中的载具选择区域1701显示有第一虚拟载具1702对应的第一载具标识1703、第二虚拟载具1704对应的第二载具标识1705、第三虚拟载具1706对应的第三载具标识1707,点击第一载具标识1703,则第一载具标识1703即为目标载具标识。
步骤1604,响应于接收到对互动控件的触发操作,基于对目标载具标识的选择操作,显示通过目标虚拟载具对虚拟对象进行承载的画面。
其中,目标虚拟载具是至少两个虚拟载具中与目标载具标识对应的虚拟载具。
示意性的,接收在目标载具标识上的点击操作之后,接收对互动控件的触发操作,然后显示通过目标虚拟载具对虚拟对象进行承载的画面。其中,互动控件的触发操作的实现方式在步骤603中以及进行了说明,此处不再赘述。
示意性的,互动控件包括驾驶控件、乘坐控件中的至少一种,本申请实施例对此不加以限定。
示意性的,点击第一载具标识1703将其确定为目标载具标识之后,点击驾驶控件1708,则在虚拟场景1710中显示驾驶第一虚拟载具1711(虚拟载具1711和虚拟载具1702属于同一个虚拟载具,也即为目标虚拟载具)的画面。
可选地,若互动控件实现为乘坐控件,且目标虚拟载具中存在至少两个可乘坐座位,则显示通过目标虚拟载具对虚拟对象进行承载的画面还包括:
响应于接收到互动控件的长按操作,显示座位选择区域,其中座位选择区域中包括与目标虚拟载具的至少两个可乘坐座位相对应的至少两个座位标识,其中至少两个座位标识可用于表示至少两个可乘坐座位在目标虚拟载具中的位置;接收衔接长按操作的滑动操作;响应于滑动操作结束,将滑动操作结束时,滑动操作指示的座位标识确定为目标座位标识,并显示虚拟对象在目标座位标识对应的可乘坐座位上乘坐目标虚拟载具的画面。
综上所述,本申请实施例提供的虚拟载具的选择方法在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
本申请实施例提供的虚拟载具的选择方法,载具选择区域内载具标识的排列结构与虚拟 载具在虚拟场景中围绕虚拟对象的排列结构相对应,玩家可以通过载具标识的排列结构直观的了解到虚拟载具在虚拟场景中的位置,从而选择需要的虚拟载具,减少了在虚拟载具选择上的试错成本,进一步的提升了玩家的用户体验。
图18是本申请一个示例性实施例提供的虚拟载具的选择方法的功能逻辑图,如图18所示,以该虚拟载具实现为虚拟车辆为例进行说明,该方法包括:
步骤1801,开始。
也即,在虚拟场景中玩家对虚拟车辆的选择流程开始。
步骤1802,虚拟场景中存在有虚拟车辆。
示意性的,虚拟场景中还包含有虚拟对象,玩家可以控制虚拟对象在虚拟场景中移动,当虚拟对象在虚拟场景中移动时,在玩家的终端上显示的虚拟场景画面会不断变化。
虚拟场景中存在有虚拟车辆,也即,当前玩家的终端上显示的虚拟场景画面中显示有虚拟车辆。
步骤1803,判断虚拟车辆是否在虚拟对象2m范围内。
可选地,上述虚拟场景中可能存在一个虚拟车辆,也可能存在两个及以上的虚拟车辆。
判断虚拟车辆是否在虚拟对象2m范围内,也即,判断上述虚拟场景中存在的所有虚拟车辆是否在虚拟对象的2m范围内。
步骤1804,若虚拟车辆不在虚拟对象2m范围内,不显示驾驶/乘坐按键。
示意性的,上述2m范围,可以指以虚拟对象为中心,半径为2m的圆的范围;也可以指以虚拟对象为中心,半径为2m,圆心角为虚拟对象的视野角度的扇形的范围。
可选地,虚拟场景中的地图存在有比例尺,上述2m是指按照比例尺对实际尺寸进行缩小/放大的尺寸,不是实际画面的尺寸。
步骤1805,若虚拟车辆在虚拟对象2m范围内,显示驾驶/乘坐按键。
示意性的,可以只显示驾驶按键,可选地,在该虚拟车辆无法被乘坐的情况下只显示驾驶按键,其中,无法被乘坐的情况包括:该虚拟车辆只有驾驶功能、该虚拟车辆的可乘坐位置满员;也可以只显示乘坐按键,可选地,在该虚拟车辆无法被驾驶的情况下只显示乘坐按键,其中,无法被驾驶的情况包括:该虚拟车辆的可驾驶位置已满员;还可以同时显示驾驶和乘坐按键。
步骤1806,判断接收到点击操作还是长按操作。
也即,判断在驾驶/乘坐按键上接收到的触发操作是点击操作还是长按操作。
可选地,其中触发操作对应有触发时长,通过判断触发时长是否达到预设时长判断在驾驶/乘坐按键上接收到的是点击操作还是长按操作。示意性的,若触发时长在1秒(包括1秒)内,判断为点击操作;若触发时长超过1秒,则判断为长按操作。
步骤1807,若接收到点击操作,直接上车。
示意性的,若在驾驶/乘坐按键上接收到的触发操作是点击操作,可选地,将点击操作结束时刻虚拟对象的视角所对的虚拟车辆作为目标虚拟车辆,显示虚拟对象乘坐/驾驶该目标虚拟车辆的画面。
步骤1808,若接收到长按操作,判断虚拟车辆数是否大于等于2。
也即,若在驾驶/乘坐按键上接收到的触发操作是长按操作,则接着判断在虚拟对象的2m范围内存在的虚拟车辆的数量是否大于等于2。
步骤1809,若虚拟车辆数小于2,松手上车。
也即,若在虚拟对象的2m范围内存在的虚拟车辆数量小于2,则将该虚拟车辆作为目标虚拟车辆,在长按操作的结束时刻,显示虚拟对象乘坐/驾驶该目标虚拟车辆的画面。
步骤1810,若虚拟车辆数大于等于2,触发车辆选择框。
示意性的,若在虚拟对象的2m范围内存在的虚拟车辆数量大于等于2,则在虚拟场景中显示车辆选择框,其中车辆选择框中显示有与虚拟车辆一一对应的车辆标识。
可选地,上述车辆标识的显示和与该车辆标识对应的虚拟车辆的外观和颜色一致。可选地,上述车辆标识中还包含与该车辆标识对应的虚拟车辆的剩余油量信息和车辆磨损状态等。
步骤1811,左右滑动选择虚拟车辆。
可选地,上述车辆选择框中还包含有选择指针,示意性的,选择指针总会指示着某一车辆标识。
可选地,在长按操作的同时,通过左右滑动操作改变上述选择指针指示的车辆标识,从而对车辆选择框中的车辆标识进行选择,确定目标车辆标识,将目标车辆标识对应的虚拟车辆作为目标虚拟车辆。
可选地,上述选择指针是固定在车辆选择框中的某一位置的,左右滑动操作改变的是车辆选择框中的车辆标识。
可选地,在上述左右滑动操作的同时,玩家的视角也相应的左右转动。
步骤1812,松手上车。
也即,在长按操作的结束时刻,显示虚拟对象乘坐/驾驶步骤1811中目标虚拟车辆的画面。
步骤1813,结束。
也即,虚拟场景中玩家对虚拟车辆的选择流程结束。
请参考图19,其示出了本申请一个示例性的实施例提供的虚拟载具的选择装置结构框图,该装置包括:
显示模块1910,用于显示虚拟场景中的虚拟对象和虚拟载具,所述虚拟载具用于向所述虚拟对象提供移动承载能力;
所述显示模块1910,还用于在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域,所述载具选择区域中包括与所述至少两个虚拟载具分别对应的载具标识,其中,所述载具标识的显示与所述至少两个虚拟载具的外观对应;
所述显示模块1910,还用于响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,所述目标虚拟载具是所述至少两个虚拟载具中与所述目标载具标识对应的虚拟载具。
请参考图20,在一些可选的实施例中,所述显示模块1910,包括:
显示单元1911,用于在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示互动控件,所述互动控件包括驾驶控件和乘坐控件中的至少一种;所述显示单元1911,还用于响应于接收到对所述互动控件的触发操作,显示所述载具选择区域。
在一些可选的实施例中,所述显示单元1911,用于响应于接收到对所述互动控件的长按操作,显示所述载具选择区域,所述载具选择区域中包括指针显示元素;
所述显示模块1910,还包括:
接收单元1912,用于接收衔接所述长按操作的滑动操作;
确定单元1913,用于响应于所述滑动操作结束,将所述滑动操作结束时所述指针显示元素所指示的载具标识确定为所述目标载具标识,并显示通过所述目标虚拟载具对所述虚拟对象进行承载的画面。
在一些可选的实施例中,所述接收单元1912,还用于基于所述滑动操作的滑动方向同步移动所述指针显示元素;或者,基于所述滑动操作的滑动方向同步移动所述载具标识。
在一些可选的实施例中,所述显示模块1910,包括:
调整单元1914,用于基于所述滑动操作的滑动方向,同步调整所述虚拟对象的视角方向,其中,所述虚拟对象的视角方向与所述指针显示元素在所述载具选择区域所指示的方向对应。
在一些可选的实施例中,所述载具选择区域包括与所述至少两个载具标识对应的至少两个显示子区域,其中,第i个载具标识显示在第i个显示子区域中,i为正整数且i小于等于所述虚拟对象的搭载范围内存在的虚拟载具的数量;所述显示单元1911,还用于高亮显示所 述指针显示元素指示的载具标识对应的显示子区域。
在一些可选的实施例中,所述显示单元1911,还用于在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示所述载具选择区域和互动控件;所述接收单元1912,还用于接收在所述载具选择区域中对目标载具标识的选择操作;所述显示单元1911,还用于响应于接收到对所述互动控件的触发操作,基于对所述目标载具标识的选择操作,显示通过所述目标虚拟载具对所述虚拟对象进行承载的画面。
在一些可选的实施例中,所述显示模块1910,还用于基于所述至少两个虚拟载具的载具状态,在所述载具标识上分别显示对应的状态指示元素;所述载具状态包括油量状态、轮胎磨损状态、车身磨损状态、防护强度中的至少一种。
在一些可选的实施例中,所述载具状态包括油量状态;所述显示单元1911,还用于基于所述至少两个虚拟载具的油量状态,在所述载具标识上显示油量指示标识;或者,用于基于所述至少两个虚拟载具的油量剩余比例,在所述载具标识上显示对应所述油量剩余比例的指示标识区域。
在一些可选的实施例中,所述显示模块1910,用于所述载具选择区域以列表的形式显示所述载具标识,所述载具标识的排列顺序与所述至少两个虚拟载具在所述虚拟场景中围绕所述虚拟对象的排列顺序对应;或者,用于所述载具选择区域以平面分布的形式显示所述载具标识,所述载具标识的排列结构与所述至少两个虚拟载具在所述虚拟场景中围绕所述虚拟对象的排列结构对应。
综上所述,本申请实施例提供的一种虚拟载具的选择装置在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
图21示出了本申请一个示例性实施例提供的计算机设备2100的结构框图。该计算机设备2100可以是:智能手机、平板电脑、动态影像专家压缩标准音频层面3播放器(Moving Picture Experts Group Audio Layer III,MP3)、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器、笔记本电脑或台式电脑。计算机设备2100还可能被称为用户设备、便携式计算机设备、膝上型计算机设备、台式计算机设备等其他名称。
通常,计算机设备2100包括有:处理器2101和存储器2102。
处理器2101可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器2101可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器2101也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器2101可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器2101还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器2102可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器2102还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器2102中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器2101所执行以实现本申请中方法实施例提供的虚拟载具的选择方法。
示意性的,计算机设备2100还包括其他组件,本领域技术人员可以理解,图21中示出的结构并不构成对计算机设备2100的限定,可以包括比图示更多或更少的组件,或者组合某 些组件,或者采用不同的组件布置。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,该计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入计算机设备中的计算机可读存储介质。该计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述实施例中任一所述的虚拟载具的选择方法。
可选的,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、固态硬盘(SSD,Solid State Drives)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(ReRAM,Resistance Random Access Memory)和动态随机存取存储器(DRAM,Dynamic Random Access Memory)。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。

Claims (14)

  1. 一种虚拟载具的选择方法,由终端执行,所述方法包括:
    显示虚拟场景中的虚拟对象和虚拟载具,所述虚拟载具用于在所述虚拟场景中向所述虚拟对象提供移动承载能力;
    在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域,所述载具选择区域中包括与所述至少两个虚拟载具分别对应的载具标识,其中,所述载具标识的显示与所述至少两个虚拟载具的外观对应;
    响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,所述目标虚拟载具是所述至少两个虚拟载具中与所述目标载具标识对应的虚拟载具。
  2. 根据权利要求1所述的方法,其中,所述在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示载具选择区域,包括:
    在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示互动控件,所述互动控件包括驾驶控件和乘坐控件中的至少一种;
    响应于接收到对所述互动控件的触发操作,显示所述载具选择区域。
  3. 根据权利要求2所述的方法,其中,所述响应于接收到对所述互动控件的触发操作,显示所述载具选择区域,包括:
    响应于接收到对所述互动控件的长按操作,显示所述载具选择区域,所述载具选择区域中包括指针显示元素;
    所述响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,包括:
    接收衔接所述长按操作的滑动操作;
    响应于所述滑动操作结束,将所述滑动操作结束时所述指针显示元素所指示的载具标识确定为所述目标载具标识,并显示通过所述目标虚拟载具对所述虚拟对象进行承载的画面。
  4. 根据权利要求3所述的方法,其中,所述接收衔接所述长按操作的滑动操作之后,还包括:
    基于所述滑动操作的滑动方向同步移动所述指针显示元素;或者,
    基于所述滑动操作的滑动方向同步移动所述载具标识。
  5. 根据权利要求4所述的方法,其中,所述接收衔接所述长按操作的滑动操作之后,还包括:
    基于所述滑动操作的滑动方向,同步调整所述虚拟对象的视角方向,其中,所述虚拟对象的视角方向与所述指针显示元素在所述载具选择区域所指示的方向对应。
  6. 根据权利要求4所述的方法,其中,所述载具选择区域包括与所述至少两个载具标识对应的至少两个显示子区域,其中,第i个载具标识显示在第i个显示子区域中,i为正整数且i小于等于所述虚拟对象的搭载范围内存在的虚拟载具的数量;
    所述接收衔接所述长按操作的滑动操作之后,还包括:
    高亮显示所述指针显示元素指示的载具标识对应的显示子区域。
  7. 根据权利要求1所述的方法,其中,所述在所述虚拟对象的搭载范围内存在至少两个 虚拟载具的情况下,显示载具选择区域,包括:
    在所述虚拟对象的搭载范围内存在至少两个虚拟载具的情况下,显示所述载具选择区域和互动控件;
    所述响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,包括:
    接收在所述载具选择区域中对所述目标载具标识的选择操作;
    响应于接收到对所述互动控件的触发操作,基于对所述目标载具标识的选择操作,显示通过所述目标虚拟载具对所述虚拟对象进行承载的画面。
  8. 根据权利要求1至7任一所述的方法,其中,所述方法还包括:
    基于所述至少两个虚拟载具的载具状态,在所述载具标识上分别显示对应的状态指示元素;
    所述载具状态包括油量状态、轮胎磨损状态、车身磨损状态、防护强度中的至少一种。
  9. 根据权利要求8所述的方法,其中,所述载具状态包括油量状态;
    所述基于所述至少两个虚拟载具的载具状态,在所述载具标识上分别显示对应的状态指示元素,包括:
    基于所述至少两个虚拟载具的油量状态,在所述载具标识上显示油量指示标识;或者,
    基于所述至少两个虚拟载具的油量剩余比例,在所述载具标识上显示对应所述油量剩余比例的指示标识区域。
  10. 根据权利要求1至7任一所述的方法,其中,
    所述载具选择区域以列表的形式显示所述载具标识,所述载具标识的排列顺序与所述至少两个虚拟载具在所述虚拟场景中围绕所述虚拟对象的排列顺序对应;或者,
    所述载具选择区域以平面分布的形式显示所述载具标识,所述载具标识的排列结构与所述至少两个虚拟载具在所述虚拟场景中围绕所述虚拟对象的排列结构对应。
  11. 一种虚拟载具的选择装置,所述装置包括:
    显示模块,用于显示虚拟场景中的虚拟对象和虚拟载具,所述虚拟载具用于向所述虚拟对象提供移动承载能力;
    所述显示模块,还用于响应于在所述虚拟对象的搭载范围内存在至少两个虚拟载具,显示载具选择区域,所述载具选择区域中包括与所述至少两个虚拟载具分别对应的载具标识,其中,所述载具标识的显示与所述至少两个虚拟载具的外观对应;
    所述显示模块,还用于响应于接收到对目标载具标识的选择操作,显示通过目标虚拟载具对所述虚拟对象进行承载的画面,所述目标虚拟载具是所述至少两个虚拟载具中与所述目标载具标识对应的虚拟载具。
  12. 一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如权利要求1至10任一所述的虚拟载具的选择方法。
  13. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行以实现如权利要求1至10任一所述的虚拟载具的选择方法。
  14. 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10任一所述的虚拟载具的选择方法。
PCT/CN2023/079592 2022-04-18 2023-03-03 虚拟载具的选择方法、装置、设备、存储介质及程序产品 WO2023202239A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210405945.6 2022-04-18
CN202210405945.6A CN116943236A (zh) 2022-04-18 2022-04-18 虚拟载具的选择方法、装置、设备、存储介质及程序产品

Publications (1)

Publication Number Publication Date
WO2023202239A1 true WO2023202239A1 (zh) 2023-10-26

Family

ID=88419034

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/079592 WO2023202239A1 (zh) 2022-04-18 2023-03-03 虚拟载具的选择方法、装置、设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN116943236A (zh)
WO (1) WO2023202239A1 (zh)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170113137A1 (en) * 2014-03-12 2017-04-27 Wargaming.Net Llp Touch control with dynamic zones and displayed elements
CN109045695A (zh) * 2018-08-08 2018-12-21 腾讯科技(深圳)有限公司 虚拟环境中的配件选择方法、设备及存储介质
CN109771941A (zh) * 2019-03-13 2019-05-21 网易(杭州)网络有限公司 游戏中虚拟对象的选择方法及装置、设备和介质
CN110201391A (zh) * 2019-06-05 2019-09-06 网易(杭州)网络有限公司 游戏中虚拟角色的控制方法和装置
CN111103822A (zh) * 2018-10-26 2020-05-05 和硕联合科技股份有限公司 载具模拟装置及方法
CN112316421A (zh) * 2020-11-27 2021-02-05 腾讯科技(深圳)有限公司 虚拟道具的装备方法、装置、终端及存储介质
CN112316428A (zh) * 2020-10-27 2021-02-05 腾讯科技(深圳)有限公司 一种虚拟道具的处理方法、装置及计算机可读存储介质
CN112691372A (zh) * 2020-12-30 2021-04-23 腾讯科技(深圳)有限公司 虚拟道具的显示方法、装置、设备及可读存储介质
CN113398571A (zh) * 2021-05-26 2021-09-17 腾讯科技(深圳)有限公司 虚拟道具的切换方法、装置、终端及存储介质
CN113827969A (zh) * 2021-09-27 2021-12-24 网易(杭州)网络有限公司 一种游戏对象的交互方法和装置

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170113137A1 (en) * 2014-03-12 2017-04-27 Wargaming.Net Llp Touch control with dynamic zones and displayed elements
CN109045695A (zh) * 2018-08-08 2018-12-21 腾讯科技(深圳)有限公司 虚拟环境中的配件选择方法、设备及存储介质
CN111103822A (zh) * 2018-10-26 2020-05-05 和硕联合科技股份有限公司 载具模拟装置及方法
CN109771941A (zh) * 2019-03-13 2019-05-21 网易(杭州)网络有限公司 游戏中虚拟对象的选择方法及装置、设备和介质
CN110201391A (zh) * 2019-06-05 2019-09-06 网易(杭州)网络有限公司 游戏中虚拟角色的控制方法和装置
CN112316428A (zh) * 2020-10-27 2021-02-05 腾讯科技(深圳)有限公司 一种虚拟道具的处理方法、装置及计算机可读存储介质
CN112316421A (zh) * 2020-11-27 2021-02-05 腾讯科技(深圳)有限公司 虚拟道具的装备方法、装置、终端及存储介质
CN112691372A (zh) * 2020-12-30 2021-04-23 腾讯科技(深圳)有限公司 虚拟道具的显示方法、装置、设备及可读存储介质
CN113398571A (zh) * 2021-05-26 2021-09-17 腾讯科技(深圳)有限公司 虚拟道具的切换方法、装置、终端及存储介质
CN113827969A (zh) * 2021-09-27 2021-12-24 网易(杭州)网络有限公司 一种游戏对象的交互方法和装置

Also Published As

Publication number Publication date
CN116943236A (zh) 2023-10-27

Similar Documents

Publication Publication Date Title
US11992760B2 (en) Virtual object control method and apparatus, terminal, and storage medium
JP7387758B2 (ja) インタフェース表示方法、装置、端末、記憶媒体及びコンピュータプログラム
EP3882870B1 (en) Method and device for image display, storage medium and electronic device
CN112402976B (zh) 游戏角色的控制方法、终端、可读存储介质及电子设备
US20170235462A1 (en) Interaction control method and electronic device for virtual reality
CN113350779A (zh) 游戏虚拟角色动作控制方法及装置、存储介质及电子设备
US20230082510A1 (en) Controlling a virtual vehicle using auxiliary control function
JP2023507686A (ja) 仮想オブジェクトの制御方法、装置、機器、記憶媒体及びコンピュータプログラム製品
CN112245908A (zh) 游戏虚拟角色的控制方法及装置、存储介质及电子设备
CN113209624B (zh) 一种目标选取方法、终端、电子设备及存储介质
WO2023202239A1 (zh) 虚拟载具的选择方法、装置、设备、存储介质及程序产品
CN113680047B (zh) 终端操作方法、装置、电子设备和存储介质
KR102666778B1 (ko) 게임의 대상체를 타겟팅하는 방법 및 장치
JP2023547721A (ja) 仮想場面における画面表示方法、装置、機器、及びプログラム
CN113769373A (zh) 游戏操作的灵敏度调整方法及装置、存储介质及电子设备
US20240335753A1 (en) Virtual character obtaining method and apparatus, storage medium, and electronic device
CN112717411B (zh) 虚拟载具的轨迹记录方法、装置、设备及存储介质
WO2023221879A1 (zh) 虚拟车辆的控制方法、装置、设备及计算机可读存储介质
CN118384495A (zh) 游戏的交互控制方法、装置、电子设备及可读存储介质
WO2023221716A1 (zh) 虚拟场景中的标记处理方法、装置、设备、介质及产品
JP7393916B2 (ja) プログラム、情報処理方法、及び情報処理装置
CN118356654A (zh) 游戏交互方法、装置及电子设备
CN117899470A (zh) 游戏的显示控制方法、装置、存储介质及电子装置
CN118320432A (zh) 一种虚拟对象生成的方法、装置、电子设备及存储介质
CN118831327A (zh) 游戏的控制方法、装置、电子设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23790902

Country of ref document: EP

Kind code of ref document: A1