Riding interaction method and device of virtual carrier and electronic equipment
By displaying seat icons on virtual vehicles and allowing players to select their desired seats, the cumbersome boarding process is resolved, improving the gaming experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI NETEASE CUICAN NETWORK TECHNOLOGY CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-04-17
AI Technical Summary
The current process of riding virtual vehicles in games is cumbersome, requiring players to change seats multiple times to reach the desired location, which affects the gaming experience.
After the virtual character approaches the virtual vehicle, a seat icon is displayed, allowing the player to select a target seat by switching seats and then take a seat in response to the boarding command.
The process of boarding has been simplified, meeting the personalized needs of players and improving the gaming experience.
Smart Images

Figure CN121868852A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of game technology, and in particular to a method, apparatus and electronic device for interactive riding in a virtual vehicle. Background Technology
[0002] Currently in the game, if a player wants to ride a virtual vehicle, they need to approach the vehicle and press the "ride" button. After pressing the "ride" button, the system randomly or in a fixed order assigns an empty seat to the virtual character. If the player finds their seat unsatisfactory, they can use the "change seat" button to be randomly or in a fixed order assigned another empty seat. In vehicles with many seats, this may require multiple seat-changing operations to reach the desired location, making the ride and seat-changing process cumbersome and negatively impacting the player's gaming experience. Summary of the Invention
[0003] In view of this, the purpose of this disclosure is to provide a method, device and electronic device for interactive riding in a virtual vehicle. After a virtual character approaches a virtual vehicle, the seat identifier of the virtual vehicle will be displayed. Players can switch between seats by using the seat identifier and select the seat they want to ride in. Players can complete the seat selection before riding to meet their personalized needs, simplify the ride process for a specific seat and improve the player's gaming experience.
[0004] In a first aspect, embodiments of this disclosure provide a method for interactive riding in a virtual vehicle. A graphical user interface (GUI) is provided through a first terminal device. The GUI displays at least a portion of a virtual scene, which includes a virtual vehicle and a first virtual character controlled by the first terminal device. The virtual vehicle is configured with multiple seats. The method includes: responding to a first positional relationship between the first virtual character and the virtual vehicle, controlling the display of seat identifiers corresponding to the multiple seats in the GUI; displaying a first seat identifier in a selected state among the seat identifiers; responding to a seat identifier switching operation, controlling the switching of the selected seat identifier from the first seat identifier to a second seat identifier; and responding to a riding command for the virtual vehicle, determining whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat.
[0005] Secondly, embodiments of this disclosure provide a virtual vehicle riding interaction device, which provides a graphical user interface through a first terminal device. The graphical user interface is used to display at least a portion of a virtual scene, the virtual scene including a virtual vehicle and a first virtual character controlled by the first terminal device. The virtual vehicle is configured with multiple seats. The device includes: a first display module, used to control the display of seat identifiers corresponding to the multiple seats in the graphical user interface in response to a first positional relationship between the first virtual character and the virtual vehicle; a second display module, used to display a first seat identifier in a selected state in the seat identifiers; an identifier switching module, used to control the switching of the selected seat identifier from the first seat identifier to the second seat identifier in response to a seat identifier switching operation; and a seating determination module, used to determine whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat corresponding to the second seat identifier in response to a riding command for the virtual vehicle.
[0006] Thirdly, embodiments of this disclosure provide an electronic device, including a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the virtual vehicle riding interaction method of any of the first aspects.
[0007] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to implement the virtual vehicle riding interaction method of any of the first aspects.
[0008] The embodiments disclosed herein bring the following beneficial effects: This disclosure provides a method, apparatus, and electronic device for interactive riding in a virtual vehicle. In response to a first virtual character and a virtual vehicle satisfying a first positional relationship, the system controls the display of seat identifiers corresponding to multiple seats in a graphical user interface. A first seat identifier in a selected state is displayed among the seat identifiers. In response to a seat identifier switching operation, the system controls the switching of the selected seat identifier from the first seat identifier to a second seat identifier. In response to a riding command for the virtual vehicle, the system determines whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat. In this method, after the virtual character approaches the virtual vehicle, the seat identifiers of the virtual vehicle are displayed. Players can select their desired seat through the seat identifier switching operation. Players can complete seat selection before riding, satisfying their personalized needs, simplifying the riding process for designated seats, and improving the player's gaming experience.
[0009] Other features and advantages of this disclosure will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the disclosure. The objects and other advantages of this disclosure are realized and obtained through the structures particularly pointed out in the description, claims and drawings.
[0010] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0012] Figure 1 A flowchart illustrating a virtual vehicle riding interaction method provided in this embodiment of the disclosure; Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of this disclosure; Figure 3 A schematic diagram of another graphical user interface provided in an embodiment of this disclosure; Figure 4 A schematic diagram of another graphical user interface provided in an embodiment of this disclosure; Figure 5 A schematic diagram of another graphical user interface provided in an embodiment of this disclosure; Figure 6 A schematic diagram of another graphical user interface provided in an embodiment of this disclosure; Figure 7 A schematic diagram of another graphical user interface provided in an embodiment of this disclosure; Figure 8 A schematic diagram illustrating a preset range provided in the embodiments of this disclosure; Figure 9 A flowchart illustrating a virtual vehicle riding interaction method provided in an embodiment of this disclosure; Figure 10 A flowchart illustrating another virtual vehicle riding interaction method provided in an embodiment of this disclosure; Figure 11 This is a schematic diagram of the structure of a virtual vehicle riding interaction device provided in an embodiment of the present disclosure; Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0014] In current games, if a player wants to ride a virtual vehicle, they need to approach the vehicle and press the "ride" button. If the player wants to control a virtual character to ride, the system randomly or in a fixed order assigns an empty seat after pressing the "ride" button. If the player finds the seat is not their desired location, they can use the "change seat" button to randomly or in a fixed order assign another empty seat. In vehicles with many seats, this may require multiple seat-changing operations to reach the desired location, making the riding and seat-changing process cumbersome and negatively impacting the player's gaming experience. Therefore, this disclosure provides a virtual vehicle riding interaction method, device, and electronic device, which can be applied to devices such as mobile phones, laptops, computers, and tablets.
[0015] In one embodiment of this disclosure, the virtual vehicle riding interaction method can run on a local terminal device or a server. When the virtual vehicle riding interaction method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0016] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separate. The storage and operation of the virtual vehicle riding interaction method are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0017] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0018] In one possible implementation, embodiments of the present invention provide a method for interactive riding in a virtual vehicle, providing a graphical user interface through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. The graphical user interface is used to display at least a portion of a virtual scene, which includes a virtual vehicle and a first virtual character controlled by a first terminal device. The virtual vehicle is configured with multiple seats, such as... Figure 1 The method shown includes the following steps: Step S102: In response to the first virtual character and the virtual vehicle satisfying the first positional relationship, control the display of seat identifiers corresponding to multiple seats in the graphical user interface; The aforementioned virtual vehicles can be ground virtual vehicles, air virtual vehicles, water / underwater virtual vehicles, and biological mounts; among them, ground virtual vehicles can be virtual bicycles, virtual motorcycles, virtual carriages, virtual trains, etc.; the aforementioned air virtual vehicles can be virtual airplanes, virtual spaceships, virtual hot air balloons, virtual helicopters, etc.; the aforementioned water / underwater virtual vehicles can be virtual speedboats, virtual submarines, virtual ships, virtual sailboats, etc.; the aforementioned biological mounts can be virtual behemoths, virtual dragons, virtual turtles, etc.
[0019] The aforementioned first positional relationship can be that the first virtual character enters a first preset range centered on the virtual vehicle. This first preset range usually refers to the range of three-dimensional space. For example, the first preset range can be a sphere, specifically a sphere with the center of the virtual vehicle as the center point and a first preset distance as the radius. Or, the first preset range can be a rectangle, specifically a cube with the center of the virtual vehicle as the center point and a first preset distance as the side length, etc.
[0020] The aforementioned seat labels typically indicate at least one of the following: the seating layout of multiple seats, the seat status of each seat, the direction of movement of the virtual vehicle, and the vehicle's front (e.g., the front of a car). The seat status includes occupied, vacant, and selected states. The aforementioned seat labels also include labels indicating the direction of movement of the virtual vehicle, which can be the vehicle's front or an arrow, etc.
[0021] For example, such as Figure 2 The graphical user interface shown displays seat icons for multiple seats after the first virtual character enters the first preset range.
[0022] Step S104: Display the first seat identifier that is selected in the seat identifier; Optionally, a first seat identifier is determined in the seat identifier, and the display format of the first seat identifier is updated according to the seat status of the first seat corresponding to the first seat identifier, so that the updated first seat identifier at least indicates that the first seat identifier is currently selected. Specifically, the display format of the first seat identifier can be controlled to be updated to a third display format or a fourth display format, wherein the third display format is used to indicate that the first seat corresponding to the first seat identifier is in an idle state and a selected state, and the fourth display format is used to indicate that the first seat corresponding to the first seat identifier is in an occupied state and a selected state.
[0023] Typically, when the first virtual character enters the first preset range of the virtual vehicle, a seat will be automatically selected from multiple seats by default. That is, a seat identifier will be automatically determined from the seat identifiers by default, and the display format of that seat identifier will be updated.
[0024] For example, such as Figure 2 The graphical user interface shown has the first seat icon selected.
[0025] Step S106: In response to the seat label switching operation, control the selection of the seat label from the first seat label to the second seat label. Optionally, if the first seat identifier is not the seat the player wants to sit in, they can switch seats using the seat identifier switching operation. Specifically, in response to the seat identifier switching operation, the system controls whether to update the first seat identifier from the third display format to the first display format, or from the fourth display format to the second display format; simultaneously, the system controls whether to update the second seat identifier from the first display format to the third display format, or from the second display format to the fourth display format.
[0026] Optionally, the above-mentioned seat indicator switching operation includes at least one of the following: view adjustment operation, mouse movement operation, mouse click operation, button trigger operation, joystick trigger operation, etc.
[0027] Step S108: In response to the ride command for the virtual vehicle, determine whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat corresponding to the second seat identifier.
[0028] Optionally, in response to a trigger operation on the ride button, a ride command for the virtual vehicle can be generated, such as pressing the "T" key on the keyboard; or, in response to a trigger operation on the ride control, a ride command for the virtual vehicle can be generated, such as tapping the ride control displayed in the graphical user interface.
[0029] Optionally, if the second seat corresponding to the second seat identifier is vacant, the first virtual character is controlled to sit in the second seat corresponding to the second seat identifier; if the second seat corresponding to the second seat identifier is occupied, a request to give up the seat is sent to the second terminal device corresponding to the second virtual character occupying the second seat. If a consent to give up the seat is received from the second terminal device, the first virtual character is controlled to sit in the second seat corresponding to the second seat identifier, and the second virtual character is controlled to leave the second seat.
[0030] This disclosure provides a method for interactive riding in a virtual vehicle. In response to a first virtual character and a virtual vehicle satisfying a first positional relationship, the method controls the display of seat identifiers corresponding to multiple seats in a graphical user interface. A first seat identifier in a selected state is displayed among the seat identifiers. In response to a seat identifier switching operation, the selected seat identifier is switched from the first seat identifier to a second seat identifier. In response to a riding command for the virtual vehicle, the method determines whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat. In this method, after the virtual character approaches the virtual vehicle, the seat identifiers of the virtual vehicle are displayed. Players can select their desired seat through the seat identifier switching operation. Players can complete seat selection before riding, satisfying their personalized needs, simplifying the riding process for specific seats, and improving the player's gaming experience.
[0031] One possible implementation of the above-described step of controlling the display of seat identifiers corresponding to multiple seats in a graphical user interface is as follows: determining the seat status corresponding to multiple seats, including: vacant status and occupied status; controlling the display of seat identifiers corresponding to multiple seats in the graphical user interface, wherein the seat identifiers corresponding to seats in the vacant status are displayed in a first display format, and the seat identifiers corresponding to seats in the occupied status are displayed in a second display format.
[0032] Optionally, the seat status of multiple seats can be determined, and for each seat, the display format of the seat identifier corresponding to that seat can be determined according to the seat status of that seat, and the seat identifier corresponding to that seat can be displayed in the graphical user interface in that display format.
[0033] Specifically, the seat status of multiple seats is determined. For each seat, if the seat status is vacant, the control displays the seat status in a first display format in the graphical user interface. If the seat status is occupied, the control displays the seat status in a second display format in the graphical user interface.
[0034] For example, such as Figure 2 As shown, seats that are vacant are marked with a white square, seats that are occupied are marked with a human figure, and seats that are selected are marked with a gray square.
[0035] Before the step of displaying the first seat identifier that is selected in the seat identifier, the above method further includes: determining the first seat identifier from the seat identifier.
[0036] Optionally, the first seat identifier is randomly determined from the seat identifier.
[0037] Optionally, the first seat identifier is determined from the seat identifiers according to the preset seat order.
[0038] Optionally, the first seat identifier is determined from the seat identifier based on the seat code.
[0039] In one possible approach described above, when there is a seat identifier corresponding to an vacant seat among the seat identifiers, a first seat identifier is determined from the seat identifiers corresponding to the vacant seats based on a preset selection order, wherein the preset selection order is determined based on the movement mode of the virtual vehicle.
[0040] In other words, if there are vacant seats among the available seats, the first seat is determined from among these vacant seats. Specifically, this is done according to a preset selection order. Alternatively, a seat can be randomly selected from the vacant seats and designated as the first seat.
[0041] Optionally, the preset selection order is determined based on the movement direction of the virtual vehicle. Specifically, the movement direction of the virtual vehicle is determined, the vehicle component corresponding to the movement direction is identified from the virtual vehicle, and the designated seat closest to the vehicle component (the designated seat is in an vacant state) is identified from the virtual vehicle. Starting from one side of the designated seat, the vacant seats among the multiple seats are sorted to obtain the preset selection order. For example, if the virtual vehicle is moving in the direction of the front of the vehicle, the seat closest to the front of the vehicle is identified as the designated seat, and the vacant seats among the multiple seats are sorted starting from the left side of the designated seat.
[0042] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the above method further includes: displaying a first operation mode and a first prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the first prompt message is used to prompt that the first virtual character will sit in the first seat after the riding command is triggered.
[0043] In other words, if the first seat corresponding to the first seat identifier is vacant, triggering the boarding command will directly control the first virtual character to sit in the first seat. Specifically, in response to the first operation mode being triggered, a boarding command for the virtual vehicle is generated, and in response to this boarding command, the first virtual character will be controlled to sit in the first seat.
[0044] Optionally, a reminder message for the first operation mode can be displayed in the graphical user interface. This reminder message may include a seat icon. The reminder message could be a game control that triggered the first operation mode, a game button that triggered the first operation mode, etc. For example, responding to a touch operation on a game control triggers a command to ride a virtual vehicle; this touch operation typically refers to a finger clicking on a game control. Similarly, responding to a trigger operation on a game button triggers a command to ride a virtual vehicle; this trigger operation typically refers to a mouse pressing a keyboard button. Optionally, a first prompt message may be displayed in the graphical user interface. This first prompt message may be text, graphic, or symbolic, etc. For example, such as... Figure 2As shown, the graphical user interface displays a prompt message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a first prompt message, a heart-shaped icon above the seat icon, indicating that the first virtual character will sit in the first seat after the seating command is triggered.
[0045] In another possible implementation, when there is no seat identifier corresponding to an empty seat in the seat identifiers, the step of determining the first seat identifier from the seat identifiers includes: determining the first seat identifier from the seat identifiers corresponding to an occupied seat based on a preset selection order.
[0046] In other words, if none of the seats are available and all seats are occupied, the first seat is determined from among the occupied seats. Specifically, this is done according to a preset selection order. Alternatively, a seat can be randomly selected from the occupied seats and designated as the first seat.
[0047] Optionally, the preset selection order is determined based on the movement direction of the virtual vehicle. Specifically, the movement direction of the virtual vehicle is determined, the vehicle component corresponding to the movement direction is identified from the virtual vehicle, the designated seat closest to the vehicle component is identified from the virtual vehicle, and multiple seats are sorted starting from one side of the designated seat to obtain the preset selection order. For example, if the virtual vehicle is moving in the direction of the front of the vehicle, the seat closest to the front of the vehicle is identified as the designated seat, and multiple seats are sorted starting from the left side of the designated seat.
[0048] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the above method further includes: displaying a first operation mode and a second prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the second prompt message is used to prompt that after triggering the ride command, a request to give up the seat will be initiated to the second terminal device corresponding to the second virtual character occupying the first seat.
[0049] In other words, if the first seat is occupied, after triggering the boarding command, the first virtual character cannot directly sit in the first seat. The player occupying the first seat must agree before the first virtual character can sit there. Specifically, in response to the triggering of the first operation method, a boarding command for the virtual vehicle is generated. In response to this command, a request to give up the seat is sent to the second terminal device corresponding to the second virtual character occupying the first seat. Upon receiving the consent request from the second terminal device, the second virtual character leaves the first seat, and the first virtual character sits in the first seat.
[0050] Optionally, a reminder message for the first operation mode can be displayed in the graphical user interface. This reminder message may include a seat icon. The reminder message could be a game control that triggered the first operation mode, a game button that triggered the first operation mode, etc. For example, responding to a touch operation on a game control triggers a command to ride a virtual vehicle; this touch operation typically refers to a finger clicking on a game control. Similarly, responding to a trigger operation on a game button triggers a command to ride a virtual vehicle; this trigger operation typically refers to a mouse pressing a keyboard button. Optionally, a second prompt message may be displayed in the graphical user interface. This second prompt message may be text, graphic, or symbolic, etc. For example, such as... Figure 3 As shown, the graphical user interface displays a prompt message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a second prompt message, which is two arrows located above the seat icon, indicating that after triggering the seating command, a request to offer the seat to the second terminal device corresponding to the second virtual character occupying the first seat should be initiated.
[0051] In response to the seat label switching operation, the step of controlling the selected seat label in the seat label to switch from the first seat label to the second seat label can be implemented as follows: In response to the first view adjustment operation, based on the view adjustment direction of the first view adjustment operation, the second seat label is determined from the seat labels, and the second seat label is configured to be selected, while the first seat label is configured to be unselected.
[0052] Optionally, the graphical user interface described above provides a crosshair indicator to indicate the aiming direction of the first virtual character; the first view adjustment operation is used to adjust the aiming direction from a first direction to a second direction.
[0053] The above-mentioned step of adjusting the perspective direction of the first perspective adjustment operation and controlling the determination of the second seat identifier from the seat identifiers can be implemented in one possible way: the second seat identifier is determined from the seat identifiers based on the relative direction between the second direction and the first direction; wherein the directional relationship and relative direction between the second seat identifier and the first seat identifier correspond to each other.
[0054] The aforementioned relative direction refers to the direction of the first direction relative to the second direction, or in other words, the direction from the first direction to the second direction. The directional relationship between the second seat marker and the first seat marker refers to the direction in which the first seat marker designates the second seat marker. For example, if the player moves the crosshair to the left, the seat marker located to the left of the first seat marker will be designated as the second seat marker.
[0055] For example, such as Figure 4 and Figure 5 As shown, when the crosshair is moved downwards, the second seat marker is configured to be selected (controlling the second seat marker to be displayed in gray), and the first seat marker is configured to be unselected (controlling the first seat marker to be displayed in white).
[0056] The aforementioned second seat identifier corresponds to the second seat. After configuring the second seat identifier to be selected, the method further includes: (1) Detect whether the second seat is occupied; (2) If not, the first operation mode and the third prompt information are displayed in the graphical user interface; wherein, the first operation mode is used to trigger the ride command for the virtual vehicle, and the third prompt information is used to prompt that the first virtual character will sit in the second seat after the ride command is triggered. The third prompt message is the same as the first prompt message, and will not be repeated here. For example, as shown... Figure 4 If the second seat is vacant, the graphical user interface displays a reminder message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a third prompt message, a heart-shaped icon above the seat icon, indicating that the first virtual character will sit in the second seat after the seating command is triggered.
[0057] (3) If so, the first operation mode and the fourth prompt information are displayed in the graphical user interface; wherein, the fourth prompt information is used to prompt that after the ride instruction is triggered, a request to give up the seat will be initiated to the third terminal device corresponding to the third virtual character occupying the second seat.
[0058] The fourth prompt message is the same as the second prompt message, and will not be repeated here. For example, as shown... Figure 5 As shown, if the second seat is occupied, the graphical user interface displays a reminder message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a fourth prompt message, consisting of two arrows on the seat icon, indicating that after triggering the seating command, a request to offer the second seat to the third terminal device corresponding to the third virtual character occupying the second seat should be initiated.
[0059] The above method also includes: controlling the display of selected seat signs in a third display format so that the selected seat signs are visually distinguishable.
[0060] The third display format mentioned above can be highlighted, grayed out, or it can display a specified pattern (such as a "√" pattern) on the seat label. For example, ... Figure 2 As shown, when the first seat identifier is selected, the first seat identifier is displayed in gray.
[0061] The above method also includes: in response to the first virtual character and the virtual vehicle satisfying a second positional relationship, controlling the display of seat labels corresponding to multiple seats in the graphical user interface to be cancelled.
[0062] The aforementioned second positional relationship can be that the first virtual character enters a second preset range centered on the virtual vehicle. This second preset range typically refers to a three-dimensional spatial range. For example, the second preset range can be a sphere, specifically a sphere with the center of the virtual vehicle as its center point and a second preset distance as its radius. Alternatively, the second preset range can be a rectangle, specifically a cube with the center of the virtual vehicle as its center point and a second preset distance as its side length, etc. The aforementioned first preset range encloses the second preset range.
[0063] In actual implementation, the player controls the first virtual character to first enter the first preset range corresponding to the virtual vehicle, and then continues to approach the virtual vehicle, at which point the first virtual character will enter the second preset range corresponding to the virtual vehicle. Optionally, in response to the first virtual character and the virtual vehicle satisfying the second positional relationship, the player controls the first virtual character to be inside the virtual vehicle, that is, controls the first virtual character to stand in a designated position on the virtual vehicle (this designated position is not a seat position). At the same time, the player controls the display of seat icons corresponding to multiple seats in the graphical user interface to be canceled, and the display of the first operation mode and the first / second / third / fourth prompt information will also be canceled.
[0064] When the first virtual character and the virtual vehicle satisfy the second positional relationship, the above method further includes: (1) In response to the second perspective adjustment operation, control and adjust the game perspective corresponding to the first virtual character; Optionally, the graphical user interface described above provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character; one possible implementation is: in response to a second view adjustment operation, the aiming direction of the crosshair indicator is controlled to be adjusted; in response to the crosshair indicator coinciding with the third seat, the game view is determined to point to the third seat.
[0065] Example amount, such as Figure 6 As shown, if the crosshair of the first virtual character coincides with the game model corresponding to the third seat, then the game view is directed to the third seat.
[0066] (2) When the game view is directed at the third seat among multiple seats, determine whether the third seat is occupied; (3) If not, the first operation mode and the fifth prompt message are displayed in the graphical user interface; wherein, the first operation mode is used to trigger the ride command for the virtual vehicle, and the fifth prompt message is used to prompt that the first virtual character will sit in the third seat after the ride command is triggered. The fifth prompt message mentioned above may be the same as or different from the first prompt message mentioned above. For example, such as... Figure 6 If the third seat is vacant, the graphical user interface displays a reminder message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a fifth prompt message, a heart-shaped icon on the seat icon, indicating that the first virtual character will sit in the third seat after the seating command is triggered.
[0067] (4) If so, the first operation mode and the sixth prompt information are displayed in the graphical user interface; wherein, the sixth prompt information is used to prompt that after the ride instruction is triggered, a request to give up the seat will be initiated to the fourth terminal device corresponding to the fourth virtual character occupying the third seat.
[0068] The sixth prompt message mentioned above may be the same as or different from the second prompt message mentioned above. For example, such as... Figure 7 As shown, if the third seat is occupied, the graphical user interface displays a reminder message for the first operation mode, including a seat icon and the letter "T," indicating that the player can trigger the first operation mode by pressing the "T" key. The graphical user interface also displays a sixth prompt message, consisting of two arrows on the seat icon, indicating that after triggering the seating command, a request to offer the third seat to the fourth terminal device corresponding to the fourth virtual character occupying the third seat should be initiated.
[0069] The first positional relationship is that the first virtual character enters a first preset range centered on the virtual vehicle; the second positional relationship is that the first virtual character enters a second preset range centered on the virtual vehicle; wherein the first preset range is larger than the second preset range. For example, as shown... Figure 8 The diagram shown is a top view of the preset ranges. In reality, the first and second preset ranges constitute a three-dimensional spatial range. The circular area is a top view of the first preset range, and the rectangular area is a top view of the second preset range.
[0070] The first and second preset ranges mentioned above are the same as the preset ranges mentioned above, and will not be repeated here.
[0071] After the first virtual character is seated in the target seat, the above method also includes: (1) Control the cancellation of displaying seat icons for multiple seats; The target seats mentioned above can be the first, second, third, or fourth seats.
[0072] (2) In response to the third-view adjustment operation, control and adjust the game view corresponding to the first virtual character; when the game view is pointed to the fourth seat among multiple seats, determine whether the fourth seat is occupied. The third-view adjustment operation described above is the same as the second-view adjustment operation described above. Optionally, the graphical user interface described above provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character; one possible implementation is: in response to the third-view adjustment operation, the aiming direction of the crosshair indicator is controlled to be adjusted; in response to the crosshair indicator coinciding with the fourth seat, the game view is determined to point to the third seat.
[0073] (3) If not, the second operation mode and the seventh prompt message are displayed in the graphical user interface; wherein, the second operation mode is used to trigger the seat change command for the virtual vehicle, and the seventh prompt message is used to prompt that the first virtual character will sit in the fourth seat after the seat change command is triggered. The second operation method described above may be the same as or different from the first operation method described above. In this embodiment, the second operation method is the same as the first operation method. The seventh prompt information described above may be the same as or different from the first prompt information described above. In this embodiment, the seventh prompt information is the same as the first prompt information described above.
[0074] (4) If so, the second operation mode and the eighth prompt message are displayed in the graphical user interface; wherein, the eighth prompt message is used to prompt that after the seat change instruction is triggered, a seat change request will be initiated to the fifth terminal device corresponding to the fifth virtual character occupying the fourth seat.
[0075] The second operation method described above may be the same as or different from the first operation method described above. In this embodiment, the second operation method is the same as the first operation method. The eighth prompt information described above may be the same as or different from the second prompt information described above. In this embodiment, the eighth prompt information is the same as the second prompt information described above.
[0076] If it is determined that the fourth seat is occupied, the method further includes: displaying the role information of the fifth virtual character occupying the fourth seat on the graphical user interface.
[0077] The aforementioned role information includes at least one of the following: role name, account name, account level, role level, etc. Specifically, if it is determined that the fourth seat is occupied, not only will the seat be marked as "occupied", but the identity information of the occupant will also be displayed in real time through the seat status prompt panel or the icon / text label floating above the seat.
[0078] The seat identifiers corresponding to the aforementioned occupied seats also indicate the virtual character occupying the seat. Specifically, in response to the selection of an occupied seat, the role information of the virtual character occupying that seat will be displayed, instantly showing the occupant's identity information through a seat status indicator panel or an icon / text label floating above the seat identifier.
[0079] See Figure 9 The flowchart of the virtual vehicle riding interaction method shown is as follows: After the first virtual character enters the first interaction range (i.e., the first preset range mentioned above), it is first determined whether all seats are occupied. If so, a default seat (i.e., the first seat mentioned above) is selected from the occupied seats in a clockwise or counterclockwise direction. Then, the seat map (i.e., the seat labels corresponding to the multiple seats mentioned above), the default seat (i.e., the first seat label), the boarding button (i.e., the first operation method mentioned above), and the seat change prompt (i.e., the second prompt information mentioned above) are displayed. When the boarding button is triggered, the control initiates a seat change request. If the seat change request is approved, the control makes the first virtual character sit in the first seat; otherwise, the character does not sit down.
[0080] If not, select a default seat (i.e., the first seat mentioned above) from the available seats in a clockwise or counterclockwise direction, and then display the seat map (i.e., the seat labels corresponding to the multiple seats mentioned above), the default seat (i.e., the first seat label), the boarding button (i.e., the first operation method mentioned above), and the seat change prompt (i.e., the first prompt information mentioned above); when the boarding button is triggered, control the first virtual character to sit in the first seat.
[0081] See Figure 10 The flowchart of the virtual vehicle riding interaction method is as follows: After the first virtual character enters the second interaction range (i.e., the aforementioned second preset range), it first determines whether the crosshair is aligned with the seat (i.e., the aforementioned third seat). If the crosshair is aligned with the seat, it determines whether the seat is occupied. If so, a boarding button (i.e., the aforementioned first operation method) and a seat-changing prompt (i.e., the aforementioned sixth prompt information) are displayed. The boarding button is triggered, and a seat-changing request is initiated. If the seat-changing request is approved, the first virtual character is controlled to sit in the third seat; otherwise, the character does not sit. If not, a boarding button (i.e., the aforementioned first operation method) and a seat-taking prompt (i.e., the aforementioned fifth prompt information) are displayed. The boarding button is triggered, and the first virtual character is controlled to sit in the third seat.
[0082] Corresponding to the above method embodiments, this disclosure provides a virtual vehicle riding interaction device, which provides a graphical user interface through a first terminal device. The graphical user interface is used to display at least a portion of the virtual scene, which includes a virtual vehicle and a first virtual character controlled by the first terminal device. The virtual vehicle is configured with multiple seats, such as... Figure 11 As shown, the device includes: The first display module 1101 is used to control the display of seat identifiers corresponding to multiple seats in the graphical user interface in response to the first virtual character and the virtual vehicle satisfying a first positional relationship. The second display module 1102 is used to display the first seat identifier that is selected in the seat identifier; The identification switching module 1103 is used to respond to the seat identification switching operation and control the selection of the seat identification from the first seat identification to the second seat identification. The seating determination module 1104 is used to respond to a ride command for a virtual vehicle and determine whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat corresponding to the second seat identifier.
[0083] This disclosure provides a virtual vehicle riding interaction device. In response to a first virtual character and a virtual vehicle satisfying a first positional relationship, it controls the display of seat identifiers corresponding to multiple seats in a graphical user interface; a first seat identifier in a selected state is displayed among the seat identifiers; in response to a seat identifier switching operation, it controls the switching of the selected seat identifier from the first seat identifier to a second seat identifier; in response to a riding command for the virtual vehicle, it determines whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat. In this method, after the virtual character approaches the virtual vehicle, the seat identifiers of the virtual vehicle are displayed. Players can select the desired seat through the seat identifier switching operation. Players can complete the seat selection before riding, satisfying their personalized needs, simplifying the riding process for designated seats, and improving the player's gaming experience.
[0084] The aforementioned seating determination module is used to: if the seat status of the second seat corresponding to the second seat identifier is vacant, control the first virtual character to sit in the second seat corresponding to the second seat identifier; if the seat status of the second seat corresponding to the second seat identifier is occupied, control the sending of a seat-giving request to the second terminal device corresponding to the second virtual character occupying the second seat.
[0085] The aforementioned first display module is further configured to: determine the seat status corresponding to multiple seats, the seat status including: vacant status and occupied status; control the display of seat identifiers corresponding to the multiple seats in the graphical user interface, wherein the seat identifiers corresponding to the vacant seats are displayed in a first display format, and the seat identifiers corresponding to the occupied seats are displayed in a second display format.
[0086] The aforementioned device further includes a first seat identifier determination module, used to: determine a first seat identifier from the seat identifiers.
[0087] When there is a seat identifier corresponding to an vacant seat in the seat identifier list, the first seat identifier determination module is further configured to: determine the first seat identifier from the seat identifiers corresponding to vacant seats based on a preset selection order, wherein the preset selection order is determined based on the movement mode of the virtual vehicle.
[0088] The aforementioned first seat identifier corresponds to the first seat. The aforementioned device also includes a first information display module, used to: display a first operation mode and a first prompt message on a graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the first prompt message is used to indicate that the first virtual character will sit in the first seat after the ride command is triggered.
[0089] When there is no seat identifier corresponding to an empty seat in the seat identifier list, the first seat identifier determination module is further configured to: determine the first seat identifier from the seat identifiers corresponding to seats that are occupied based on a preset selection order.
[0090] The aforementioned first seat identifier corresponds to the first seat. The aforementioned device also includes a second information display module, used to: display a first operation mode and a second prompt message on a graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the second prompt message is used to prompt that after triggering the ride command, a request to give up the seat will be initiated to the second terminal device corresponding to the second virtual character occupying the first seat.
[0091] The aforementioned identification switching module is also used to: respond to a first viewpoint adjustment operation, control the determination of a second seat identifier from the seat identifiers according to the viewpoint adjustment direction of the first viewpoint adjustment operation, and configure the second seat identifier to be in a selected state, while configuring the first seat identifier to be in an unselected state.
[0092] The aforementioned graphical user interface provides a crosshair indicator, which is used to indicate the aiming direction of the first virtual character; the first view adjustment operation is used to adjust the aiming direction from the first direction to the second direction; the aforementioned indicator switching module is also used to: control the determination of a second seat identifier from the seat identifiers according to the relative direction between the second direction and the first direction; wherein, the directional relationship and relative direction between the second seat identifier and the first seat identifier correspond to each other.
[0093] The aforementioned second seat identifier corresponds to the second seat. The aforementioned device also includes a status detection module, used to: detect whether the second seat is occupied; if not, display a first operation mode and a third prompt message on the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the third prompt message is used to indicate that after triggering the ride command, the first virtual character will sit in the second seat; if yes, display the first operation mode and a fourth prompt message on the graphical user interface; wherein, the fourth prompt message is used to indicate that after triggering the ride command, a request to give up the seat will be initiated to the third terminal device corresponding to the third virtual character occupying the second seat.
[0094] The aforementioned device further includes a third display module, used to: control the display of the selected seat signs in a third display format so that the selected seat signs are visually distinguishable.
[0095] The aforementioned device further includes: an identifier cancellation module, used to control the cancellation of the display of seat identifiers corresponding to multiple seats in the graphical user interface in response to the first virtual character and the virtual vehicle satisfying a second positional relationship.
[0096] When the first virtual character and the virtual vehicle satisfy the second positional relationship, the device further includes a second seating module, used to: control and adjust the game view corresponding to the first virtual character in response to the second view adjustment operation; determine whether the third seat is occupied when the game view is pointing to the third seat among multiple seats; if not, display a first operation mode and a fifth prompt message on the graphical user interface; wherein the first operation mode is used to trigger a seating command for the virtual vehicle, and the fifth prompt message is used to indicate that the first virtual character will sit in the third seat after the seating command is triggered; if yes, display the first operation mode and a sixth prompt message on the graphical user interface; wherein the sixth prompt message is used to indicate that a request to give up the seat will be initiated to the fourth terminal device corresponding to the fourth virtual character occupying the third seat after the seating command is triggered.
[0097] The aforementioned graphical user interface provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character, and the aforementioned second riding module is also used to: control and adjust the aiming direction of the crosshair indicator in response to the second view adjustment operation; and determine that the game view is pointing to the third seat in response to the crosshair indicator coinciding with the third seat.
[0098] The first positional relationship is that the first virtual character enters a first preset range centered on the virtual vehicle; the second positional relationship is that the first virtual character enters a second preset range centered on the virtual vehicle; wherein, the first preset range is larger than the second preset range.
[0099] After the first virtual character sits in the target seat, the device further includes: a seat-changing module for controlling the cancellation of the display of seat identifiers corresponding to multiple seats; in response to a third-view adjustment operation, controlling the adjustment of the game view corresponding to the first virtual character; when the game view is pointing to the fourth seat among the multiple seats, determining whether the fourth seat is occupied; if not, displaying a second operation mode and a seventh prompt message on the graphical user interface; wherein, the second operation mode is used to trigger a seat-changing command for the virtual vehicle, and the seventh prompt message is used to indicate that the first virtual character will sit in the fourth seat after the seat-changing command is triggered; if yes, displaying a second operation mode and an eighth prompt message on the graphical user interface; wherein, the eighth prompt message is used to indicate that a seat-changing request will be initiated to the fifth terminal device corresponding to the fifth virtual character occupying the fourth seat after the seat-changing command is triggered.
[0100] If it is determined that the fourth seat is occupied, the device further includes a role information display module for displaying the role information of the fifth virtual character occupying the fourth seat on a graphical user interface.
[0101] The seat identifiers corresponding to the seats that are occupied also indicate the virtual character occupying the seats.
[0102] The virtual vehicle riding interaction device provided in this embodiment has the same technical features as the virtual vehicle riding interaction method provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0103] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the aforementioned virtual vehicle riding interaction method. This electronic device can be a server or a terminal device.
[0104] See Figure 12 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-described virtual vehicle riding interaction method.
[0105] Furthermore, Figure 12 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.
[0106] The memory 101 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 102 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 12 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0107] The processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 100 or by instructions in software form. The processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this disclosure can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0108] The processor in the aforementioned electronic device, by executing machine-executable instructions, can implement the following operations in the aforementioned virtual vehicle riding interaction method: In response to a first positional relationship between the first virtual character and the virtual vehicle, the system controls the display of seat identifiers corresponding to multiple seats in the graphical user interface; the first seat identifier in a selected state is displayed among the seat identifiers; in response to a seat identifier switching operation, the system controls the switching of the selected seat identifier from the first seat identifier to the second seat identifier; in response to a boarding command for the virtual vehicle, the system determines whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat. In this method, after the virtual character approaches the virtual vehicle, the seat identifiers of the virtual vehicle are displayed. Players can select their desired seat through the seat identifier switching operation. Players can complete the seat selection before boarding, satisfying their personalized needs, simplifying the boarding process for designated seats, and improving the player's gaming experience.
[0109] The above-mentioned step of determining whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat identifier includes: if the seat status of the second seat corresponding to the second seat identifier is vacant, controlling the first virtual character to sit in the second seat corresponding to the second seat identifier; if the seat status of the second seat corresponding to the second seat identifier is occupied, controlling the sending of a seat-giving request to the second terminal device corresponding to the second virtual character occupying the second seat.
[0110] The above-mentioned step of controlling the display of seat labels corresponding to multiple seats in the graphical user interface includes: determining the seat status corresponding to multiple seats, the seat status including: vacant status and occupied status; controlling the display of seat labels corresponding to multiple seats in the graphical user interface, wherein the seat labels corresponding to vacant seats are displayed in a first display format, and the seat labels corresponding to occupied seats are displayed in a second display format.
[0111] Prior to the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: determining the first seat identifier from the seat identifier.
[0112] The step of determining the first seat identifier from the seat identifiers when there is a seat identifier corresponding to an vacant seat in the seat identifiers includes: determining the first seat identifier from the seat identifiers corresponding to an vacant seat based on a preset selection order, wherein the preset selection order is determined based on the movement mode of the virtual vehicle.
[0113] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: displaying a first operation mode and a first prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the first prompt message is used to indicate that the first virtual character will sit in the first seat after the riding command is triggered.
[0114] The step of determining the first seat identifier from the seat identifiers when there is no seat identifier corresponding to an empty seat in the seat identifiers includes: determining the first seat identifier from the seat identifiers corresponding to an occupied seat based on a preset selection order.
[0115] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: displaying a first operation mode and a second prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the second prompt message is used to prompt that after triggering the ride command, a request to give up the seat will be initiated to the second terminal device corresponding to the second virtual character occupying the first seat.
[0116] The above-mentioned step of controlling the selection of a seat identifier from the first seat identifier to the second seat identifier in response to the seat identifier switching operation includes: in response to the first view adjustment operation, adjusting the view direction according to the first view adjustment operation, controlling the determination of the second seat identifier from the seat identifiers, configuring the second seat identifier to be selected, and configuring the first seat identifier to be unselected.
[0117] The aforementioned graphical user interface provides a crosshair indicator, which is used to indicate the aiming direction of the first virtual character; a first view adjustment operation is used to adjust the aiming direction from a first direction to a second direction; the step of controlling the determination of a second seat identifier from the seat identifiers according to the view adjustment direction of the first view adjustment operation includes: controlling the determination of a second seat identifier from the seat identifiers according to the relative direction between the second direction and the first direction; wherein the directional relationship and relative direction between the second seat identifier and the first seat identifier correspond to each other.
[0118] The aforementioned second seat identifier corresponds to the second seat. After configuring the second seat identifier to be in a selected state, the method further includes: detecting whether the second seat is occupied; if not, displaying a first operation mode and a third prompt message on the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the third prompt message is used to indicate that after triggering the ride command, the first virtual character will sit in the second seat; if yes, displaying a first operation mode and a fourth prompt message on the graphical user interface; wherein, the fourth prompt message is used to indicate that after triggering the ride command, a request to give up the seat will be initiated to the third terminal device corresponding to the third virtual character occupying the second seat.
[0119] The above method also includes: controlling the display of selected seat signs in a third display format so that the selected seat signs are visually distinguishable.
[0120] The above method also includes: in response to the first virtual character and the virtual vehicle satisfying a second positional relationship, controlling the display of seat labels corresponding to multiple seats in the graphical user interface to be cancelled.
[0121] When the first virtual character and the virtual vehicle satisfy the second positional relationship, the method further includes: responding to the second perspective adjustment operation, controlling and adjusting the game perspective corresponding to the first virtual character; when the game perspective points to the third seat among multiple seats, determining whether the third seat is occupied; if not, displaying a first operation mode and a fifth prompt message on the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the fifth prompt message is used to indicate that the first virtual character will sit in the third seat after the ride command is triggered; if yes, displaying the first operation mode and a sixth prompt message on the graphical user interface; wherein, the sixth prompt message is used to indicate that after the ride command is triggered, a request to give up the seat will be initiated to the fourth terminal device corresponding to the fourth virtual character occupying the third seat.
[0122] The aforementioned graphical user interface provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character. In response to the second view adjustment operation, the steps of controlling the adjustment of the game view corresponding to the first virtual character include: in response to the second view adjustment operation, controlling the adjustment of the aiming direction of the crosshair indicator; in response to the crosshair indicator coinciding with the third seat, determining that the game view is pointing to the third seat.
[0123] The first positional relationship is that the first virtual character enters a first preset range centered on the virtual vehicle; the second positional relationship is that the first virtual character enters a second preset range centered on the virtual vehicle; wherein, the first preset range is larger than the second preset range.
[0124] After the first virtual character sits in the target seat, the method further includes: controlling the cancellation of the display of seat icons corresponding to multiple seats; responding to the third-view adjustment operation, controlling the adjustment of the game view corresponding to the first virtual character; when the game view is pointing to the fourth seat among the multiple seats, determining whether the fourth seat is occupied; if not, displaying a second operation mode and a seventh prompt message on the graphical user interface; wherein, the second operation mode is used to trigger a seat-changing command for the virtual vehicle, and the seventh prompt message is used to indicate that the first virtual character will sit in the fourth seat after the seat-changing command is triggered; if yes, displaying a second operation mode and an eighth prompt message on the graphical user interface; wherein, the eighth prompt message is used to indicate that a seat-changing request will be initiated to the fifth terminal device corresponding to the fifth virtual character occupying the fourth seat after the seat-changing command is triggered.
[0125] If it is determined that the fourth seat is occupied, the method further includes: displaying the role information of the fifth virtual character occupying the fourth seat on the graphical user interface.
[0126] The seat identifiers corresponding to the seats that are occupied also indicate the virtual character occupying the seats.
[0127] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are invoked and executed by a processor, the machine-executable instructions cause the processor to implement the above-mentioned virtual vehicle riding interaction method.
[0128] The machine-executable instructions stored in the aforementioned machine-readable storage medium can be executed to perform the following operations in the aforementioned virtual vehicle riding interaction method: In response to a first positional relationship between the first virtual character and the virtual vehicle, the system controls the display of seat identifiers corresponding to multiple seats in the graphical user interface; the first seat identifier in a selected state is displayed among the seat identifiers; in response to a seat identifier switching operation, the system controls the switching of the selected seat identifier from the first seat identifier to the second seat identifier; in response to a boarding command for the virtual vehicle, the system determines whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat. In this method, after the virtual character approaches the virtual vehicle, the seat identifiers of the virtual vehicle are displayed. Players can select their desired seat through the seat identifier switching operation. Players can complete the seat selection before boarding, satisfying their personalized needs, simplifying the boarding process for designated seats, and improving the player's gaming experience.
[0129] The above-mentioned step of determining whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat identifier includes: if the seat status of the second seat corresponding to the second seat identifier is vacant, controlling the first virtual character to sit in the second seat corresponding to the second seat identifier; if the seat status of the second seat corresponding to the second seat identifier is occupied, controlling the sending of a seat-giving request to the second terminal device corresponding to the second virtual character occupying the second seat.
[0130] The above-mentioned step of controlling the display of seat labels corresponding to multiple seats in the graphical user interface includes: determining the seat status corresponding to multiple seats, the seat status including: vacant status and occupied status; controlling the display of seat labels corresponding to multiple seats in the graphical user interface, wherein the seat labels corresponding to vacant seats are displayed in a first display format, and the seat labels corresponding to occupied seats are displayed in a second display format.
[0131] Prior to the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: determining the first seat identifier from the seat identifier.
[0132] The step of determining the first seat identifier from the seat identifiers when there is a seat identifier corresponding to an vacant seat in the seat identifiers includes: determining the first seat identifier from the seat identifiers corresponding to an vacant seat based on a preset selection order, wherein the preset selection order is determined based on the movement mode of the virtual vehicle.
[0133] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: displaying a first operation mode and a first prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the first prompt message is used to indicate that the first virtual character will sit in the first seat after the riding command is triggered.
[0134] The step of determining the first seat identifier from the seat identifiers when there is no seat identifier corresponding to an empty seat in the seat identifiers includes: determining the first seat identifier from the seat identifiers corresponding to an occupied seat based on a preset selection order.
[0135] The aforementioned first seat identifier corresponds to the first seat. After the step of displaying the first seat identifier in the selected state in the seat identifier, the method further includes: displaying a first operation mode and a second prompt message in the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the second prompt message is used to prompt that after triggering the ride command, a request to give up the seat will be initiated to the second terminal device corresponding to the second virtual character occupying the first seat.
[0136] The above-mentioned step of controlling the selection of a seat identifier from the first seat identifier to the second seat identifier in response to the seat identifier switching operation includes: in response to the first view adjustment operation, adjusting the view direction according to the first view adjustment operation, controlling the determination of the second seat identifier from the seat identifiers, configuring the second seat identifier to be selected, and configuring the first seat identifier to be unselected.
[0137] The aforementioned graphical user interface provides a crosshair indicator, which is used to indicate the aiming direction of the first virtual character; a first view adjustment operation is used to adjust the aiming direction from a first direction to a second direction; the step of controlling the determination of a second seat identifier from the seat identifiers according to the view adjustment direction of the first view adjustment operation includes: controlling the determination of a second seat identifier from the seat identifiers according to the relative direction between the second direction and the first direction; wherein the directional relationship and relative direction between the second seat identifier and the first seat identifier correspond to each other.
[0138] The aforementioned second seat identifier corresponds to the second seat. After configuring the second seat identifier to be in a selected state, the method further includes: detecting whether the second seat is occupied; if not, displaying a first operation mode and a third prompt message on the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the third prompt message is used to indicate that after triggering the ride command, the first virtual character will sit in the second seat; if yes, displaying a first operation mode and a fourth prompt message on the graphical user interface; wherein, the fourth prompt message is used to indicate that after triggering the ride command, a request to give up the seat will be initiated to the third terminal device corresponding to the third virtual character occupying the second seat.
[0139] The above method also includes: controlling the display of selected seat signs in a third display format so that the selected seat signs are visually distinguishable.
[0140] The above method also includes: in response to the first virtual character and the virtual vehicle satisfying a second positional relationship, controlling the display of seat labels corresponding to multiple seats in the graphical user interface to be cancelled.
[0141] When the first virtual character and the virtual vehicle satisfy the second positional relationship, the method further includes: responding to the second perspective adjustment operation, controlling and adjusting the game perspective corresponding to the first virtual character; when the game perspective points to the third seat among multiple seats, determining whether the third seat is occupied; if not, displaying a first operation mode and a fifth prompt message on the graphical user interface; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the fifth prompt message is used to indicate that the first virtual character will sit in the third seat after the ride command is triggered; if yes, displaying the first operation mode and a sixth prompt message on the graphical user interface; wherein, the sixth prompt message is used to indicate that after the ride command is triggered, a request to give up the seat will be initiated to the fourth terminal device corresponding to the fourth virtual character occupying the third seat.
[0142] The aforementioned graphical user interface provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character. In response to the second view adjustment operation, the steps of controlling the adjustment of the game view corresponding to the first virtual character include: in response to the second view adjustment operation, controlling the adjustment of the aiming direction of the crosshair indicator; in response to the crosshair indicator coinciding with the third seat, determining that the game view is pointing to the third seat.
[0143] The first positional relationship is that the first virtual character enters a first preset range centered on the virtual vehicle; the second positional relationship is that the first virtual character enters a second preset range centered on the virtual vehicle; wherein, the first preset range is larger than the second preset range.
[0144] After the first virtual character sits in the target seat, the method further includes: controlling the cancellation of the display of seat icons corresponding to multiple seats; responding to the third-view adjustment operation, controlling the adjustment of the game view corresponding to the first virtual character; when the game view is pointing to the fourth seat among the multiple seats, determining whether the fourth seat is occupied; if not, displaying a second operation mode and a seventh prompt message on the graphical user interface; wherein, the second operation mode is used to trigger a seat-changing command for the virtual vehicle, and the seventh prompt message is used to indicate that the first virtual character will sit in the fourth seat after the seat-changing command is triggered; if yes, displaying a second operation mode and an eighth prompt message on the graphical user interface; wherein, the eighth prompt message is used to indicate that a seat-changing request will be initiated to the fifth terminal device corresponding to the fifth virtual character occupying the fourth seat after the seat-changing command is triggered.
[0145] If it is determined that the fourth seat is occupied, the method further includes: displaying the role information of the fifth virtual character occupying the fourth seat on the graphical user interface.
[0146] The seat identifiers corresponding to the seats that are occupied also indicate the virtual character occupying the seats.
[0147] The computer program product of the virtual vehicle riding interaction method, apparatus and system provided in the embodiments of this disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0148] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0149] Furthermore, in the description of the embodiments of this disclosure, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this disclosure based on the specific circumstances.
[0150] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0151] In the description of this disclosure, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0152] Finally, it should be noted that the above embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A method for interactive riding in a virtual vehicle, characterized in that, A graphical user interface is provided through a first terminal device, the graphical user interface being used to display at least a portion of a virtual scene, the virtual scene including a virtual vehicle and a first virtual character controlled by the first terminal device, the virtual vehicle being configured with multiple seats, the method comprising: In response to the first virtual character and the virtual vehicle satisfying a first positional relationship, the system controls the display of seat identifiers corresponding to the plurality of seats in the graphical user interface; The first seat identifier that is selected is displayed in the seat identifier; In response to a seat identifier switching operation, the selected seat identifier in the seat identifier is switched from the first seat identifier to the second seat identifier. In response to a ride command for the virtual vehicle, the system determines whether the first virtual character should take a seat in the second seat corresponding to the second seat identifier, based on the seat status of the second seat corresponding to the second seat identifier.
2. The method according to claim 1, characterized in that, The step of determining whether the first virtual character should take a seat in the second seat corresponding to the second seat identifier based on the seat status of the second seat identifier includes: If the second seat corresponding to the second seat identifier is in an vacant state, control the first virtual character to sit down in the second seat corresponding to the second seat identifier; If the second seat corresponding to the second seat identifier is occupied, the system sends a request to the second terminal device corresponding to the second virtual character occupying the second seat to offer the seat.
3. The method according to claim 1, characterized in that, The step of controlling the display of seat identifiers corresponding to the plurality of seats in the graphical user interface includes: Determine the seat status corresponding to the plurality of seats, the seat status including: vacant status and occupied status; The system controls the display of seat identifiers corresponding to the plurality of seats in the graphical user interface, wherein the seat identifiers corresponding to seats that are vacant are displayed in a first display format, and the seat identifiers corresponding to seats that are occupied are displayed in a second display format.
4. The method according to claim 3, characterized in that, Prior to the step of displaying the first seat identifier that is selected in the seat identifier, the method further includes: The first seat identifier is determined from the seat identifiers.
5. The method according to claim 4, characterized in that, When there is a seat identifier corresponding to an vacant seat among the seat identifiers, the step of determining the first seat identifier from the seat identifiers includes: Based on a preset selection order, the first seat identifier is determined from the seat identifiers corresponding to seats that are in an idle state, wherein the preset selection order is determined based on the movement mode of the virtual vehicle.
6. The method according to claim 5, characterized in that, The first seat identifier corresponds to a first seat. After the step of displaying the first seat identifier in a selected state in the seat identifier, the method further includes: The graphical user interface displays a first operation mode and a first prompt message; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the first prompt message is used to indicate that after the riding command is triggered, the first virtual character will sit in the first seat.
7. The method according to claim 4, characterized in that, When there is no available seat identifier among the seat identifiers, the step of determining the first seat identifier from the seat identifiers includes: Based on a preset selection order, the first seat identifier is determined from the seat identifiers corresponding to seats that are currently occupied.
8. The method according to claim 7, characterized in that, The first seat identifier corresponds to a first seat. After the step of displaying the first seat identifier in a selected state in the seat identifier, the method further includes: The graphical user interface displays a first operation mode and a second prompt message; wherein, the first operation mode is used to trigger a ride command for the virtual vehicle, and the second prompt message is used to prompt that after the ride command is triggered, a request to give up the seat will be initiated to the second terminal device corresponding to the second virtual character occupying the first seat.
9. The method according to claim 1, characterized in that, The step of controlling the switching of the selected seat identifier from the first seat identifier to the second seat identifier in response to the seat identifier switching operation includes: In response to the first viewpoint adjustment operation, based on the viewpoint adjustment direction of the first viewpoint adjustment operation, control the determination of the second seat identifier from the seat identifiers, and configure the second seat identifier to be in a selected state, while configuring the first seat identifier to be in an unselected state.
10. The method according to claim 9, characterized in that, The graphical user interface provides a crosshair indicator, which is used to indicate the aiming direction of the first virtual character; the first view adjustment operation is used to adjust the aiming direction from a first direction to a second direction; The step of controlling the determination of the second seat identifier from the seat identifiers based on the perspective adjustment direction of the first perspective adjustment operation includes: Based on the relative direction between the second direction and the first direction, the control determines a second seat identifier from the seat identifiers; wherein the directional relationship between the second seat identifier and the first seat identifier corresponds to the relative direction.
11. The method according to claim 10, characterized in that, The second seat identifier corresponds to the second seat. After configuring the second seat identifier to be selected, the method further includes: Detect whether the second seat is occupied; If not, a first operation mode and a third prompt message are displayed on the graphical user interface; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the third prompt message is used to indicate that after the riding command is triggered, the first virtual character will sit in the second seat; If so, the first operation mode and the fourth prompt information are displayed on the graphical user interface; wherein, the fourth prompt information is used to prompt that after the riding instruction is triggered, a request to give up the seat will be initiated to the third terminal device corresponding to the third virtual character occupying the second seat.
12. The method according to claim 1, characterized in that, The method further includes: The system controls the display of selected seat icons in a third display format to make the selected seat icons visually distinguishable.
13. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the first virtual character and the virtual vehicle satisfying a second positional relationship, the display of seat identifiers corresponding to the plurality of seats is cancelled in the graphical user interface.
14. The method according to claim 13, characterized in that, When the first virtual character and the virtual vehicle satisfy the second positional relationship, the method further includes: In response to the second perspective adjustment operation, control and adjust the game perspective corresponding to the first virtual character; When the game view is directed at the third seat among the multiple seats, it is determined whether the third seat is occupied. If not, a first operation mode and a fifth prompt message are displayed on the graphical user interface; wherein, the first operation mode is used to trigger a riding command for the virtual vehicle, and the fifth prompt message is used to indicate that after the riding command is triggered, the first virtual character will sit in the third seat; If so, the first operation mode and the sixth prompt information are displayed on the graphical user interface; wherein, the sixth prompt information is used to prompt that after the riding instruction is triggered, a request to give up the seat will be initiated to the fourth terminal device corresponding to the fourth virtual character occupying the third seat.
15. The method according to claim 14, characterized in that, The graphical user interface provides a crosshair indicator; the crosshair indicator is used to indicate the aiming direction corresponding to the first virtual character, and the step of controlling the adjustment of the game view corresponding to the first virtual character in response to the second view adjustment operation includes: In response to the second-view adjustment operation, the aiming direction of the crosshair is controlled and adjusted; In response to the crosshair aligning with the third seat, the game view is determined to be pointing towards the third seat.
16. The method according to claim 15, characterized in that, The first positional relationship is that the first virtual character enters a first preset range centered on the virtual vehicle; The second positional relationship is that the first virtual character enters a second preset range centered on the virtual vehicle; wherein the first preset range is larger than the second preset range.
17. The method according to claim 1 or 14, characterized in that, After the first virtual character takes its seat in the target seat, the method further includes: Control the cancellation of displaying the seat icons corresponding to the multiple seats; In response to the third-person perspective adjustment operation, control and adjust the game perspective corresponding to the first virtual character; When the game view is directed at the fourth seat among the multiple seats, it is determined whether the fourth seat is occupied. If not, a second operation mode and a seventh prompt message are displayed on the graphical user interface; wherein, the second operation mode is used to trigger a seat-changing command for the virtual vehicle, and the seventh prompt message is used to indicate that after the seat-changing command is triggered, the first virtual character will sit in the fourth seat; If so, the second operation mode and the eighth prompt message are displayed on the graphical user interface; wherein, the eighth prompt message is used to indicate that after the seat change instruction is triggered, a seat change request will be initiated to the fifth terminal device corresponding to the fifth virtual character occupying the fourth seat.
18. The method according to claim 17, characterized in that, If it is determined that the fourth seat is occupied, the method further includes: The graphical user interface displays the role information of the fifth virtual character occupying the fourth seat.
19. The method according to claim 1, characterized in that, The seat identifier corresponding to a seat that is occupied also indicates the virtual character occupying the seat.
20. A virtual vehicle riding interaction device, characterized in that, A graphical user interface is provided through a first terminal device, the graphical user interface being used to display at least a portion of a virtual scene, the virtual scene including a virtual vehicle and a first virtual character controlled by the first terminal device, the virtual vehicle being configured with multiple seats, the device comprising: The first display module is configured to control the display of seat identifiers corresponding to the plurality of seats in the graphical user interface in response to the first virtual character and the virtual vehicle satisfying a first positional relationship. The second display module is used to display the first seat identifier that is selected in the seat identifier; The identification switching module is used to control the selection of the selected seat identification from the first seat identification to the second seat identification in response to the seat identification switching operation. The seating determination module is used to respond to a boarding command for the virtual vehicle and determine whether the first virtual character should sit in the second seat corresponding to the second seat identifier based on the seat status of the second seat corresponding to the second seat identifier.
21. An electronic device, characterized in that, It includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the virtual vehicle riding interaction method according to any one of claims 1-19.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the virtual vehicle riding interaction method according to any one of claims 1-19.