Method, device, equipment, storage medium and program product for selecting virtual carrier
Patent Information
- Application Number
- CN202210405945.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-18
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-04-18
AI Technical Summary
[0004]然而,上述选择虚拟载具的方式,玩家在驾驶/乘坐虚拟载具之前对于将会驾驶/乘坐的虚拟载具完全未知,因此很容易误操作,使得驾驶/乘坐到不需要的虚拟载具;当两个玩家需要分别驾驶虚拟载具时,也容易误操作上到同一个虚拟载具,人机交互效率低,且需要玩家频繁重复切换上车的操作,给服务器造成了额外的数据处理压力
[0018]在需要对虚拟场景中的虚拟载具进行选择时,显示载具选择区域,通过对载具选择区域中的载具标识的选择操作,确定目标虚拟载具,则玩家在对虚拟载具进行操作之前能明确自己的目标虚拟载具,提高了人机交互效率,提升了用户体验,且减少了误操作给服务器造成的额外的数据处理压力。
Smart Images

Figure CN116943236B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device, storage medium, and program product for selecting a virtual vehicle. Background Technology
[0002] In applications that support virtual environments, players need to use virtual vehicles to move around within the virtual environment. Virtual vehicles give players the ability to move quickly and are considered relatively important items.
[0003] In related technologies, when a player has multiple virtual vehicles to drive, the player will randomly select one virtual vehicle to drive after clicking the driving control.
[0004] However, with the above method of selecting virtual vehicles, players are completely unaware of the virtual vehicle they will be driving / riding before they do so, making it easy to make mistakes and drive / ride the wrong virtual vehicle. When two players need to drive virtual vehicles separately, they are also prone to accidentally getting into the same virtual vehicle. This results in low human-computer interaction efficiency and requires players to frequently switch between vehicles, putting additional data processing pressure on the server. Summary of the Invention
[0005] This application provides a method, apparatus, device, storage medium, and program product for selecting virtual vehicles, which can improve human-computer interaction efficiency. The technical solution is as follows:
[0006] On the one hand, a method for selecting a virtual vehicle is provided, the method comprising:
[0007] Displays virtual objects and virtual vehicles in a virtual scene, wherein the virtual vehicles are used to provide mobility and carrying capabilities to the virtual objects;
[0008] In response to the presence of at least two virtual vehicles within the riding range of the virtual object, a vehicle selection area is displayed, the vehicle selection area including vehicle identifiers corresponding to the at least two virtual vehicles respectively, wherein the display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles;
[0009] In response to receiving a selection operation for a target vehicle identifier, a screen is displayed showing the virtual object being carried by the target virtual vehicle, wherein the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among the at least two virtual vehicles.
[0010] On the other hand, a virtual vehicle selection device is provided, the device comprising:
[0011] The display module is used to display virtual objects and virtual vehicles in the virtual scene, wherein the virtual vehicles are used to provide mobility and carrying capabilities to the virtual objects;
[0012] The display module is further configured to display a vehicle selection area in response to the presence of at least two virtual vehicles within the riding range of the virtual object. The vehicle selection area includes vehicle identifiers corresponding to the at least two virtual vehicles respectively, wherein the display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles.
[0013] The display module is further configured to, in response to receiving a selection operation for a target vehicle identifier, display a screen showing the virtual object being carried by a target virtual vehicle, wherein the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among the at least two virtual vehicles.
[0014] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement any of the virtual vehicle selection methods described in the embodiments of this application.
[0015] On the other hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored therein, the at least one piece of program code being loaded and executed by a processor to implement the virtual vehicle selection method as described in any of the embodiments of this application.
[0016] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the virtual vehicle selection methods described in the embodiments of this application.
[0017] The beneficial effects of the technical solutions provided in this application include at least the following:
[0018] When it is necessary to select a virtual vehicle in a virtual scene, a vehicle selection area is displayed. By selecting the vehicle icon in the vehicle selection area, the target virtual vehicle is determined. This allows players to clearly identify their target virtual vehicle before operating it, improving human-computer interaction efficiency, enhancing user experience, and reducing the additional data processing pressure on the server caused by accidental operations. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of an interface for selecting a virtual vehicle in the related technology provided by an exemplary embodiment of this application;
[0021] Figure 2 This is a schematic diagram of an interface for a virtual vehicle selection method provided in an exemplary embodiment of this application;
[0022] Figure 3 This is a schematic diagram of an implementation environment provided by an exemplary embodiment of this application;
[0023] Figure 4 This is a flowchart of a virtual vehicle selection method provided in an exemplary embodiment of this application;
[0024] Figure 5 This is a schematic diagram of an interface showing a vehicle identifier according to an exemplary embodiment of this application;
[0025] Figure 6 This is a flowchart of a virtual vehicle selection method provided in another exemplary embodiment of this application;
[0026] Figure 7 This is a schematic diagram of the interface of an interactive control provided in an exemplary embodiment of this application;
[0027] Figure 8 This is a schematic diagram of a fuel level indicator provided in an exemplary embodiment of this application;
[0028] Figure 9 This is a schematic diagram of another fuel level indicator provided in an exemplary embodiment of this application;
[0029] Figure 10 This is a schematic diagram showing the display of the vehicle identifier corresponding to the virtual vehicle in different states according to an exemplary embodiment of this application;
[0030] Figure 11 This is a schematic diagram of the interface for a long press operation provided in an exemplary embodiment of this application;
[0031] Figure 12 This is a schematic diagram of the interface for sliding operations provided in an exemplary embodiment of this application;
[0032] Figure 13This is a planar schematic diagram of adjusting the field of view of a virtual object, provided by an exemplary embodiment of this application;
[0033] Figure 14 This is a schematic diagram of another method for adjusting the field of view of a virtual object, provided in an exemplary embodiment of this application.
[0034] Figure 15 This is a schematic diagram of an interface showing the process of a virtual object driving a target virtual vehicle, provided by an exemplary embodiment of this application;
[0035] Figure 16 This is a flowchart of a virtual vehicle selection method provided in another exemplary embodiment of this application;
[0036] Figure 17 This is a schematic diagram of an interface illustrating another process of a virtual object driving a target virtual vehicle, provided by an exemplary embodiment of this application;
[0037] Figure 18 This is a functional logic diagram of a virtual vehicle selection method provided in an exemplary embodiment of this application;
[0038] Figure 19 This is a structural block diagram of a virtual vehicle selection device provided in an exemplary embodiment of this application;
[0039] Figure 20 This is a structural block diagram of a virtual vehicle selection device provided in another exemplary embodiment of this application;
[0040] Figure 21 This is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] In this application, the terms "first" and "second" are used to distinguish between identical or similar items that have essentially the same function. It should be understood that there is no logical or temporal dependency between "first" and "second", nor is there any limitation on the quantity or execution order.
[0043] First, a brief introduction to the terms used in the embodiments of this application:
[0044] Virtual scene: A virtual scene includes the scene displayed when the target application runs on the terminal, such as the game scene displayed when a shooting game runs on the terminal. The virtual scene includes at least one of two-dimensional virtual scenes, 2.5-dimensional virtual scenes, and three-dimensional virtual scenes, etc., and this application embodiment does not limit this. The virtual scene can be a completely fictional scene, a simulation of the real world, or a semi-simulated, semi-fictional scene.
[0045] Virtual objects: Virtual objects refer to movable objects in a virtual scene. These movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, and stones displayed in a virtual scene. Optionally, when the virtual scene is implemented as a three-dimensional virtual scene, the virtual objects are three-dimensional models created based on animation skeletal technology. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a portion of the space in the three-dimensional virtual environment.
[0046] In applications that support virtual scenarios, players need to use virtual vehicles for movement and combat within the virtual environment. To illustrate, when a player needs to drive a virtual vehicle, clicking the driving control will display a screen showing the virtual vehicle on the terminal, allowing the player to perform driving operations.
[0047] In related technologies, when there are two or more virtual vehicles available for player operation in a virtual scene, after the player clicks the interactive control, the backend will randomly assign the player a virtual vehicle to operate. (For illustrative purposes only, please refer to the provided text.) Figure 1 The virtual scene 100 displays a virtual object 101, a first virtual vehicle 102, and a second virtual vehicle 103. Clicking the driving control 104 displays either the virtual object 101 driving the first virtual vehicle 102, or the virtual object 101 driving the second virtual vehicle 103. In other words, before clicking the driving control 104, the player is unsure which virtual vehicle they will be driving. Therefore, in the implementation of this technology, the following situation may occur:
[0048] (1) When it is necessary to select a virtual vehicle to drive, the player cannot know which virtual vehicle he / she wants to drive and may need to perform multiple operations to select the virtual vehicle he / she needs.
[0049] (2) When players belonging to the same team need to operate different virtual vehicles to transfer, there may be a misoperation that causes two players to get on the same virtual vehicle.
[0050] Both of these situations will affect the efficiency of players' movement using virtual vehicles in virtual scenes, resulting in low human-computer interaction efficiency and a poor user experience.
[0051] The virtual vehicle selection method provided in this application displays a vehicle selection area when there are two or more operable virtual vehicles in the virtual scene. Players can select the target virtual vehicle by selecting the vehicle icon in the vehicle selection area. For illustration purposes, please refer to [reference needed]. Figure 2 Virtual object 201 is displayed in virtual scene 200. Virtual object 201 has two rideable virtual vehicles in virtual scene 200: first virtual vehicle 202 and second virtual vehicle 203. Long press the driving control 204 to display vehicle selection box 205. Vehicle selection box 205 displays first vehicle identifier 206, second vehicle identifier 207 and selection pointer 208. First vehicle identifier 206 corresponds to first virtual vehicle 202, and second vehicle identifier 207 corresponds to second virtual vehicle 203. While long pressing the driving control 204, you can slide left and right to move the vehicle identifier in vehicle selection box 205. When the long press operation ends, selection pointer 208 points to first vehicle identifier 206, and the screen of virtual object 201 driving first virtual vehicle 202 is displayed.
[0052] As can be seen from the above description, the method provided in this application embodiment allows players to clearly identify their target virtual vehicle before operating it, reducing incorrect selection operations by players, thereby reducing the resource consumption of the computer in processing misoperations, improving human-computer interaction efficiency, and enhancing user experience.
[0053] Figure 3 This is a schematic diagram of an implementation environment provided by an exemplary embodiment of this application, such as... Figure 3 As shown, the implementation environment includes a terminal 310, a server 320, and a communication network 330, wherein the terminal 310 and the server 320 are connected through the communication network 330.
[0054] In some optional embodiments, a target application supporting virtual scenes is installed and runs on terminal 310. This target application can be any of the following: a virtual reality application, a first-person shooter (FPS) game, a third-person shooter (TPS) game, a multiplayer online battle arena (MOBA) game, or a massively multiplayer online role-playing game (MMORPG). This application embodiment does not limit the specific application to this type of game. Optionally, terminal 310 displays a virtual scene through the target application, which includes virtual vehicles and virtual objects. The target application provides a virtual vehicle selection function.
[0055] As an illustration, a player account is logged into terminal 310. When there are two or more virtual vehicles available for the player account to operate in the virtual scene displayed by the target application, a vehicle selection area will be displayed. This vehicle selection area includes vehicle identifiers corresponding to the virtual vehicles. Optionally, such as... Figure 3 As shown, terminal 310 receives a selection operation on the target vehicle identifier in the vehicle selection area. Terminal 310 generates a selection request based on the selection operation and uploads the selection request to server 320. Server 320 determines the target virtual vehicle based on the selection request and feeds back the selection result corresponding to the target virtual vehicle to terminal 310. Terminal 310 displays the screen of the target virtual vehicle carrying the virtual object based on the selection result.
[0056] Optionally, the terminal 310 may be a smartphone, tablet computer, desktop computer, laptop computer, smart home appliance, vehicle terminal, aircraft, etc., but is not limited to these.
[0057] In some optional embodiments, server 320 is used to provide background services for the target application installed on terminal 310. It is worth noting that server 320 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0058] Cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Based on the cloud computing business model, cloud technology encompasses network technology, information technology, integration technology, management platform technology, and application technology. It can form resource pools, providing flexible and convenient on-demand access. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to a backend system for logical processing. Data at different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing. Optionally, server 320 can also be implemented as a node in a blockchain system.
[0059] In some optional embodiments, the communication network 330 may be a wired network or a wireless network, and this application embodiment does not limit this.
[0060] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the player operation data involved in this application was obtained with full authorization.
[0061] The application scenarios of the virtual vehicle selection method provided in the embodiments of this application are described as follows:
[0062] In shooting games, players need to use virtual vehicles to move and fight on the map. Virtual vehicles are important items in the game. Often, there are two or more virtual vehicles available for players to operate at the same location, and players need to select one. The virtual vehicle selection method provided in this application embodiment is illustrative: the player long-presses the driving control, and a vehicle selection box appears next to the control. The selection box displays vehicle icons and a selection pointer corresponding to the virtual vehicles. While long-pressing the driving control, players can swipe left or right to select a vehicle icon. The virtual vehicle corresponding to the icon pointed to by the selection pointer in the vehicle selection box is the virtual vehicle the player will drive. Optionally, the vehicle icon also displays information such as the corresponding virtual vehicle's color, wear condition, and fuel level, allowing players to quickly select a virtual vehicle based on this information. The virtual vehicle selection method provided in this application embodiment enables players to clearly define their operational goals before boarding a virtual vehicle, and allows them to accurately select a virtual vehicle through the display of important information, reducing the trial and error costs of virtual vehicle selection and improving the user experience in the game.
[0063] It is worth noting that the above application scenarios are merely illustrative examples, and the embodiments of this application do not limit other application scenarios of the virtual vehicle selection method.
[0064] Based on the above introduction and implementation environment, Figure 4 This is a flowchart illustrating a virtual vehicle selection method provided in an embodiment of this application, which is applied to, for example... Figure 3 Taking terminal 310 as an example, the method includes:
[0065] Step 401: Display virtual objects and virtual vehicles in the virtual scene.
[0066] Optionally, the virtual scene is a virtual scene displayed when the target application runs on the terminal, and the target application has a logged-in player account.
[0067] Optionally, the virtual scene may also include at least one of virtual sky, virtual land, and virtual ocean, wherein virtual land includes environmental elements such as deserts and cities. Optionally, the player account can control virtual objects to move within the virtual scene. For example, when the virtual scene is implemented as a battle map in a shooting game, the player can control virtual objects to move within the battle map.
[0068] Optionally, a virtual object is a virtual image in a virtual scene used to represent a player's account. A virtual scene can display one virtual object, or two or more virtual objects. Optionally, k virtual objects are controlled by k player accounts respectively, where k is a positive integer.
[0069] Alternatively, the virtual vehicle can be a completely virtual vehicle or a simulation of a vehicle in a real-world scenario, such as a motorcycle, car, truck, train, airplane, tractor, etc.
[0070] The virtual vehicle is used to provide mobility to virtual objects. Illustratively, a virtual object can drive or ride in a virtual vehicle within a virtual scene. Optionally, the virtual vehicle can provide mobility to one virtual object, or to two or more virtual objects.
[0071] Step 402: In response to the existence of at least two virtual vehicles within the riding range of the virtual object, display the vehicle selection area.
[0072] If at least two virtual vehicles exist in the virtual scene, then when at least two virtual vehicles are within the riding range of a virtual object, a vehicle selection area is displayed. The riding range can be implemented in at least one of the following ways:
[0073] 1. The virtual object is located at a certain location in the virtual scene. The circular area with that location as the center and a preset distance as the radius is the riding range of the virtual object.
[0074] 2. The virtual object is fixed at a certain location in the virtual scene. The fan-shaped area divided with that location as the center, a preset distance as the radius, and a preset angle as the central angle is the riding range of the virtual object. Optionally, the preset angle can be implemented as the field of view angle of the virtual object.
[0075] It is worth noting that the above-mentioned implementation of the riding range is merely an illustrative example, and the embodiments of this application do not limit it.
[0076] Alternatively, a virtual vehicle is considered a virtual vehicle only if it is entirely displayed within the riding area, or if a virtual vehicle is considered a virtual vehicle only if it is partially displayed within the riding area.
[0077] The vehicle selection area includes vehicle identifiers corresponding to at least two virtual vehicles, wherein the display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles. Optionally, the appearance of the virtual vehicle includes its outline, surface color, etc. Schematic, if the virtual vehicle is a motorcycle, the display of the vehicle identifier is the same as the outline and surface color of the motorcycle.
[0078] Optionally, the vehicle selection area includes a display area, which refers to the area displayed in the virtual scene.
[0079] In some optional embodiments, the vehicle identifier in the vehicle selection area is displayed in at least one of the following ways:
[0080] 1. The vehicle selection area displays vehicle icons in a list format.
[0081] Optionally, the vehicle selection area can display vehicle icons in the form of a horizontal list, schematically, wherein the shape of the vehicle selection area is a rectangle with a length of n and a width of 1; it can also display vehicle icons in the form of a vertical list, schematically, wherein the shape of the vehicle selection area is a rectangle with a length of 1 and a width of n; or it can display vehicle icons in the form of a circular list, where n is a positive integer.
[0082] Optionally, all vehicle identifiers can be displayed in the vehicle selection area. "All vehicle identifiers" refers to the vehicle identifiers corresponding to all virtual vehicles within the virtual object's riding range. For example, if there are three virtual vehicles within the virtual object's riding range, the vehicle identifiers corresponding to these three virtual vehicles will be displayed simultaneously in the vehicle selection area. Alternatively, some virtual vehicles can be displayed in the vehicle selection area. "Some virtual vehicles" refers to the vehicle identifiers corresponding to some virtual vehicles within the virtual object's riding range. For example, if there are three virtual vehicles within the virtual object's riding range, the vehicle identifier corresponding to one virtual vehicle will be displayed in the vehicle selection area. When the vehicle selection area is swiped left or right, the three vehicle identifiers can be moved to be displayed sequentially in the display area.
[0083] The order in which the vehicle identifiers are arranged corresponds to the order in which at least two virtual vehicles are arranged around a virtual object in the virtual scene.
[0084] 2. The vehicle selection area displays vehicle identifiers in a planar layout.
[0085] Optionally, all vehicle identifiers are displayed in a planar distribution within the display area of the vehicle selection area, where all vehicle identifiers refer to the vehicle identifiers corresponding to all virtual vehicles within the riding range of the virtual object.
[0086] The arrangement of vehicle identifiers corresponds to the arrangement of at least two virtual vehicles surrounding a virtual object in the virtual scene. For illustration, please refer to... Figure 5A virtual object 501 is displayed in the virtual scene 500. Within the riding range of the virtual object 501, there are a first virtual vehicle 502, a second virtual vehicle 503, and a third virtual vehicle 504. Then, a vehicle selection area 505 is displayed. The vehicle selection area 505 has a display area 506. The display area 506 displays the first vehicle identifier 507 corresponding to the first virtual vehicle 502, the second vehicle identifier 508 corresponding to the second virtual vehicle 503, and the third vehicle identifier 509 corresponding to the third virtual vehicle 504. The arrangement of the first vehicle identifier 507, the second vehicle identifier 508, and the third vehicle identifier 509 in the display area 506 corresponds to the arrangement of the first virtual vehicle 502, the second virtual vehicle 503, and the third virtual vehicle 504 around the virtual object 501 in the virtual scene 500.
[0087] Optionally, when the position of a virtual object changes in the virtual scene, the arrangement of vehicle identifiers in the vehicle selection area also changes accordingly.
[0088] 3. The vehicle selection area displays vehicle icons in the form of a wheel.
[0089] Optionally, all vehicle identifiers are displayed in the display area of the vehicle selection area in the form of a wheel, wherein all vehicle identifiers refer to the vehicle identifiers corresponding to all virtual vehicles within the riding range of the virtual object.
[0090] The order in which the vehicle icons in the roulette wheel are arranged corresponds to the order in which at least two virtual vehicles are arranged around a virtual object in the virtual scene.
[0091] Alternatively, the wheel can rotate clockwise or counterclockwise.
[0092] Optionally, while the roulette wheel is rotating, the virtual object in the virtual scene also rotates accordingly, wherein the direction of rotation of the virtual object is the same as the direction of rotation of the roulette wheel.
[0093] It is worth noting that the display method of the vehicle identifier in the vehicle selection area is only an illustrative example, and the embodiments of this application do not limit it.
[0094] In some optional embodiments, based on the vehicle status of at least two virtual vehicles, corresponding status indicator elements are displayed on the vehicle identifier. The vehicle status includes at least one of fuel level, tire wear status, vehicle body wear status, and protection strength.
[0095] Step 403: In response to receiving the selection operation for the target vehicle identifier, a screen showing the virtual object being carried by the target virtual vehicle is displayed.
[0096] Among them, the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among at least two virtual vehicles.
[0097] Optionally, a player account can select at least two vehicle icons based on the status indicator elements displayed by at least two vehicle icons in the vehicle selection area, thereby determining the target vehicle icon.
[0098] Optionally, the screen displaying the virtual object being carried by the target virtual vehicle includes: displaying the virtual object driving the target virtual vehicle, or displaying the virtual object riding in the target virtual vehicle.
[0099] In summary, the virtual vehicle selection method provided in this application displays a vehicle selection area when a virtual vehicle in a virtual scene needs to be selected. By selecting the vehicle identifier in the vehicle selection area, the target virtual vehicle is determined. Thus, players can clearly identify their target virtual vehicle before operating on it, improving human-computer interaction efficiency, enhancing user experience, and reducing the additional data processing pressure on the server caused by misoperation.
[0100] Figure 6 This is a flowchart of a virtual vehicle selection method provided in another exemplary embodiment of this application, such as... Figure 6 As shown, the method includes:
[0101] Step 601: Display virtual objects and virtual vehicles in the virtual scene.
[0102] Virtual vehicles are used to provide mobility and carrying capabilities to virtual objects.
[0103] Step 602, in response to the presence of at least two virtual vehicles within the riding range of the virtual object, display interactive controls.
[0104] The interactive controls include at least one of a driving control and a riding control. The driving control is used to trigger a screen showing the virtual object riding a virtual vehicle, and the riding control is used to trigger a screen showing the virtual object riding a virtual vehicle. Optionally, the interactive controls can be displayed in the following ways: only the driving control is displayed; or only the riding control is displayed; or both the driving control and the riding control are displayed simultaneously.
[0105] This is just an illustration. If you want to display both driving and passenger controls simultaneously, please refer to [the example]. Figure 7 If a virtual object 701 is displayed in the virtual scene 700, and there are two virtual vehicles within the riding range of the virtual object 701, then the driving control 702 and the riding control 703 will be displayed simultaneously.
[0106] The implementation method for the riding range of virtual objects has been explained in step 402, and will not be repeated here.
[0107] Step 603: In response to receiving a trigger operation on the interactive control, display the vehicle selection area.
[0108] Optionally, the triggering operation can be implemented in at least one of the following ways:
[0109] 1. The trigger operation is implemented as a click operation on the interactive control;
[0110] 2. The trigger operation is implemented as a long press operation on the interactive control;
[0111] 3. The triggering operation is implemented as a voice command operation of the interactive control. For example, the voice command to trigger the interactive control is set in the settings interface of the target application. The interactive control is triggered by the voice command to display the vehicle selection area.
[0112] 4. The trigger operation is implemented as a preset gesture for the interactive control. Indicatively, the preset gesture for triggering the interactive control is set in the settings interface of the target application. The interactive control is triggered by the preset gesture to display the vehicle selection area.
[0113] It is worth noting that the above-described triggering operation is merely an illustrative example, and the embodiments of this application do not limit it.
[0114] Optionally, the method for displaying the vehicle selection area further includes: simultaneously displaying interactive controls and the vehicle selection area in response to the presence of at least two virtual vehicles within the riding range of the virtual object. Illustratively, when at least two virtual vehicles are within the riding range of the virtual object, the vehicle selection area and interactive controls are directly displayed.
[0115] Optionally, the vehicle selection area includes vehicle identifiers corresponding to at least two virtual vehicles.
[0116] Optionally, the display of vehicle identifiers corresponds to the appearance of at least two virtual vehicles.
[0117] Optionally, based on the vehicle status of at least two virtual vehicles, corresponding status indicator elements are displayed on the vehicle identifiers, wherein the vehicle status includes at least one of fuel level, tire wear status, vehicle body wear status, and protection strength. Optionally, the status indicator elements corresponding to fuel level, tire wear status, vehicle body wear status, and protection strength are described:
[0118] 1. Vehicle status includes fuel level.
[0119] Based on the fuel status of at least two virtual vehicles, a fuel level indicator will be displayed on the vehicle identifier. (For illustrative purposes, please refer to the provided text.) Figure 8Below vehicle identifier 801 is a fuel level indicator 802, with the black portion representing the remaining fuel of the virtual vehicle corresponding to vehicle identifier 801; alternatively, based on the remaining fuel percentages of at least two virtual vehicles, an indicator area displaying the corresponding remaining fuel percentage on the vehicle identifier, with a distinct visual characteristic from the vehicle identifier itself, is shown. For illustrative purposes, please refer to [reference needed]. Figure 9 If there is a black area 902 in the appearance of the vehicle identifier 901, then the proportion of the black area 902 to the entire vehicle identifier 901 is the remaining fuel percentage of the virtual vehicle corresponding to the vehicle identifier 901. Optionally, the black color of the black area 902 is only for illustration. In actual application, the black area 902 with different remaining fuel percentages can be set to different colors. For example, if the remaining fuel percentage is 10%-1%, the black area 902 is set to red; if the remaining fuel percentage is 100%-90%, the black area 902 is set to green. (It is worth noting that if the color of the black area 902 is the same as the appearance color of the virtual vehicle corresponding to the virtual identifier, the color of the black area 902 is adjusted. For example, if the appearance color of the virtual vehicle corresponding to the virtual identifier is red, then when the remaining fuel percentage is 9%, the color of the black area 902 is adjusted to dark red to distinguish it from the appearance color.)
[0120] 2. Vehicle condition includes tire wear condition.
[0121] Tire wear includes at least one of the following: wear of the virtual vehicle during driving, wear of the virtual vehicle after being attacked, etc. This embodiment does not limit this.
[0122] Based on the tire wear status of at least two virtual vehicles, a tire wear indicator is displayed on the vehicle identifier. Schematively, a tire wear box / tire wear level number is displayed below the vehicle identifier, the tire wear box / tire wear level number indicating the degree of tire wear of the virtual vehicle corresponding to the vehicle identifier; or, based on the tire wear status of at least two virtual vehicles, the tire appearance of the vehicle identifier is changed, wherein the tire appearance of the vehicle identifier corresponds to the tire appearance of the virtual vehicle corresponding to the vehicle identifier; or, based on the tire wear status of at least two virtual vehicles, an indicator area for the corresponding tire wear status is displayed on the vehicle identifier with display characteristics different from those of the vehicle identifier.
[0123] 3. Vehicle condition includes vehicle body wear condition.
[0124] Vehicle wear includes at least one of the following: wear during virtual vehicle operation, wear after virtual vehicle is attacked, etc. This embodiment does not limit this.
[0125] Based on the wear status of at least two virtual vehicles, a wear status indicator is displayed on the vehicle identifier. Schematively, a wear frame / wear level number is displayed below the vehicle identifier, which indicates the degree of wear of the virtual vehicle corresponding to the vehicle identifier. Alternatively, based on the wear status of at least two virtual vehicles, the appearance of the vehicle identifier is changed, wherein the appearance of the vehicle identifier corresponds to the appearance of the virtual vehicle corresponding to the vehicle identifier. Or, based on the wear status of at least two virtual vehicles, an indicator area for the corresponding wear status is displayed on the vehicle identifier with a distinctive feature.
[0126] 4. Vehicle status includes protection strength.
[0127] Optionally, protection strength refers to the ability of a virtual vehicle to resist damage. The higher the protection strength, the stronger the ability of the virtual vehicle to resist damage.
[0128] Based on the protection strength of at least two virtual vehicles, a protection strength indicator is displayed on the vehicle identifier. Indicatively, a protection strength box / protection strength level number is displayed below the vehicle identifier, indicating the protection strength of the virtual vehicle corresponding to the vehicle identifier. Alternatively, based on the protection strength of at least two virtual vehicles, different protective parts of the vehicle identifiers are displayed, where the appearance of the protective parts of the vehicle identifiers corresponds to the appearance of the protective parts of the virtual vehicles corresponding to the vehicle identifiers. For example, if the vehicle identifier shows a hardtop jeep, its protection strength is high; if the vehicle identifier shows a soft-top jeep, its protection strength is low. Or, based on the protection strength of at least two virtual vehicles, an indicator area corresponding to the protection strength is displayed on the vehicle identifier with display characteristics different from those of the vehicle identifier.
[0129] Optionally, the examples of the status indication elements corresponding to oil level, tire wear, vehicle body wear, and protection strength mentioned above are merely illustrative and are not intended to limit the scope of this application.
[0130] Optionally, the status indicator elements corresponding to tire wear and vehicle body wear can be displayed together to represent the overall usage status of the virtual vehicle corresponding to the vehicle identifier. For illustrative purposes, please refer to [the relevant documentation / example]. Figure 10 It displays the vehicle identifier corresponding to the virtual vehicle in different states, such as... Figure 10 As shown:
[0131] The first vehicle identifier 1010 indicates that the virtual vehicle has not been used, and the fuel indicator 1011 indicates that the virtual vehicle has 100% fuel remaining. The second vehicle identifier 1020 indicates that the virtual vehicle has been used. Optionally, the tires and body have a certain degree of wear, and the black part indicates the combined wear of the tires and body. The fuel indicator 1021 indicates that the virtual vehicle has 50% fuel remaining. The third vehicle identifier 1030 indicates that the virtual vehicle can no longer be driven. Optionally, the black part occupies 100% of the third vehicle identifier 1030, indicating that the tires and body are completely worn. The fuel indicator 1031 indicates that the virtual vehicle has 10% fuel remaining. The fourth vehicle identifier 1040 indicates that the virtual vehicle can no longer be driven. Optionally, the tires and body have a certain degree of wear, and the black part indicates the combined wear of the tires and body. The fuel indicator 1041 indicates that the virtual vehicle has 0% fuel remaining.
[0132] It is worth noting that the display of the vehicle identifier corresponding to the virtual vehicle in different states is only an illustrative example, and the embodiments of this application do not limit it.
[0133] Step 604: In response to receiving a selection operation for the target vehicle identifier, a screen is displayed showing the virtual object being carried by the target virtual vehicle.
[0134] Among them, the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among at least two virtual vehicles.
[0135] In some optional embodiments, the vehicle selection area includes a pointer display element.
[0136] Alternatively, the pointer display element can be implemented as a selection pointer.
[0137] Optionally, if the triggering operation is a long press, displaying the screen showing the virtual object being carried by the target virtual vehicle also includes the following steps:
[0138] Step 1: In response to a long press operation on the interactive control, display the vehicle selection area and pointer display element.
[0139] The above long press operation is illustrative; it refers to pressing and holding the interactive control without releasing it. Please refer to the example above. Figure 11 In the virtual scene 1100, a driving control 1101 is displayed. Long-pressing the driving control 1101 will display the vehicle selection area 1102 and the selection pointer 1103.
[0140] Step 2: Receive the swipe operation that connects to the long press operation.
[0141] To illustrate, the swipe gesture that receives a long press operation means receiving a swipe gesture while pressing and holding the interactive control.
[0142] Optionally, the sliding operation can be a sliding operation within the interactive control display area, or a sliding operation within other virtual scene display areas that include the interactive display area.
[0143] Optionally, the above-mentioned sliding operation includes at least one of left and right sliding operation, up and down sliding operation, or rotational sliding operation around a certain point, etc., and this embodiment does not limit it.
[0144] In some optional embodiments, the above-mentioned case of receiving a swipe operation in conjunction with a long press operation further includes at least one of the following:
[0145] 1. Receive and connect the long press operation with a swipe operation, and move the pointer to display elements synchronously based on the swipe direction.
[0146] Indicatively, the object moved by the swipe operation is the pointer display element. Moving the pointer display element, the vehicle identifier currently pointed to by the pointer display element is the currently selected vehicle identifier.
[0147] 2. Receive and connect the long press operation with a swipe operation, and move the vehicle icon synchronously based on the swipe direction.
[0148] Indicatively, the object being moved by the swipe operation is a vehicle icon. The pointer element is fixed at a certain position in the vehicle selection area and always points to a specific vehicle icon. Moving the vehicle icon will change the vehicle icon pointed to by the pointer element.
[0149] The above examples of receiving and connecting long-press swipe operations are merely illustrative and are not intended to limit the scope of this application.
[0150] In some optional embodiments, the swipe operation following the long press operation further includes:
[0151] Based on the sliding direction of the sliding operation, the viewing direction of the virtual object is adjusted synchronously. The viewing direction of the virtual object corresponds to the direction indicated by the pointer display element in the vehicle selection area. For example, if the pointer display element points to the middle position of a certain vehicle icon, then the viewing direction of the virtual object is also facing the middle position of the virtual vehicle corresponding to that vehicle icon.
[0152] This is illustrative; please refer to it. Figure 12In the virtual scene 1200, a virtual object 1201 is displayed. A first virtual vehicle 1202 is displayed within the riding range of the virtual object 1201. Then, a driving control 1203 and a vehicle selection area 1204 are displayed in the virtual scene 1200. The vehicle selection area 1204 displays a first vehicle identifier 1205 and a selection pointer 1206 corresponding to the first virtual vehicle 1202. By pressing and holding the driving control 1203 and sliding it left and right, the vehicle identifier in the vehicle selection area 1204 can be moved, thereby changing the vehicle identifier indicated by the selection pointer 1206. By pressing and holding the driving control 1203 and sliding it in the direction of the first arrow 1207, the viewing direction 1208 of the virtual object 1201 will also slide in the direction of the second arrow 1209. And the position indicated by the selection pointer 1206 on the first vehicle identifier 1205 corresponds to the position of the viewing direction 1208 of the virtual object 1201 pointing to the first virtual vehicle 1202.
[0153] Optionally, the above-mentioned synchronous adjustment of the virtual object's viewing direction, that is, synchronous adjustment of the virtual object's field of view (the field of view can refer to the display screen of the current virtual scene).
[0154] To illustrate, if the virtual scene is implemented as a three-dimensional virtual scene, and the riding range of the virtual object is implemented as a circular range with a preset distance as the radius and a fixed location of the virtual object in the virtual scene as the center, then the situation where the field of view of the virtual object is adjusted by sliding includes at least one of the following:
[0155] Scenario 1: Within the virtual object's riding range, there is a rideable virtual vehicle outside the virtual object's field of vision. The swipe gesture allows the virtual object's field of vision to be adjusted 360 degrees. Please refer to [reference needed]. Figure 13 The riding range of the virtual object 1301 is a circle with a radius of 2m centered on the virtual object 1301. There are 4 virtual vehicles within this riding range, and these 4 virtual vehicles are respectively associated with 4 vehicle icons. The fan-shaped area 1302 is used to represent the field of view of the virtual object. There are 3 virtual vehicles displayed within this field of view. Outside this field of view, there is also a virtual vehicle 1303 within the riding range of the virtual object 1301. Optionally, if the above 4 vehicle icons are displayed in the vehicle selection area, sliding from the first displayed vehicle icon to the last displayed vehicle icon allows the virtual object 1301 to rotate 360 degrees in the 3D virtual scene. Thus, the field of view of the virtual object 1301 can include the 4 virtual vehicles within the riding range during the sliding operation.
[0156] Scenario 2: Within the virtual object's riding range, if there are no rideable virtual vehicles outside the virtual object's field of view, the swipe operation can only move the virtual object's field of view to the outermost virtual vehicle, ensuring that the outermost virtual vehicle is fully displayed. (For illustrative purposes only, please refer to the example.) Figure 14 The riding range of the virtual object 1401 is a circle with a radius of 2m centered on the virtual object 1401. Within this riding range, there are 3 virtual vehicles, each corresponding to a vehicle identifier. Optionally, the first sector 1402 is the initial field of view of the virtual object. The vehicle selection area displays the aforementioned 3 vehicle identifiers. By sliding from the first displayed vehicle identifier to the last displayed vehicle identifier, the field of view of the virtual object 1401 can change. The change range of the field of view is from sliding from the first sector 1402 to the second sector 1403. Within the field of view represented by the first sector 1402, the first virtual vehicle 1404 can be fully displayed in the current screen of the virtual scene; within the field of view represented by the second sector 1403, the second virtual vehicle 1405 can be fully displayed in the current screen of the virtual scene.
[0157] The above examples of adjusting the field of view of virtual objects through sliding operations are merely illustrative and are not intended to limit the scope of this application.
[0158] In some optional embodiments, the vehicle 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 virtual object's riding range, and after receiving the swipe operation following the long press operation, the following is also included:
[0159] The highlighted pointer element indicates the display sub-area corresponding to the vehicle identifier.
[0160] Indicatively, the pointer displays elements or vehicle icons by sliding the pointer. The pointer will always point to a vehicle icon, highlighting the area where that vehicle icon is displayed within the vehicle selection area, i.e., the sub-area.
[0161] In this context, "highlight" means that the display sub-area of the vehicle identifier indicated by the pointer element is brighter than the display sub-area of other vehicle identifiers, or that the color of the display sub-area of the vehicle identifier indicated by the pointer element is different from the color of the display sub-area of other vehicle identifiers.
[0162] Step 3: In response to the end of the sliding operation, the vehicle identifier pointed to by the pointer display element at the end of the sliding operation is identified as the target vehicle identifier, and a screen showing the virtual object being carried by the target virtual vehicle is displayed.
[0163] Optionally, displaying a screen showing the virtual object being carried by the target virtual vehicle includes at least one of the following: displaying a screen showing the virtual object driving the target virtual vehicle, or displaying a screen showing the virtual object riding in the target virtual vehicle.
[0164] This is illustrative; please refer to it. Figure 15 The virtual scene 1500 displays a virtual object 1501, a virtual vehicle 1502, a vehicle selection area 1503, and a driving control 1504. The vehicle selection area 1503 displays a selection pointer 1505 and a vehicle identifier 1506 corresponding to the virtual vehicle 1502. When the driving control 1504 is pressed and slid left and right, and the sliding stops and the press and hold operation ends, the selection pointer 1505 points to the vehicle identifier 1506. Then, the virtual scene 1510 displays a screen showing the driving of the virtual vehicle 1511 (the virtual vehicle 1511 and the virtual vehicle 1502 belong to the same virtual vehicle).
[0165] In summary, the virtual vehicle selection method provided in this application displays a vehicle selection area when a virtual vehicle in a virtual scene needs to be selected. By selecting the vehicle identifier in the vehicle selection area, the target virtual vehicle is determined. Thus, players can clearly identify their target virtual vehicle before operating on it, improving human-computer interaction efficiency, enhancing user experience, and reducing the additional data processing pressure on the server caused by misoperation.
[0166] The virtual vehicle selection method provided in this application displays a vehicle identifier in the vehicle selection area. The vehicle identifier can be used to identify the vehicle status of the virtual vehicle. Players can preview at least one of the following: fuel level, tire wear, body wear, and protection strength of the virtual vehicle before operating it, through the status indicator elements on the vehicle identifier. This allows for accurate selection of the virtual vehicle, reduces the trial-and-error cost in virtual vehicle selection, and further improves the user experience.
[0167] The virtual vehicle selection method provided in this application embodiment enables the selection of vehicle identifiers through long-press and swipe operations on interactive controls, making the selection operation smoother and further improving the efficiency of human-computer interaction.
[0168] Figure 16 This is a flowchart of a virtual vehicle selection method provided in another exemplary embodiment of this application, such as... Figure 16 As shown, the method includes:
[0169] Step 1601: Display virtual objects and virtual vehicles in the virtual scene.
[0170] Virtual vehicles are used to provide mobility and carrying capabilities to virtual objects.
[0171] Step 1602, in response to the presence of at least two virtual vehicles within the riding range of the virtual object, displays a vehicle selection area and interactive controls.
[0172] Optionally, all vehicle identifiers are displayed in a planar distribution in the display area of the vehicle selection area. All vehicle identifiers refer to the vehicle identifiers corresponding to all virtual vehicles within the riding range of the virtual object. The arrangement of the vehicle identifiers corresponds to the arrangement of at least two virtual vehicles around the virtual object in the virtual scene.
[0173] In other words, players can preview the location of virtual vehicles in the virtual scene by observing the arrangement of vehicle icons in the vehicle selection area.
[0174] Step 1603: Receive the selection operation of the target vehicle identifier in the vehicle selection area.
[0175] As an illustration, players can select vehicle icons based on the arrangement of vehicle icons in the vehicle selection area to determine the target vehicle icon.
[0176] Optionally, the selection operation can be implemented by clicking on the target vehicle identifier.
[0177] This is illustrative; please refer to it. Figure 17 In the vehicle selection area 1701 of the virtual scene 1700, there are first vehicle identifiers 1703 corresponding to the first virtual vehicle 1702, second vehicle identifiers 1705 corresponding to the second virtual vehicle 1704, and third vehicle identifiers 1707 corresponding to the third virtual vehicle 1706. Clicking on the first vehicle identifier 1703 will make the first vehicle identifier 1703 the target vehicle identifier.
[0178] Step 1604: In response to receiving a trigger operation on the interactive control, based on the selection operation of the target vehicle identifier, display a screen showing the virtual object being carried by the target virtual vehicle.
[0179] Among them, the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among at least two virtual vehicles.
[0180] Indicatively, after receiving a click on the target vehicle identifier, a trigger operation on the interactive control is received, and then a screen showing the virtual object being carried by the target virtual vehicle is displayed. The implementation of the interactive control trigger operation has already been explained in step 603 and will not be repeated here.
[0181] In illustrative purposes, the interactive controls include at least one of driving controls and riding controls, but this application does not limit the scope of the embodiments.
[0182] To illustrate, after clicking on the first vehicle identifier 1703 to designate it as the target vehicle identifier, clicking on the driving control 1708 will display a screen in the virtual scene 1710 showing the driving of the first virtual vehicle 1711 (virtual vehicle 1711 and virtual vehicle 1702 belong to the same virtual vehicle, which is also the target virtual vehicle).
[0183] Optionally, if the interactive control is implemented as a riding control, and the target virtual vehicle has at least two seats, then the screen displaying the virtual object being carried by the target virtual vehicle also includes:
[0184] In response to receiving a long press operation of the interactive control, a seat selection area is displayed, wherein the seat selection area includes at least two seat icons corresponding to at least two available seats of the target virtual vehicle, wherein the at least two seat icons can be used to indicate the position of at least two available seats in the target virtual vehicle; a swipe operation following the long press operation is received; in response to the end of the swipe operation, the seat icon indicated by the swipe operation is determined as the target seat icon, and a screen is displayed showing the virtual object riding the target virtual vehicle in the available seat corresponding to the target seat icon.
[0185] In summary, the virtual vehicle selection method provided in this application displays a vehicle selection area when a virtual vehicle in a virtual scene needs to be selected. By selecting the vehicle identifier in the vehicle selection area, the target virtual vehicle is determined. Thus, players can clearly identify their target virtual vehicle before operating on it, improving human-computer interaction efficiency, enhancing user experience, and reducing the additional data processing pressure on the server caused by misoperation.
[0186] The virtual vehicle selection method provided in this application embodiment has a vehicle identification arrangement structure within the vehicle selection area that corresponds to the arrangement structure of virtual vehicles around virtual objects in the virtual scene. Players can intuitively understand the position of virtual vehicles in the virtual scene through the arrangement structure of vehicle identification, thereby selecting the required virtual vehicle, reducing the trial and error cost in virtual vehicle selection, and further improving the player's user experience.
[0187] Figure 18 This is a functional logic diagram of a virtual vehicle selection method provided in an exemplary embodiment of this application, such as... Figure 18 As shown, taking the implementation of the virtual vehicle as a virtual car as an example, the method includes:
[0188] Step 1801, Begin.
[0189] That is, the process of players selecting virtual vehicles begins in the virtual scene.
[0190] Step 1802: Virtual vehicles exist in the virtual scene.
[0191] To illustrate, the virtual scene also includes virtual objects that players can control to move within the virtual scene. As the virtual objects move, the virtual scene displayed on the player's device will continuously change.
[0192] Virtual vehicles exist in the virtual scene; that is, virtual vehicles are displayed in the virtual scene screen shown on the player's current terminal.
[0193] Step 1803: Determine whether the virtual vehicle is within 2m of the virtual object.
[0194] Optionally, the virtual scenario described above may contain one virtual vehicle or two or more virtual vehicles.
[0195] Determine whether the virtual vehicle is within 2m of the virtual object; that is, determine whether all virtual vehicles existing in the above virtual scene are within 2m of the virtual object.
[0196] Step 1804: If the virtual vehicle is not within 2m of the virtual object, the drive / ride button will not be displayed.
[0197] Indicatively, the aforementioned 2m range can refer to the range of a circle with a radius of 2m centered on the virtual object; or it can refer to the range of a sector with a radius of 2m centered on the virtual object and a central angle equal to the virtual object's field of view.
[0198] Optionally, the map in the virtual scene has a scale. The 2m mentioned above refers to the size of the actual size reduced / enlarged according to the scale, not the actual size of the image.
[0199] Step 1805: If the virtual vehicle is within 2m of the virtual object, display the drive / ride button.
[0200] Indicatively, only the driving button may be displayed. Optionally, only the driving button may be displayed if the virtual vehicle cannot be ridden, where situations include: the virtual vehicle only has driving functionality or all available seats in the virtual vehicle are occupied. Alternatively, only the riding button may be displayed, where the virtual vehicle cannot be driven, where situations include: all available driving seats in the virtual vehicle are occupied. Both driving and riding buttons may also be displayed simultaneously.
[0201] Step 1806: Determine whether the received operation was a click or a long press.
[0202] That is, it determines whether the trigger operation received on the drive / ride button is a click operation or a long press operation.
[0203] Optionally, the triggering operation corresponds to a triggering duration. The determination of whether the operation received on the drive / ride button is a click or a long press is made by judging whether the triggering duration reaches a preset duration. For example, if the triggering duration is within 1 second (including 1 second), it is judged as a click operation; if the triggering duration exceeds 1 second, it is judged as a long press operation.
[0204] Step 1807: If a click is received, proceed directly to board the vehicle.
[0205] For illustrative purposes, if the trigger operation received on the drive / ride button is a click operation, optionally, the virtual vehicle that the virtual object's perspective is facing at the end of the click operation is taken as the target virtual vehicle, and the screen of the virtual object riding / driving the target virtual vehicle is displayed.
[0206] Step 1808: If a long press operation is received, determine whether the number of virtual vehicles is greater than or equal to 2.
[0207] That is, if the trigger operation received on the drive / ride button is a long press operation, then it is determined whether the number of virtual vehicles within a 2m range of the virtual object is greater than or equal to 2.
[0208] Step 1809: If the number of virtual vehicles is less than 2, release your hand and get on the vehicle.
[0209] That is, if the number of virtual vehicles within a 2m radius of the virtual object is less than 2, then the virtual vehicle will be selected as the target virtual vehicle, and at the end of the long press operation, the screen showing the virtual object riding / driving the target virtual vehicle will be displayed.
[0210] Step 1810: If the number of virtual vehicles is greater than or equal to 2, trigger the vehicle selection box.
[0211] For illustration purposes, if the number of virtual vehicles within a 2m radius of the virtual object is greater than or equal to 2, a vehicle selection box will be displayed in the virtual scene, with a vehicle identifier corresponding to each virtual vehicle.
[0212] Optionally, the vehicle identification display is consistent with the appearance and color of the virtual vehicle corresponding to the vehicle identification. Optionally, the vehicle identification also includes information such as the remaining fuel level and vehicle wear status of the virtual vehicle corresponding to the vehicle identification.
[0213] Step 1811: Swipe left or right to select a virtual vehicle.
[0214] Optionally, the vehicle selection box also includes a selection pointer, which is illustrative and always points to a specific vehicle identifier.
[0215] Optionally, while holding down the button, the vehicle identifier indicated by the selection pointer can be changed by swiping left or right, thereby selecting the vehicle identifier in the vehicle selection box, determining the target vehicle identifier, and using the virtual vehicle corresponding to the target vehicle identifier as the target virtual vehicle.
[0216] Optionally, the selection pointer is fixed at a certain position in the vehicle selection box, and the left and right sliding operation changes the vehicle identifier in the vehicle selection box.
[0217] Optionally, while performing the above left and right swipe operations, the player's viewpoint also rotates left and right accordingly.
[0218] Step 1812, release your hands and get in the car.
[0219] That is, at the end of the long press operation, the screen of the target virtual vehicle in step 1811 of the virtual object riding / driving is displayed.
[0220] Step 1813, End.
[0221] In other words, the process of players selecting virtual vehicles in the virtual scene has ended.
[0222] Please refer to Figure 19 The diagram illustrates a structural block diagram of a virtual vehicle selection device provided in an exemplary embodiment of this application, the device comprising:
[0223] Display module 1910 is used to display virtual objects and virtual vehicles in a virtual scene, wherein the virtual vehicles are used to provide mobility and carrying capabilities to the virtual objects;
[0224] The display module 1910 is further configured to display a vehicle selection area in response to the presence of at least two virtual vehicles within the riding range of the virtual object. The vehicle selection area includes vehicle identifiers corresponding to the at least two virtual vehicles respectively, wherein the display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles.
[0225] The display module 1910 is further configured to, in response to receiving a selection operation for a target vehicle identifier, display a screen showing the virtual object being carried by a target virtual vehicle, wherein the target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among the at least two virtual vehicles.
[0226] Please refer to Figure 20 In some optional embodiments, the display module 1910 includes:
[0227] Display unit 1911 is configured to display interactive controls in response to the presence of at least two virtual vehicles within the riding range of the virtual object, the interactive controls including at least one of driving controls and riding controls; display unit 1911 is also configured to display the vehicle selection area in response to receiving a trigger operation on the interactive controls.
[0228] In some optional embodiments, the vehicle selection area includes a pointer display element; the display unit 1911 is configured to display the vehicle selection area and the pointer display element in response to receiving a long-press operation on the interactive control; the display module 1910 further includes:
[0229] The receiving unit 1912 is used to receive the sliding operation that follows the long press operation;
[0230] The determining unit 1913 is configured to, in response to the end of the sliding operation, determine the vehicle identifier indicated by the pointer display element at the end of the sliding operation as the target vehicle identifier, and display a screen showing the virtual object being carried by the target virtual vehicle.
[0231] In some optional embodiments, the receiving unit 1912 is further configured to receive a sliding operation following the long press operation, and synchronously move the pointer display element based on the sliding direction of the sliding operation; or, it is configured to receive a sliding operation following the long press operation, and synchronously move the vehicle identifier based on the sliding direction of the sliding operation.
[0232] In some optional embodiments, the display module 1910 includes:
[0233] The adjustment unit 1914 is used to synchronously adjust the viewing direction of the virtual object based on the sliding direction of the sliding operation, wherein the viewing direction of the virtual object corresponds to the direction indicated by the pointer display element in the vehicle selection area.
[0234] In some optional embodiments, 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 riding range of the virtual object; the display unit 1911 is also used to highlight the display sub-area corresponding to the vehicle identifier indicated by the pointer display element.
[0235] In some optional embodiments, the display unit 1911 is further configured to display the vehicle selection area and interactive controls in response to the presence of at least two virtual vehicles within the riding range of the virtual object; the receiving unit 1912 is further configured to receive a selection operation of a target vehicle identifier in the vehicle selection area; the display unit 1911 is further configured to display a screen showing the virtual object being carried by the target virtual vehicle based on the selection operation of the target vehicle identifier in response to receiving a trigger operation of the interactive controls.
[0236] In some optional embodiments, the display module 1910 is further configured to display corresponding status indicator elements on the vehicle identifier based on the vehicle status of the at least two virtual vehicles; the vehicle status includes at least one of fuel level, tire wear status, vehicle body wear status, and protection strength.
[0237] In some optional embodiments, the vehicle status includes fuel level status; the display unit 1911 is further configured to display a fuel level indicator on the vehicle identifier based on the fuel level status of the at least two virtual vehicles; or, to display an indicator area on the vehicle identifier with a distinguishable appearance from the vehicle identifier based on the remaining fuel percentage of the at least two virtual vehicles.
[0238] In some optional embodiments, the display module 1910 is used to display the vehicle identifiers in the vehicle selection area in the form of a list, wherein the arrangement order of the vehicle identifiers corresponds to the arrangement order of the at least two virtual vehicles around the virtual object in the virtual scene; or, the display module 1910 is used to display the vehicle identifiers in the vehicle selection area in the form of a planar distribution, wherein the arrangement structure of the vehicle identifiers corresponds to the arrangement structure of the at least two virtual vehicles around the virtual object in the virtual scene.
[0239] In summary, the virtual vehicle selection device provided in this application displays a vehicle selection area when a virtual vehicle in a virtual scene needs to be selected. By selecting the vehicle identifier in the vehicle selection area, the target virtual vehicle is determined. Thus, players can clearly identify their target virtual vehicle before operating on it, improving human-computer interaction efficiency, enhancing user experience, and reducing the additional data processing pressure on the server caused by misoperation.
[0240] It should be noted that the virtual vehicle selection device provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the virtual vehicle selection device and the virtual vehicle selection method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0241] Figure 21 This illustration shows a structural block diagram of a computer device 2100 provided in an exemplary embodiment of this application. The computer device 2100 may be a smartphone, tablet computer, Moving Picture Experts Group Audio Layer III (MP3) player, Moving Picture Experts Group Audio Layer IV (MP4) player, laptop computer, or desktop computer. The computer device 2100 may also be referred to as a user device, portable computer device, laptop computer device, desktop computer device, or other names.
[0242] Typically, computer device 2100 includes a processor 2101 and a memory 2102.
[0243] Processor 2101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2101 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 2101 may also include a main processor and a coprocessor. The main processor, also known as a central processing unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2101 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 2101 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.
[0244] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 are used to store at least one instruction, which is executed by the processor 2101 to implement the virtual vehicle selection method provided in the method embodiments of this application.
[0245] As is illustrative, computer device 2100 also includes other components, as those skilled in the art will understand. Figure 21 The structure shown does not constitute a limitation on computer device 2100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0246] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, which may be a computer-readable storage medium included in the memory described in the above embodiments; or it may be a standalone computer-readable storage medium not assembled into a computer device. The computer-readable storage medium stores at least one instruction, at least one program segment, a code set, or an instruction set, which is loaded and executed by the processor to implement any of the virtual vehicle selection methods described in the above embodiments.
[0247] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM). The sequence numbers of the embodiments in this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0248] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0249] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for selecting a virtual vehicle, characterized in that, The method includes: Displays virtual objects and virtual vehicles in a virtual scene, wherein the virtual vehicles are used to provide mobility and carrying capabilities to the virtual objects; In response to the presence of at least two virtual vehicles within the riding range of the virtual object, interactive controls are displayed; In response to receiving a long press operation on the interactive control, a vehicle selection area and a pointer display element are displayed. The vehicle selection area includes vehicle identifiers corresponding to the at least two virtual vehicles respectively. The display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles, and the arrangement order of the vehicle identifiers corresponds to the arrangement order of the at least two virtual vehicles around the virtual object in the virtual scene. The system receives a swipe operation following the long press operation, and moves the vehicle identifier synchronously based on the swipe direction, thereby changing the vehicle identifier indicated by the pointer display element; and adjusts the view direction of the virtual object synchronously based on the swipe direction, wherein the view direction of the virtual object corresponds to the direction indicated by the pointer display element in the vehicle selection area. In response to the end of the sliding operation, the vehicle identifier indicated by the pointer display element at the end of the sliding operation is determined as the target vehicle identifier, and a screen is displayed showing the virtual object being carried by the target virtual vehicle. The target virtual vehicle is the virtual vehicle that corresponds to the target vehicle identifier among the at least two virtual vehicles.
2. The method according to claim 1, characterized in that, 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 riding range of the virtual object; Following the receiving of the swipe operation connected to the long press operation, the method further includes: Highlight the display sub-area corresponding to the vehicle identifier indicated by the pointer display element.
3. The method according to claim 1, characterized in that, The method further includes: Based on the vehicle status of the at least two virtual vehicles, the corresponding status indicator elements are displayed on the vehicle identifiers respectively; The vehicle condition includes at least one of the following: fuel level, tire wear, vehicle body wear, and protection strength.
4. The method according to claim 3, characterized in that, The vehicle status includes fuel level; The step of displaying corresponding status indicator elements on the vehicle identifier based on the vehicle status of the at least two virtual vehicles includes: Based on the fuel status of the at least two virtual vehicles, display a fuel level indicator on the vehicle identifier; or, Based on the remaining fuel percentage of the at least two virtual vehicles, an indicator area corresponding to the remaining fuel percentage is displayed on the vehicle identifier with a display feature different from that of the vehicle identifier.
5. The method according to claim 1, characterized in that, The vehicle selection area displays the vehicle identifiers in a list format, and the order of the vehicle identifiers corresponds to the order in which the at least two virtual vehicles are arranged around the virtual object in the virtual scene; or, The vehicle selection area displays the vehicle identifiers in a planar distribution, and the arrangement of the vehicle identifiers corresponds to the arrangement of the at least two virtual vehicles around the virtual object in the virtual scene.
6. A virtual vehicle selection device, characterized in that, The device includes: The display module is used to display virtual objects and virtual vehicles in the virtual scene, wherein the virtual vehicles are used to provide mobility and carrying capabilities to the virtual objects; The display module is further configured to display interactive controls in response to the presence of at least two virtual vehicles within the riding range of the virtual object; and to display a vehicle selection area and a pointer display element in response to receiving a long-press operation on the interactive controls. The vehicle selection area includes vehicle identifiers corresponding to the at least two virtual vehicles, wherein the display of the vehicle identifiers corresponds to the appearance of the at least two virtual vehicles, and the arrangement order of the vehicle identifiers corresponds to the arrangement order of the at least two virtual vehicles around the virtual object in the virtual scene. The display module is further configured to receive a sliding operation following the long press operation, and based on the sliding direction of the sliding operation, synchronously move the vehicle identifier to change the vehicle identifier indicated by the pointer display element; and based on the sliding direction of the sliding operation, synchronously adjust the viewing direction of the virtual object, wherein the viewing direction of the virtual object corresponds to the direction indicated by the pointer display element in the vehicle selection area; in response to the end of the sliding operation, determine the vehicle identifier indicated by the pointer display element at the end of the sliding operation as the target vehicle identifier, and display a screen showing the virtual object being carried by the target virtual vehicle, wherein the target virtual vehicle is the virtual vehicle corresponding to the target vehicle identifier among the at least two virtual vehicles.
7. The apparatus according to claim 6, characterized in that, 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 riding range of the virtual object; The display module includes: The display unit is used to highlight the display sub-area corresponding to the vehicle identifier indicated by the pointer display element.
8. The apparatus according to claim 6, characterized in that, The display module is also used to display corresponding status indicator elements on the vehicle identifier based on the vehicle status of the at least two virtual vehicles; the vehicle status includes at least one of fuel level, tire wear status, vehicle body wear status, and protection strength.
9. The apparatus according to claim 8, characterized in that, The vehicle status includes fuel level; The display module includes: The display unit is configured to display a fuel level indicator on the vehicle identifier based on the fuel level status of the at least two virtual vehicles; or, to display an indicator area on the vehicle identifier with a display feature different from that of the vehicle identifier, based on the remaining fuel level of the at least two virtual vehicles.
10. The apparatus according to claim 6, characterized in that, The vehicle selection area displays the vehicle identifiers in a list format, and the order of the vehicle identifiers corresponds to the order in which the at least two virtual vehicles are arranged around the virtual object in the virtual scene; Alternatively, the vehicle identifiers may be displayed in a planar distribution within the vehicle selection area, the arrangement of which corresponds to the arrangement of the at least two virtual vehicles around the virtual object in the virtual scene.
11. The apparatus according to claim 6, characterized in that, The interactive controls include at least one of driving controls and riding controls.
12. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the virtual vehicle selection method as described in any one of claims 1 to 5.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to implement the virtual vehicle selection method as described in any one of claims 1 to 5.
14. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the virtual vehicle selection method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Game role and equipment control method and device, touch device and storage medium
CN107694085A
Game object interaction method and device
CN113827969A
Virtual-carrier selection method and apparatus, and device, storage medium and program product
WO2023202239A1