Marker method, device, terminal and storage medium for virtual object
Patent Information
- Application Number
- CN202210887870.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-07-26
AI Technical Summary
[0003]相关技术中,玩家发送交互信息的方式主要为文字输入、点击标记交互控件、点击虚拟环境小地图以及拖动发送标记等,上述方式中,交互操作流程复杂,交互效率低,且往往无法定向标记,或是定向标记的准确性有限,同时标记控件需要占用一定的屏幕位置,造成空间浪费
[0015] On the other hand, embodiments of this application provide a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual object marking method described above.
Smart Images

Figure CN116983613B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction, and in particular to a method, apparatus, terminal and storage medium for marking virtual objects. Background Technology
[0002] In most massively multiplayer online games, such as MMOs (Massive Multiplayer Online Games) and MOBAs (Multiplayer Online Battle Arenas), team play among multiple players is the core gameplay, and players need to cooperate through real-time communication.
[0003] In related technologies, players mainly send interactive information through text input, clicking on interactive marker controls, clicking on the virtual environment minimap, and dragging to send markers. Among these methods, the interactive operation process is complex, the interaction efficiency is low, and it is often impossible to target specific markers, or the accuracy of targeted markers is limited. At the same time, the marker control needs to occupy a certain amount of screen space, resulting in wasted space. Summary of the Invention
[0004] This application provides a method, apparatus, terminal, and storage medium for marking virtual objects, which can simplify the user's operation process for marking virtual objects and improve marking efficiency. The technical solution is as follows:
[0005] On one hand, embodiments of this application provide a method for marking virtual objects, the method comprising:
[0006] Receive touch input to virtual objects;
[0007] Based on the pressure applied during the touch operation, a marking mode prompt is displayed. The marking mode prompt indicates the current marking mode. Different marking modes correspond to different pressure levels, and the marking method for the virtual object is different under different marking modes.
[0008] When in target marking mode, in response to the end signal of the touch operation, the virtual object is marked by the target marking method indicated by the target marking mode.
[0009] On the other hand, embodiments of this application provide a marking device for virtual objects, the device comprising:
[0010] The receiving module is used to receive touch operations on virtual objects;
[0011] The display module is used to display a marking mode prompt based on the pressure applied by the touch operation. The marking mode prompt is used to indicate the current marking mode. Different marking modes correspond to different pressure levels, and the marking method for the virtual object is different under different marking modes.
[0012] A marking module is used to mark the virtual object in response to the end signal of the touch operation when the target marking mode is in operation.
[0013] On the other hand, embodiments of this application provide a terminal, the terminal including a processor and a memory, the memory storing at least one program, the at least one instruction being loaded and executed by the processor to implement the virtual object marking method as described above.
[0014] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one program, wherein the at least one instruction is loaded and executed by a processor to implement the virtual object marking method as described above.
[0015] On the other hand, embodiments of this application provide a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual object marking method described above.
[0016] In this embodiment, when the terminal receives a touch operation on a virtual object, it detects the pressure applied by the touch operation and displays a corresponding marking mode prompt based on the pressure applied by the touch operation and the mapping relationship between the pressure applied and the marking mode. This prompts the user to indicate the current marking mode. Then, when the touch operation ends while in the target marking mode, the terminal marks the virtual object with the target marking mode, thus completing the marking. Using the solution provided in this embodiment, different marking methods for virtual objects can be achieved by controlling the pressure applied by the touch operation during a single touch operation, without the need for additional marking controls in the interface. This simplifies the marking process for virtual objects and improves the marking efficiency of virtual objects. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic diagram of an implementation environment provided by an exemplary embodiment of this application is shown;
[0019] Figure 2 A flowchart illustrating a virtual object marking method provided in an exemplary embodiment of this application is shown;
[0020] Figure 3 A mapping diagram of pressure intensity and marking pattern provided in an exemplary embodiment of this application is shown;
[0021] Figure 4 A flowchart of a complex marking method provided in an exemplary embodiment of this application is shown;
[0022] Figure 5 A schematic diagram of a control menu provided in an exemplary embodiment of this application is shown;
[0023] Figure 6 This illustration shows an operational schematic of a complex marking method provided in an exemplary embodiment of this application;
[0024] Figure 7 A flowchart of a local marking method provided in an exemplary embodiment of this application is shown;
[0025] Figure 8 This illustration shows an operational schematic of a local marking method provided in an exemplary embodiment of this application;
[0026] Figure 9 This illustration shows a schematic diagram of the position priority of an object control provided in an exemplary embodiment of this application;
[0027] Figure 10 A flowchart illustrating a custom method for marking purposes provided in an exemplary embodiment of this application is shown;
[0028] Figure 11 This illustration shows an operational diagram of a custom method for marking purposes provided in an exemplary embodiment of this application;
[0029] Figure 12 A schematic diagram illustrating the switching marker mode conditions provided in an exemplary embodiment of this application is shown;
[0030] Figure 13 A schematic diagram of a dynamic tagging mode provided in an exemplary embodiment of this application is shown;
[0031] Figure 14 This illustration shows an operational diagram of a dynamic marking method provided in an exemplary embodiment of this application;
[0032] Figure 15This invention provides a structural block diagram of a virtual object marking device according to an exemplary embodiment of the present application.
[0033] Figure 16 A structural block diagram of a terminal provided in an exemplary embodiment of this application is shown. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0035] For ease of understanding, the terms used in the embodiments of this application will be explained below.
[0036] Virtual environment: This refers to the virtual environment displayed (or provided) by an application when it runs on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. The virtual environment can be any of the following: two-dimensional, 2.5-dimensional, or three-dimensional; this application does not limit it to any particular type.
[0037] Virtual objects refer to interactive objects within a virtual environment. Virtual objects can be virtual characters, such as virtual people, animals, or anime characters. Virtual characters are three-dimensional models created using animation skeletal technology. Virtual objects can also be virtual props, virtual locations, etc., displayed in a virtual environment, such as plants, oil drums, walls, and rocks. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a portion of the space within that environment.
[0038] Optionally, the virtual object can be a user character controlled through client operations, an artificial intelligence (AI) trained and set up for virtual scene battles, a non-player character (NPC) set up in the virtual scene, or a building, item set, or item box set up in the virtual scene. Optionally, the virtual object can be a virtual character competing in the virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene can be preset or dynamically determined based on the number of clients joining the interaction.
[0039] Virtual Match: This refers to a game match in a virtual environment where at least two virtual objects engage in combat. Optionally, this virtual match can be a single-player match (where all virtual objects are playing solo), a two-player match (where virtual objects can be playing solo or in a team), or a multiplayer match (where up to four or five virtual objects can team up). In two-player or four-player matchmaking, the first virtual object can be matched with a second virtual object who is a friend, or with a third virtual object who is not a friend. Optionally, in two-player or multiplayer matchmaking, teammates can communicate by sending text messages or virtual markers.
[0040] Tagging: In virtual matches, tagging refers to the information markers that players set for target virtual characters, virtual items, or target locations. Tagging is used for human-computer interaction and real-time interaction between users during virtual battles, facilitating strategic information exchange. Optionally, tagging can be used in single-player matchmaking modes, as well as multiplayer modes such as duo or quad matchmaking. Optionally, tagging can be a player's marking of a target virtual object, or it can be strategic information sent by a player to all teammates, such as "gather" or "attack." This strategic information can target a specific location, virtual character, or virtual item in the virtual environment.
[0041] Secondly, based on the above definitions, the implementation environment of the embodiments of this application will be described:
[0042] Please refer to Figure 1 This diagram illustrates an implementation environment provided by an exemplary embodiment of this application. The implementation environment includes: a terminal 110, a server 120, and a communication network 130.
[0043] Terminal 110 has an application installed and running that supports a virtual environment. This application can be any of the following: a virtual reality application, an SLG (Simulation Game), a 3D map application, an FPS (First-person Shooting Game), or a MOBA game. The user uses terminal 110 to control virtual objects located in the virtual environment to perform operations, including but not limited to: gaining rewards, upgrading, engaging in combat, switching equipment, and building at least one of these operations. Furthermore, the user performs these operations within the application using the terminal. Illustratively, the virtual object is a virtual character, such as a realistic or anime character, or a virtual item. Terminal 110 can refer to one of multiple terminals; this embodiment uses terminal 110 as an example only. The device type of terminal 110 includes at least one of the following: a smartphone, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer. The following embodiments use a smartphone as an example.
[0044] In this embodiment, the terminal 110 can detect the pressure applied by the touch operation and is equipped with a vibration motor, which can provide different degrees of vibration feedback to touch operations with different pressure applied.
[0045] Terminal 110 is connected to server 120 via communication network 130, such as wireless network or wired network.
[0046] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Illustratively, server 120 includes a processor 121 and memory 122 for providing background services for applications supporting a 3D virtual environment. Optionally, server 120 performs the primary computing task, and terminal 110 performs secondary computing tasks; or, server 120 performs secondary computing tasks, and terminal 110 performs primary computing tasks; or, server 120 and terminal 110 collaborate in a distributed computing architecture.
[0047] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.
[0048] In related technologies, users can communicate with teammates by sending text messages in the chat area during gameplay. However, this method requires the user to use the keyboard, which occupies part of the screen and obscures the virtual environment interface. Furthermore, typing interrupts gameplay, limiting its applicability. Some game interfaces display marker controls, allowing users to send preset marker information to teammates. However, this method only displays markers at the location of the user's virtual object and cannot send virtual markers with location attributes. Other games allow users to send preset marker information by clicking on the minimap of the virtual environment. Users can click on a target location in a thumbnail display area showing the global virtual environment and the locations of various virtual objects to send a marker to teammates. However, this method does not allow users to select the marker content, and the algorithm-provided content may not match the player's intention. Additionally, when the user's device screen is limited, the thumbnail display area is small, limiting the accuracy of location selection. Finally, in related technologies, users can drag the viewpoint to select a marker target and send the marker information by swiping. However, this method requires users to adjust the center of their viewpoint to determine the marker location, often requiring multiple operations and lacking accuracy.
[0049] In this embodiment, users can participate in virtual matches through an e-sports application. This application can be a game application, such as a MOBA game application, a shooting game application, a multiplayer shooting survival game application, or a battle royale survival game application; this embodiment does not limit the specific application to this. Taking a MOBA game application as an example, users participate in virtual matches in a five-player matchmaking mode. In the virtual match, users can directly touch virtual objects to mark them, and it is expected that based on different touch pressure levels, users can perform various different marking operations. The marking operation in this solution is simple and intuitive, reducing the difficulty of marking operations while improving their accuracy.
[0050] Please refer to Figure 2 It illustrates a flowchart of a virtual object marking method provided in an exemplary embodiment of this application, combined with Figure 2 The above application scenarios illustrate the marking method for virtual objects provided in this application embodiment. In this embodiment, the method is applied to a terminal for illustration. The method includes:
[0051] Step 201: Receive touch operation on virtual object.
[0052] In this embodiment of the application, when in a marked state, the terminal receives a touch operation on a virtual object and uses the operation as a marked operation. Optionally, the terminal can enter the marked state by receiving a touch operation on a marked state control, wherein the marked state control is a control displayed in the virtual scene and is used to control the opening and closing of the marked state.
[0053] In one possible implementation, the terminal receives a touch operation performed by the user at the virtual object display location and detects the pressure applied during the touch operation. One method for detecting the pressure applied during the touch operation is to place a pressure sensor below the touch panel and use a capacitive module in the pressure sensor to sense changes in self-capacitance, thereby determining the position and force of the press. Examples include Force Touch and 3D Press technologies. In these technologies, depending on the terminal's touch panel, the terminal can also sense the pressure applied by placing micro-electrodes around the touch panel. Optionally, the terminal can detect the contact area between the user's finger and the touch panel during the touch operation and determine the pressure applied during the touch operation based on the mapping relationship between the contact area and the pressure applied. The above-described methods for detecting the pressure applied during the touch operation are for illustrative purposes only and are not limited in this application.
[0054] Step 202: Based on the pressure applied by the touch operation, display a marking mode prompt. The marking mode prompt is used to indicate the current marking mode. Different marking modes correspond to different pressure levels, and the marking method for virtual objects is different in different marking modes.
[0055] Based on the varying pressure applied during touch operations, the terminal enters different marking modes. In each marking mode, the terminal marks virtual objects differently in response to the end of the touch operation. In other words, users can control the pressure applied during touch operations to mark virtual objects in different ways. To reduce user errors and improve marking accuracy, the terminal displays a marking mode prompt based on the current marking mode, indicating the marking mode corresponding to the current pressure level.
[0056] In this embodiment, the terminal sets multiple pressure ranges for touch operations. For example, the terminal determines that a pressure range of 0N to 1N falls within the first-level pressure range, a range of 1N to 3N falls within the second-level pressure range, and a range of 3N and above falls within the third-level pressure range. Corresponding to different pressure ranges for the touch operation, the touch operation triggers the terminal to enter different marking modes.
[0057] Optionally, based on the varying complexity of the marking methods, marking modes can be categorized into simple marking modes and complex marking modes. To match user experience, the terminal can establish mappings between the lower-pressure (first-level and second-level) marking ranges and the simple marking mode, and between the higher-pressure (third-level) marking range and the complex marking mode. In different marking modes, users can mark items using touch operations. Based on the complexity of the marking mode, marking methods can be categorized as simple or complex marking; alternatively, based on the synchronization object, marking methods can be categorized as local, regional, or global marking. (Illustrative example, such as...) Figure 3 As shown, when the pressure applied to the virtual object 304 is at level 1 (pressure 301), corresponding to the first marking mode 311, the terminal displays an "arrow" icon above the target virtual object, indicating to the user that it is currently in the first marking mode 311. When the pressure applied to the virtual object is at level 2 (pressure 302), corresponding to the second marking mode 312, the terminal displays a "prompt banner" in the virtual scene, indicating to the user that it is currently in the second marking mode 312. When the pressure applied to the virtual object is at level 3 (pressure 303), corresponding to the third marking mode 313, the terminal displays a control menu in the virtual scene, indicating to the user that the marking method corresponding to the third marking mode 313 can be achieved under the current pressure. It should be noted that the above marking mode prompts are for illustrative purposes only and are not intended to limit the scope of this application.
[0058] Step 203: In target marking mode, in response to the end signal of touch operation, mark the virtual object by the target marking method indicated by the target marking mode.
[0059] The target marking mode is the marking mode at which the touch operation ends. The terminal marks virtual objects differently depending on the target marking mode. In one possible implementation, in response to the end signal of the touch operation, the terminal determines the marking mode corresponding to the current marking mode and then marks the virtual object using that target marking mode.
[0060] In summary, the terminal receives touch operations performed by the user on virtual objects and detects the pressure applied during the touch operations. Based on the pressure applied during the touch operations and the mapping relationship between the pressure applied and the marking mode, the terminal displays a corresponding marking mode prompt to indicate the current marking mode to the user. Then, in response to the user ending the touch operation while in the target marking mode, the terminal marks the virtual object using the target marking method, completing the marking. Through this embodiment, based on one operation method, the user can mark virtual objects in multiple ways, resulting in low learning costs. Furthermore, the user only needs to perform one touch operation to accurately mark the virtual object, simplifying the operation and improving the accuracy of marking operations in virtual games.
[0061] In the marked state, in response to a touch operation, the terminal enters the marked mode. Based on the pressure of the touch operation, the terminal determines the current marked mode, and the pressure required to enter the simple marked mode is less than the pressure required to enter the complex marked mode.
[0062] In the embodiments of this application, touch operation can trigger the terminal to enter different marking modes, thereby realizing different marking methods. The marking complexity of multiple marking modes is different. The marking complexity is reflected in the complexity of the marking method performed by the terminal when the terminal is in the marking mode. For example, in the simple marking mode, the terminal can perform simple marking such as selecting virtual objects in response to the end signal of the touch operation. In the complex marking mode, the terminal can display multiple candidate marking purpose selection controls indicating different marking purposes, and perform complex marking of virtual objects including marking purposes in response to the end signal of the touch operation.
[0063] Optionally, the terminal can establish a mapping relationship between pressure intensity ranges and marking modes based on the positive correlation between pressure intensity and complexity, in order to adapt to user operating habits. For example, a user can trigger the terminal to enter simple marking mode through a touch operation with a single level of pressure intensity.
[0064] In one possible implementation, after receiving a touch operation, the terminal determines the pressure applied during the touch operation. The method by which the terminal determines the pressure applied during the touch operation is the same as described in step 202, and will not be repeated in this embodiment. The terminal determines the current marking mode based on the mapping relationship between pressure applied and marking modes. To conform to user operating habits, the user can control the terminal to enter a simple marking mode by performing a touch operation with a small pressure applied. When the user performs a touch operation with a large pressure applied, the terminal enters a complex marking mode in response to the operation. The simple marking mode and the complex marking mode indicate different marking methods, and one marking mode can indicate multiple marking methods. In the embodiments of this application, such as... Figure 3As shown, when the pressure applied during a touch operation is at level 1 (301), the touch operation triggering terminal enters the first marking mode 311. Correspondingly, when the pressure applied during a touch operation is at level 2 (302), the touch operation triggering terminal enters the second marking mode 312. Both the first marking mode 311 and the second marking mode 312 are simple marking modes. When the pressure applied during a touch operation is at level 3 (303), the touch operation triggering terminal enters the third marking mode 313, which is a complex marking mode.
[0065] When the current marking mode is simple marking mode, the way the terminal marks virtual objects is described through the following exemplary embodiments.
[0066] If the current tagging mode is simple tagging mode, a simple tagging mode prompt will be displayed. Simple tagging mode refers to a tagging mode that does not support conveying the purpose of tagging.
[0067] The complexity of the marking mode is positively correlated with the pressure applied during a touch operation. The simple marking mode includes a first marking mode and a second marking mode. As shown in the above embodiments, the terminal determines the marking mode based on the pressure applied during the touch operation, and different marking modes correspond to different marking methods. However, in practical applications, users cannot directly determine the current marking mode based on the performed touch operation. To prompt the user that simple marking can be achieved through the current touch operation, the terminal displays a simple marking mode prompt in response to the pressure applied during the touch operation reaching a first-level or second-level pressure.
[0068] In one possible implementation, if the current tagging mode is a simple tagging mode, the tagging effect is previewed based on the tagging method corresponding to the current tagging mode. For example... Figure 3 As shown, when the pressure applied during a touch operation is at the first level (pressure level 301), the terminal enters the first marking mode 311 and displays an "arrow icon" at the virtual object location to indicate to the user that it is currently in the first marking mode; when the pressure applied during a touch operation is at the second level (pressure level 302), the terminal enters the second marking mode 312 and displays a "prompt banner" in the virtual scene to indicate to the user that it is currently in the second marking mode. It should be noted that the above marking mode prompting method is for illustrative purposes only and is not intended to limit the scope of this application.
[0069] It should be noted that since the simple tagging mode does not support conveying the purpose of the tag, the prompts in the simple tagging mode do not contain any tag purpose content. The tag purpose reflects the user's interaction purpose; for example, the tag purpose could be "collection," "attack," etc.
[0070] In simple marking mode, in response to the end signal of the touch operation, the terminal marks the virtual object using the corresponding simple marking method. The marking methods corresponding to simple marking mode include local marking and global marking. In local marking, the marking of the virtual object is applied locally, while in global marking, the marking of the virtual object is synchronized to other virtual characters of the same faction.
[0071] Among them, the local marking method means that the server only sends the virtual mark to the terminal corresponding to the user performing the touch operation, while the global marking method means that the server sends the mark of the virtual object to the terminals corresponding to all virtual characters in its own camp, so as to synchronize the mark with all virtual objects in its own camp.
[0072] In one possible implementation, based on the current state of the first marking mode, in response to the stop signal of the touch operation, the terminal selects a virtual object, that is, the terminal marks the virtual object in a local marking manner. Based on the current state of the second marking mode, the terminal performs a regular marking of the virtual object without marking purpose. In response to the stop signal of the touch operation, the terminal displays a marking success prompt and displays a mark icon at the display position of the virtual object. In this case, optionally, the terminal can mark the virtual object in a local marking manner, or it can synchronize the mark to all virtual objects of its own faction for global marking.
[0073] In one possible implementation, the terminal uses vibration feedback to notify the user that the corresponding mark has been completed. The terminal provides vibration feedback based on the feedback method corresponding to the target mark mode, wherein the intensity of the vibration feedback is positively correlated with the pressure applied to trigger the entry into the target mark mode. Based on the terminal dividing the pressure intensity into three levels, the terminal sets three different vibration feedback methods, such as... Figure 3 As shown, in response to completing the marking in the first marking mode 311, the terminal does not vibrate; in response to completing the marking in the second marking mode 312, the terminal provides feedback to the user with a short vibration.
[0074] In virtual matches, besides selection and simple marking, players typically need to interact in real-time to exchange strategic information. In such scenarios, users may want to convey the purpose of a mark to virtual characters on the same team, enabling other virtual characters to perform corresponding actions based on that mark. For example, when a player needs other virtual characters to cooperate in attacking the enemy virtual character "Hero A," the user may want to convey the mark "Attack Hero A" to other virtual characters. In this case, the user can use complex marking to convey the mark purpose. When the terminal is in complex marking mode, to avoid user misoperation, the terminal can display a complex marking mode prompt to inform the user of the current marking mode. This prompt includes multiple candidate mark purpose selection controls, allowing the user to select the appropriate control to mark virtual objects with the specified purpose. The method by which the terminal marks virtual objects when the current marking mode is complex marking mode is explained through the following exemplary embodiments. Please refer to... Figure 4 This embodiment illustrates a flowchart of a complex tagging method provided by an exemplary embodiment. Figure 1 Taking the terminal shown as an example, the method may include the following steps:
[0075] Step 401: If the current marking mode is a complex marking mode, determine the object type of the virtual object. The object type includes at least one of virtual character, virtual prop, and virtual location.
[0076] In complex marking mode, the terminal displays a control menu with multiple candidate marking target selection controls. Users can choose the target marking target from these controls to achieve their desired marking objective. In other words, in complex marking mode, users can select the marking method. During gameplay, users often have different marking objectives when marking different types of virtual objects. Therefore, the terminal needs to determine the object type corresponding to the touch operation.
[0077] In one possible implementation, a virtual object is displayed based on the touch operation location. The terminal determines the object type of the virtual object, which is at least one of virtual character, virtual item, and virtual location. Taking a MOBA game as an example, such as... Figure 5As shown, when a virtual object is a virtual object capable of performing adversarial actions, the terminal can determine that the virtual object is a virtual character 501. The virtual character can be a virtual object controlled by other users, such as a "teammate" or "enemy" of a user-controlled virtual object, or a virtual object controlled by the terminal, such as a "normal monster" or an "epic monster". When a virtual object can provide virtual buffs to a user-controlled virtual object, and the virtual object cannot perform adversarial actions, such as a "treasure chest", the terminal can determine that the virtual object is a virtual item 502. When a virtual object is merely an inactive virtual object in a virtual scene that cannot provide virtual buffs, such as "grass" or "rocks", the terminal can determine that the virtual object is a virtual location 503. It should be noted that when determining the type of object, in addition to determining that the virtual object belongs to a virtual character, virtual item, etc., the terminal can further classify it according to its faction. For example, taking MOBA games as an example, for virtual characters controlled by users of the same faction, the terminal can determine that the virtual object belongs to its own virtual character, while for virtual objects controlled by users of the opposing faction, the terminal can determine that the virtual object belongs to the enemy virtual character. Correspondingly, for virtual objects controlled by the terminal, such as "monsters" displayed in the area of one's own map, the terminal can determine that the virtual object belongs to its own virtual character.
[0078] Step 402: Determine the candidate tagging purpose of the virtual object based on the object type, wherein different object types correspond to different candidate tagging purposes.
[0079] For virtual objects belonging to different object types, users have different marking purposes when marking them. The terminal determines the corresponding candidate marking purpose based on the object type of the virtual object.
[0080] In one possible implementation, the terminal can establish a mapping relationship between object types and tagging purposes. In complex tagging mode, based on the object type of the virtual object corresponding to the touch operation, the terminal determines the tagging purpose corresponding to the current object type as a candidate tagging purpose through the mapping relationship. For example... Figure 5 As shown, the terminal can establish a mapping relationship between the object type "virtual character" and the marking objectives such as attack 5011 and protection 5012; when the object type is "virtual item", the terminal can establish a mapping relationship between it and the marking objectives such as attention 5021 and protection 5022; when the object type is "virtual location", the terminal can establish a mapping relationship between it and the marking objective such as collection 5031. It should be noted that, in order to simplify the user's operation process of exiting the marking mode, the terminal can display the cancellation control 5000 in the control menu so that the user can end the current marking.
[0081] In an illustrative example, taking a MOBA game as an example, when a user marks a virtual character controlled by a user of their own faction, the terminal determines that the object type of the virtual character is "own virtual character". Then, based on the correspondence between the object type and the marking purpose, the terminal determines that the candidate marking purpose includes protection and collection.
[0082] Optionally, candidate tag objectives can be provided by the server, and then the user can set the candidate tag objectives for the corresponding object type. The candidate tag objectives can be any combination of the materials provided by the server.
[0083] Step 403: Display the candidate tag selection control corresponding to the candidate tag destination.
[0084] In complex marking mode, the terminal displays a control menu, allowing the user to select the mark selection control corresponding to the desired marking method. Based on touch input, the terminal determines the user's likely marking objectives, i.e., candidate mark objectives. The terminal then identifies the candidate mark objective selection controls that correspond one-to-one with the candidate mark objectives and displays these candidate mark objective selection controls in the control menu. It should be noted that along with displaying the candidate mark objective selection menu, a cancel control should also be displayed in the control menu so that the user can exit complex marking mode.
[0085] In one possible implementation, the terminal determines material for a candidate tag destination selection control, wherein the candidate tag destination selection control may be one or more.
[0086] In an illustrative example, let's take a MOBA game as an example, such as... Figure 3 As shown, when a user performs a touch operation at the display location of a virtual object controlled by an enemy user, the terminal determines that the virtual object belongs to an "enemy virtual character". Based on the mapping relationship between the object type and the candidate mark purpose, the terminal determines that the candidate mark purpose is attack or attention. Furthermore, the terminal determines that the attack control and attention control are candidate mark purpose selection controls. The terminal then sets up a control menu by combining the candidate mark purpose selection control and the cancel control, and displays the control menu at the location of the virtual object.
[0087] Step 404: In response to the end signal of the touch operation, determine the target mark selection control located at the end position of the touch operation. The target mark selection control belongs to the candidate mark selection control.
[0088] The terminal displays a control menu containing candidate mark target selection controls at the location of the virtual object corresponding to the touch operation. The user can select the candidate mark target selection control from the control menu to achieve the corresponding marking method. The user can select the mark target control by moving the touch operation position while maintaining the touch operation pressure until a candidate mark target selection control is displayed. In response to the user ending the touch operation at a candidate mark target selection control display position, the terminal determines that the candidate mark target selection control is the target mark target selection control.
[0089] In one possible approach, when a user performs a touch operation at a pressure level of three, based on the current complex marking mode, the terminal displays a "touch menu" at the virtual object display location. This "touch menu" contains multiple candidate mark destination selection controls. While maintaining the current pressure (i.e., maintaining a pressure level of three), the user moves the touch position to the display location of a candidate mark destination selection control in the control menu and ends the touch operation at the current location. In response to the touch operation end signal, the terminal identifies the candidate mark destination selection control displayed at the touch operation end location and determines that the control is the target mark destination selection control.
[0090] In an illustrative example, taking a MOBA game as an example, a user wants to notify teammates to help attack an enemy "hero" by marking that "hero," such as... Figure 6 As shown, when a user performs a touch operation at the display position of the virtual object 601 controlled by the user in the enemy camp, and the pressure of the touch operation reaches level three, the terminal enters the complex marking mode. The terminal determines that the virtual object 601 is an "enemy virtual object" and determines the candidate marking target selection control. Then, the terminal displays a control menu containing an attack control 611, a attention control 612, and a cancel control 613. The user can move the touch position to the display position of the attack control 611 while maintaining the pressure, and end the touch operation at the above position. Then, in response to the touch operation end signal, the terminal determines that the attack control is the target marking target selection control of the current touch operation.
[0091] Alternatively, in another possible approach, in the case of complex marking mode, the user can switch the target mark virtual object by changing the touch operation position. The user can move the touch operation position from the first virtual object display position to the second virtual object display position while maintaining the pressure. Then, based on the touch operation position reaching a time threshold, the terminal displays a switching control at the second virtual object position so that the user can switch the target mark virtual object from the first virtual object to the second virtual object.
[0092] In an illustrative example, taking a MOBA game as an example, during a match, when the remaining ability value of one's own "Hero A" is low, in order to notify other users in the same team to protect it, the user performs a touch operation with a pressure level of three at the display position of the virtual object "Hero A" and brings up a control menu containing protection controls. At this time, if the remaining ability value of "Hero A" has dropped to 0, and the remaining ability value of one's own virtual object "Hero B" is also low, that is, if the user wants to switch the target virtual object from "Hero A" to "Hero B", the terminal can respond by detecting the change of touch operation position and keeping the touch operation position at the display position of "Hero B" for a time threshold, and displaying the change control at the display position of "Hero B".
[0093] It should be noted that in the virtual game, the virtual character is a movable virtual object. When the user performs a touch operation on the virtual character, the terminal is triggered to enter the complex marking mode in response to the touch operation. The terminal displays a control menu at the location of the virtual object. If the virtual character enters a moving state, the display position of the control menu remains unchanged. Furthermore, based on the user's subsequent operations such as selecting the candidate marking target control, the terminal can still complete the marking of the virtual object.
[0094] Step 405: Determine the target labeling target corresponding to the target labeling target selection control.
[0095] In complex marking mode, users can convey the purpose of marking by performing touch operations, thereby realizing information interaction in the game.
[0096] In one possible implementation, the target marker purpose selection control is a candidate marker purpose selection control. Since each candidate marker purpose selection control is a marker purpose selection control corresponding to the candidate marker purpose, the terminal can also determine the corresponding target marker purpose based on the above target marker purpose selection control, that is, determine the information that the user wants to convey through the marker. For example, if the terminal determines that the target marker purpose is to convey the information of "protecting" the virtual object to teammates based on the target marker purpose selection control as a protection control.
[0097] Step 406: Mark virtual objects using a global marking method and display marking prompts containing the purpose of the marking. In the global marking method, the marking of virtual objects is synchronized to other virtual characters of the same faction.
[0098] Among them, the global marking method refers to the terminal synchronizing the marking operation of all virtual objects in its own camp based on the touch operation performed by the user, and displaying the marking prompt information of the target mark.
[0099] In one possible implementation, the terminal synchronizes the marking method corresponding to the target marking purpose to all virtual characters of the same faction, and then the terminal displays the target mark at the location of the virtual object based on the target marking method.
[0100] In an illustrative example, taking a MOBA game as an example, there are 5 players in the same team. Users mark their own "Hero A" using touch operations. The terminal selects the target mark based on the target mark selection control and determines that the target mark is "protect". Then, the terminal sends the target mark to all 5 terminals of all users in the same team. After receiving the target mark sent by the terminal, the terminal performs protection marking on the virtual object and displays a mark prompt message containing the word "protect". Then, other users see the protection mark and prompt message displayed on their terminals and know that they should provide support to protect their own "Hero A" in time, so as to quickly realize the information exchange between teammates.
[0101] Step 407: Vibration feedback is provided based on the feedback method corresponding to the target marking mode, wherein the vibration intensity of the vibration feedback is positively correlated with the pressure intensity that triggers the entry into the target marking mode.
[0102] In complex marking mode, in response to completing marking in the third marking mode, the terminal provides feedback to the user with a violent vibration.
[0103] In summary, under complex marking mode, end users can access the control menu by applying three levels of pressure with a touch operation, and then perform marking operations on virtual objects with selectable marking methods. For the control menu consisting of a candidate marking target selection control and a cancel control, users can select the target marking target selection control by changing the touch operation position. In other words, users can mark virtual objects with only one touch operation, simplifying the marking operation process and improving marking efficiency.
[0104] Furthermore, in this embodiment, the touch operation is directly executed at the display position of the virtual object, eliminating the need for additional controls and saving terminal display area.
[0105] When a user completes a complex marking operation, the terminal sends a strong vibration to the user to indicate that the operation is complete, thus reducing the user's error rate.
[0106] Based on the above-described embodiments, in response to the end signal of the touch operation, the terminal synchronizes the marking of the virtual object with other virtual characters in its own faction. In some cases, the user may only want some virtual characters to respond to the marking. When the marking is synchronized to all virtual characters, other users often need to judge whether to respond based on their own experience. This judgment may randomly deviate from the user's subjective intention, affecting interaction efficiency. In complex marking modes, based on the target marking purpose corresponding to the touch operation, the terminal can send the target marking purpose only to the current user and specific users in its own faction, improving the accuracy of information interaction. Please refer to... Figure 7 This illustrates a flowchart of a local tagging method provided in an exemplary embodiment. This embodiment uses this method for... Figure 1 Taking the terminal shown as an example, the method may include the following steps:
[0107] Step 701: In response to the touch operation being located at the target marking destination selection control and the duration reaching the duration threshold, the candidate role selection control is displayed. The target marking destination selection control is a candidate marking destination selection control, and the candidate role selection control is used to select the candidate virtual role for marking synchronization.
[0108] In complex marking mode, the terminal displays a control menu at the location of the virtual object. Users can move the touch position to the location where the target marking purpose selection control is displayed, and end the touch operation at the aforementioned location to achieve the target marking purpose corresponding to the target marking purpose selection control. When the user holds the touch operation at the location where the target marking purpose selection control is displayed for a certain period of time, the terminal displays a candidate role selection control so that the user can select the virtual role to be marked for synchronization. Users do not need to learn other operation gestures; they can enter the partial marking selection mode simply by controlling the touch operation time.
[0109] Indicative, such as Figure 8 As shown, when a user performs a touch operation at the virtual object display location 801, and the touch pressure reaches level three, the terminal displays a control menu consisting of candidate target selection controls at the virtual object display location based on the object type. The user moves the touch operation location to the target target selection control, such as the "Attack Control" 803 display location, and while maintaining the pressure at level three, continues to perform a touch operation at the target target selection control display location for a duration threshold. In response to the touch operation satisfying the above conditions, the terminal displays a candidate role selection control, such as the "Friend A Control" 804. The candidate role display control is used by the user to select a candidate virtual role for target synchronization; the candidate virtual role belongs to a virtual role controlled by a user in the user's own faction.
[0110] In one possible implementation, based on the correlation between candidate virtual characters and virtual objects, the terminal determines the control position of the candidate character selection control corresponding to the candidate virtual character. The correlation includes at least one of character attribute correlation and distance correlation, and the positional priority of the control position is positively correlated with the correlation. Based on the control position of the candidate character selection control, the terminal displays the candidate character selection control at the control position. Optionally, the positional priority of the control position can be a straight-line distance representing the distance between the control display position and the target mark selection control display position, with a negative correlation between the positional priority and this straight-line distance. Alternatively, it can be a degree of conformity between the control display position and the user's operational gesture habits. For example, if the user performs a touch operation on the left side of the terminal display area, the left side of the target mark selection control has a higher positional priority than the top side.
[0111] Optionally, the correlation between candidate virtual characters and virtual objects can include the correlation of character attributes. For example, taking MOBA games as an example, when the character attribute of a virtual object is an output-type character with high physical damage, in the battle, a support-type virtual character with buff skills will have a higher correlation with the virtual object. Or, when the object type of a virtual object belongs to virtual items, in the game, a virtual character with faster movement speed will have a higher correlation with it.
[0112] Optionally, the correlation between candidate virtual characters and virtual objects may include distance correlation. That is, when the distance between candidate virtual characters and virtual objects is close, the candidate virtual characters and virtual objects have a high distance correlation. It should be noted that when the terminal determines the correlation between candidate virtual characters and virtual objects by combining distance correlation, and then determines the control position of the candidate character selection control, the terminal may display distance information at the display position of the candidate character selection control so that the user can judge and select the preferred virtual character.
[0113] In an illustrative example, when the duration threshold is 1 second, and the terminal determines the control position priority of the candidate role selection control based on distance correlation, such as... Figure 9As shown, when a user performs a touch operation at the "treasure chest" display position 901, and the touch operation reaches level three pressure, the terminal is in complex marking mode. Based on the fact that the virtual object "treasure chest" belongs to virtual items, the terminal displays a control menu containing a attention control 902 and a cancel control 903 at the virtual object position. Then, when the user moves the touch operation position to the attention control 902 and holds it for 1 second, based on the fact that the "teammate 1" controlled by the user in the same faction is closest to the virtual object, the terminal determines that the candidate character selection control 904 corresponding to "teammate 1A" has the highest position priority. That is, this control is displayed at the position with the shortest straight-line distance from the target mark selection control 902. Similarly, when the "teammate 2" controlled by the user in the same faction is only slightly farther from the virtual object than "teammate 1", the terminal determines that the candidate character selection control 905 corresponding to "teammate 2" has the second position priority, and so on.
[0114] Step 702: In response to the end signal of the touch operation, determine the target role selection control located at the end position of the touch operation.
[0115] This step is the same as step 420. The user can move the touch operation position to the target role selection control display position and end the touch operation at that position to select the candidate role selection control.
[0116] In one possible implementation, in response to the end signal of the touch operation, the terminal detects the coordinates of the end position of the touch operation, determines the candidate role selection control displayed at the coordinates, and then determines that the candidate role selection control is the target role selection control.
[0117] Step 703: Determine the target virtual character corresponding to the target character selection control, and the target mark target corresponding to the target mark target selection control.
[0118] As shown in step 702, the terminal determines the target role selection control, and then determines the virtual role corresponding to the target role selection control based on the mapping relationship between candidate role selection controls and virtual roles. The target virtual role is a virtual role controlled by a user in the user's own faction. The terminal determines that a candidate target selection control is the target target selection control based on the duration of the touch operation on a candidate target selection control reaching a duration threshold. Then, the terminal determines the target target based on the mapping relationship between the target target selection control and the target.
[0119] Optionally, the terminal may display a candidate character selection control containing a virtual character identifier. The virtual character identifier refers to an identifying pattern that can represent the virtual character corresponding to the candidate character selection control. For example, it may be a virtual character portrait, name, code name, etc., or it may be the nickname of the user who controls the virtual character. This application does not limit this.
[0120] In an illustrative example, let's take a MOBA game as an example, such as... Figure 8 As shown, when a user performs a touch operation on a virtual character controlled by an enemy user, in complex marking mode, the terminal displays a control menu containing an "Attack Control" 803, a "Collection Control" 805, and a "Cancel Control" 802. When the user wants to synchronize the marking information of attacking the virtual character only with the virtual character "Friend A" controlled by their own user, the user can first move the touch position to the display position of the target marking destination selection control, i.e., the "Collection Control" 803. In response to the touch position being held in the "Collection Control" 803 for a duration of 1 second, the terminal determines the target marking destination as "Collection," and the terminal displays a candidate character selection control containing the "Friend A Control" 804. Then, the user can move the touch position to the "Friend A Control" 804. In response to the touch operation ending at the display position of the "Friend A Control" 804, the terminal determines the target virtual character as "Friend A."
[0121] Step 704: Mark virtual objects using local marking and display marking prompts containing the target marking purpose. In this local marking method, the marking of virtual objects is synchronized to the target virtual character.
[0122] Based on the target virtual character, the terminal can perform local marking. In local marking, the terminal only synchronizes marking to a subset of virtual characters within the same faction. In one possible implementation, the terminal synchronizes the marking purpose to the target virtual character and displays a marking prompt message containing the target marking purpose on the corresponding terminal. For example, taking a MOBA game as an example, if the terminal determines that "Hero A" is the target virtual character and the target marking purpose selection control is the "Attack" control, then in response to the end signal of the touch operation, the terminal synchronizes the "Attack" mark to "Hero A" and displays an "Attack" prompt on the corresponding terminal.
[0123] In summary, users can select a target virtual object to synchronize a tag containing the tag's purpose to a specified virtual character, so that the virtual character can perform the operation conveyed by the tag's purpose, while other virtual characters are not affected by the tag's operation. This improves the accuracy of the interaction, reduces the possibility of mistransmission of tag information, and improves the efficiency of information exchange.
[0124] In the above-described embodiments, when in complex marking mode, if a user selects a marking target based on a fixed candidate marking target selection control, the user's choice is limited by the number of candidate marking target selection controls. During the game, users typically need to perform relatively complex information interactions. In this scenario, users can convey custom marking targets through a custom marking target control displayed in complex marking mode. Please refer to... Figure 10 This illustrates a flowchart of a custom tagging method provided in an exemplary embodiment. This embodiment uses this method for... Figure 1 Taking the terminal shown as an example, the method may include the following steps:
[0125] Step 1001: Display the custom control for the marked purpose.
[0126] The terminal determines the candidate marker selection control by using materials provided by the server. Therefore, the number of candidate marker selection controls is limited and cannot meet the user's interactive needs in complex virtual games. Furthermore, in situations where there is a possibility, users may use common and convenient communication phrases based on game patterns. These convenient communication phrases are more likely to appear in games and are more in line with the user's own communication habits. To improve the efficiency of information interaction, users can set custom controls by customizing the marker selection.
[0127] In complex tagging mode, the terminal displays a control menu containing a selection control for candidate tag destinations. In one possible implementation, such as... Figure 11 As shown, the terminal displays the custom control 1101 with the marked purpose in the control menu.
[0128] Step 1002: When the touch operation position is located at the custom control of the target, the voice of the target is collected through the microphone.
[0129] Based on step 1001, the terminal displays a custom control for marking the target in the control menu. The user can customize the marking target by moving the touch position to the display position of the custom control. In response to the terminal detecting that the touch position coordinates are located at the display position of the custom control, the terminal starts the recording mode and collects the user's voice through the microphone. That is, the user can convey the marking target by voice. While improving the flexibility of the marking content, the user does not need to perform complicated gesture operations, reducing the impact of the marking process on the user's operation or combat operations.
[0130] In one illustrative embodiment, taking a MOBA game as an example, such as Figure 11As shown, when a user wants to inform their faction that the virtual object "treasure chest" 1102 requires the cooperation of 3 people to obtain, simply displaying the touch operation on the "treasure chest" 1102 and sending an attention marker cannot accurately convey the information that 3 virtual objects are needed to cooperate. The user can move the touch position to the display position of the custom control 1101 of the target in the complex marking mode, and hold the pressure for one second. In response to the terminal detecting that the touch operation coordinate point is at the display position of the custom control 1101 of the target, the terminal starts the recording mode, acquires the user's voice "opening the treasure chest requires 3 people" through the microphone, and stores the voice data to obtain the voice of the target.
[0131] Step 1003: In the case of complex marking mode, in response to the end signal of the touch operation, obtain the end position of the touch operation.
[0132] In complex marking mode, the terminal displays a control menu containing multiple candidate marking target selection controls, a cancel control, and a custom marking target control. The user selects the function to execute by moving the touch position to the target selection control's display location and ending the touch operation at that location. Furthermore, in one possible implementation, the terminal responds to a touch operation end signal by detecting the touch operation end position to determine the target selection control, which is the control displayed at the touch operation end position.
[0133] Step 1004: When the touch operation ends at a custom control of the target, mark the virtual object using global marking and play the target voice message. In global marking, the marking of the virtual object is synchronized to other virtual characters of the same faction.
[0134] The terminal determines the end position of the touch operation. When the end position of the touch operation is located at the display position of the custom control of the target, the terminal determines to execute the marking method corresponding to the custom control of the target and plays the voice of the target. When the user marks the target through global marking, the terminal synchronizes the mark to other virtual characters in its own camp.
[0135] In one possible implementation, in response to the end of the touch operation being located at a custom control of the marked target, the terminal transmits the stored voice data of the marked target to the user terminal of its own camp via the server, and plays it on the user terminal.
[0136] In summary, under complex marking modes, the custom marking purpose control allows users to flexibly set marking purposes with a single touch operation and synchronize the corresponding markings with their own faction's virtual characters. Furthermore, users do not need to learn any new touch operation methods, making the operation simple and convenient. At the same time, it enriches the marking purposes and improves the efficiency of information interaction and the accuracy of marking.
[0137] Based on the above-mentioned application embodiments, this solution determines the marking mode based on the pressure of the touch operation, and then determines the marking method. Since it is difficult for users to judge the relationship between the pressure of the touch operation and the marking mode, during the game, users can switch the marking mode by adjusting the touch pressure. At the same time, the terminal provides feedback to the user on the current marking mode through vibration feedback and visual feedback, reducing misoperation.
[0138] When the pressure applied changes and the mode switching conditions are met, the marking mode is switched.
[0139] In the same touch operation, the user can switch the marking mode by adjusting the pressure applied during the touch operation. In one possible implementation, the mode switching condition includes at least a pressure threshold. When the pressure reaches the pressure threshold, the terminal responds to the touch operation and switches the marking mode. Since the pressure applied is difficult to control in actual operation, a protection range for the pressure level is set to avoid accidental switching. The method for setting the protection range for the pressure level can be to set a first threshold and a second threshold separately, where the pressure area between the first threshold and the second threshold is the pressure protection range.
[0140] In the i-th marker mode, if the pressure applied increases and reaches a first threshold, the system switches to the (i+1)-th marker mode, where i is a positive integer. As the pressure applied during touch operations gradually increases, the terminal uses the first threshold as the mode switching condition. For example... Figure 12 As shown, schematically, when the current state is in the first marking mode, as the pressing pressure increases, when the pressing pressure reaches the first threshold 1211, for example 1N, the change in pressing pressure satisfies the mode switching condition, and the marking mode switches from the first marking mode to the second marking mode; when the current state is in the second marking mode, as the pressing pressure increases, when the pressing pressure reaches the first threshold 1211, for example 3N, the change in pressing pressure satisfies the mode switching condition, and the marking mode switches from the second marking mode to the third marking mode.
[0141] In the (i+1)th marker mode, if the pressure applied decreases and reaches a second threshold, the system switches to the ith marker mode. The second threshold is less than the first threshold. As the pressure applied during touch operations gradually decreases, the terminal uses the second threshold as the mode switching condition. For example... Figure 12As illustrated, when the user is currently in the second marking mode, as the pressure decreases, when the pressure reaches the second threshold 1221 (e.g., 1.5N), the pressure change satisfies the mode switching condition, and the marking mode switches from the second marking mode to the first marking mode. Similarly, when the user is currently in the third marking mode, as the pressure decreases, when the pressure reaches the second threshold 1221 (e.g., 2.5N), the pressure change satisfies the mode switching condition, and the marking mode switches from the third marking mode back to the second marking mode. Since the second threshold is less than the first threshold, there is a certain range of pressure between the two mode switching conditions, i.e., a pressure protection interval 1231. This widens the range of pressure corresponding to the marking modes, reduces the probability of accidental operation, and thus reduces the difficulty of marking operations. Furthermore, in one possible implementation, the terminal can use vibration feedback to notify the user that the marking mode switch has been completed, thereby reducing the possibility of accidental switching. The terminal can provide vibration feedback based on the feedback method corresponding to the switched marking mode, where the vibration intensity is positively correlated with the pressure that triggered the entry into the switched marking mode.
[0142] In summary, the terminal supports users switching marking modes during the same pressing operation, and users only need to adjust the pressing pressure to switch marking modes, which is simple to operate. At the same time, the terminal sets two different pressure thresholds corresponding to different switching directions, and sets a pressure pressure protection range to reduce the impact of the user's control over the pressing pressure on the probability of misoperation, thus reducing the probability of misoperation. Furthermore, the terminal further reduces the probability of misoperation through vibration feedback.
[0143] Since virtual characters can move during gameplay, it is difficult to mark a moving virtual object using touch operation when the user's target is a moving virtual object. The user can trigger an operation using a dynamic marking control displayed on the terminal. In response to the trigger operation, multiple candidate marking object controls are displayed on the terminal. The user can then perform the pressing operation in the above embodiment on the candidate marking object controls to accurately mark the moving virtual object. The following description is based on an exemplary embodiment.
[0144] 1. In response to the trigger operation of the dynamic marker control, display candidate marker object controls, where different candidate marker object controls correspond to different virtual objects in motion.
[0145] In virtual games, virtual characters are often in a moving state. If the virtual objects in motion are marked by touch operation as described in the above-mentioned embodiments, the operation is likely to fail. In order to achieve accurate marking of moving virtual objects, the terminal can display candidate marking object controls. The candidate marking object controls have a mapping relationship with the virtual objects in motion. Users can mark the target marking object controls by performing touch operation on the target marking object controls in the candidate marking object controls, thereby reducing the possibility of marking failure.
[0146] In one possible implementation, such as Figure 13 As shown, a dynamic marker control 1301 is displayed in the terminal. This dynamic marker control is used to enable the dynamic marker mode. In response to the trigger operation of the dynamic marker control, the terminal detects the position and motion characteristics of each virtual object, determines the virtual object that is currently in motion, and then displays the object control 1302 corresponding to the virtual object in motion, i.e., the candidate marker object control, based on the mapping relationship between the virtual object and the object control.
[0147] Optionally, the virtual object corresponding to the candidate marker object control can include only the moving virtual objects within the user's current field of view, or it can be the moving virtual objects in the global scope.
[0148] 2. Receive touch operations on the candidate marker object control.
[0149] In this embodiment, the user can mark the corresponding virtual object by performing a touch operation on the candidate mark object control. The terminal receives the touch operation on the candidate mark object control. Similar to the above embodiment, the terminal determines the marking mode based on the pressure of the touch operation.
[0150] In one possible implementation, when the terminal is in dynamic marking mode, the terminal detects the touch operation location. If the touch operation location is the display location of a candidate marking object control, the terminal receives the touch operation and detects the pressure applied during the touch operation, and then enters the corresponding marking mode based on the pressure applied. For example... Figure 13 As shown, in simple marking mode, in response to the touch operation being located at the target marking object control, the terminal can display a marking preview 1304 at the position of the virtual object 1303 corresponding to the target marking object control 1302. For example, taking a MOBA game as an example, when the user performs a first-level pressure touch operation on the target marking object control of "Hero A", in response to this touch operation, an arrow icon is displayed at the position of the virtual object "Hero A" in the terminal to realize the marking preview; in complex marking mode, such as Figure 14As shown, in response to a touch operation at the target marker object control 1401, the terminal can display a candidate marker target selection control 1402 at the target marker object control position so that the user can select the target marker target selection control.
[0151] In summary, when a user wants to mark a virtual object in motion, the user can trigger a dynamic marking control, bring up a menu of candidate marking object controls, and perform touch operations on the candidate marking object controls to mark the corresponding virtual object. In this embodiment, by displaying a dynamic marking control on the terminal, the process of marking a moving virtual object is transformed into the process of marking a stationary candidate marking object control, which reduces the difficulty of marking while improving the accuracy of marking.
[0152] Please refer to Figure 15 The diagram illustrates a structural block diagram of a virtual object marking device provided in an exemplary embodiment of this application, the device comprising:
[0153] Receiver module 1501 is used to receive touch operations on virtual objects;
[0154] The display module 1502 is used to display a marking mode prompt based on the pressure of the touch operation. The marking mode prompt is used to indicate the current marking mode. Different marking modes correspond to different pressure levels, and the marking method of the virtual object is different in different marking modes.
[0155] The marking module 1503 is used to mark the virtual object in response to the end signal of the touch operation when the target marking mode is in the target marking mode.
[0156] Optionally, the display module 1502 is used for:
[0157] Based on the pressure applied during the touch operation, the current marking mode is determined;
[0158] If the current tagging mode is simple tagging mode, a simple tagging mode prompt will be displayed. Simple tagging mode refers to a tagging mode that does not support conveying the purpose of tagging.
[0159] If the current tagging mode is a complex tagging mode, a complex tagging mode prompt will be displayed. The complex tagging mode refers to a tagging mode that supports conveying the purpose of tagging.
[0160] Optionally, when the current marking mode is a complex marking mode and a complex marking mode prompt is displayed, the display module 1502 is further configured to:
[0161] If the current marking pattern belongs to the complex marking pattern, determine the object type of the virtual object. The object type includes at least one of virtual character, virtual prop, and virtual location.
[0162] The candidate labeling purpose of the virtual object is determined based on the object type, wherein different object types correspond to different candidate labeling purposes;
[0163] Displays a candidate tag selection control corresponding to the candidate tag destination.
[0164] Optionally, in the case of the complex tagging mode, the tagging module 1503 is configured to:
[0165] In response to the end signal of the touch operation, a target marker selection control located at the end position of the touch operation is determined, and the target marker selection control belongs to the candidate marker selection control;
[0166] Determine the target labeling target corresponding to the target labeling target selection control;
[0167] The virtual object is marked using a global marking method, and a marking prompt message containing the purpose of the marking is displayed. In this global marking method, the marking of the virtual object is synchronized to other virtual characters of the same faction.
[0168] Optionally, in the case of the complex marking mode, the display module 1502 is further configured to:
[0169] In response to a touch operation being located at the target marking destination selection control for a duration reaching a duration threshold, a candidate role selection control is displayed. The target marking destination selection control is part of the candidate marking destination selection control, and the candidate role selection control is used to select a candidate virtual role for marking synchronization.
[0170] The marking module 1503 is also used for:
[0171] In response to the end signal of the touch operation, the target character selection control located at the end position of the touch operation is determined;
[0172] Determine the target virtual character corresponding to the target character selection control, and the target marking target corresponding to the target marking target selection control;
[0173] The virtual object is marked using a local marking method, and a marking prompt message containing the target marking purpose is displayed. The marking of the virtual object under the local marking method is synchronized to the target virtual character.
[0174] Optionally, when displaying the candidate role selection control, the display module 1502 is further configured to:
[0175] Based on the correlation between the candidate virtual character and the virtual object, the control position of the candidate character selection control corresponding to the candidate virtual character is determined. The correlation includes at least one of the character attribute correlation and distance correlation, and the position priority of the control position is positively correlated with the correlation.
[0176] The candidate role selection control is displayed at the specified control location.
[0177] Optionally, the display module 1502 is used for:
[0178] Display a custom control for the purpose of marking;
[0179] The marking module 1503 is used for:
[0180] When the touch operation position is located at the custom control of the marked target, voice is captured through the microphone to obtain the voice of the marked target;
[0181] In the case of the complex marking mode, the touch operation end position is obtained in response to the end signal of the touch operation;
[0182] When the touch operation ends at a custom control of the target, the virtual object is marked globally and the target voice is played. The mark of the virtual object under the global marking method is synchronized to other virtual characters of the same faction.
[0183] Optionally, when the current marking mode is simple marking mode and a simple marking mode prompt is displayed, the marking module 1503 is used to:
[0184] If the current tagging mode is simple tagging mode, preview the tagging effect based on the tagging method corresponding to the current tagging mode;
[0185] The simple marking mode includes local marking and global marking. In the local marking mode, the marking of the virtual object is applied locally, while in the global marking mode, the marking of the virtual object is synchronized to other virtual characters of the same faction.
[0186] Optionally, the receiving module 1501 is used for:
[0187] The pressure required to trigger entry into the simple marking mode is less than the pressure required to trigger entry into the complex marking mode.
[0188] Optionally, the marking module 1503 is used for:
[0189] When the pressure changes and the mode switching conditions are met, the marking mode is switched.
[0190] In the i-th marking mode, when the pressing force increases and the pressing force reaches a first threshold, switch to the (i+1)-th marking mode;
[0191] In the (i+1)th marking mode, when the pressing force decreases and the pressing force reaches a second threshold, the system switches to the i-th marking mode, where the second threshold is less than the first threshold.
[0192] Vibration feedback is provided based on the feedback method corresponding to the switched marking mode, wherein the vibration intensity is positively correlated with the pressing force that triggers the switch marking mode.
[0193] Optionally, the display module 1502 is used for:
[0194] In response to a trigger operation on a dynamic marker control, candidate marker object controls are displayed, where different candidate marker object controls correspond to different virtual objects in motion.
[0195] The receiving module 1501 is used for:
[0196] Receive the touch operation on the candidate marker object control.
[0197] Optionally, the marking module 1503 is further configured to:
[0198] Vibration feedback is provided based on the feedback method corresponding to the target marking pattern, wherein the vibration intensity of the vibration feedback is positively correlated with the pressure intensity that triggers the entry into the target marking pattern.
[0199] In summary, in this embodiment, the terminal receives touch operations through a receiving module, then determines the pressure applied by the touch operation. Based on the pressure applied by the touch operation, the display module determines the current marking mode and displays marking mode prompts, such as simple marking mode prompts and complex marking mode prompts, to inform the user of the current marking mode. In complex marking mode, the display module determines candidate marking targets based on the object type of the virtual object and displays the corresponding candidate marking target selection control. In response to the touch operation end signal, the marking module determines the target marking target selection control and marks the virtual object with the corresponding target marking target. Based on different marking modes, the marking module can mark virtual objects through global marking, local marking, and local marking, and provides feedback to the user that the marking is complete through vibration. Through this embodiment, the user can mark the virtual object by performing a single touch operation. Furthermore, based on different pressure applied by the touch operation, the user can perform multiple different markings through one operation method, which reduces the difficulty of operation and the impact of marking operations on control, while improving the efficiency of information interaction between users.
[0200] Please refer to Figure 16 This diagram illustrates a structural block diagram of a terminal 1600 provided in an exemplary embodiment of this application. The terminal 1600 may be a portable mobile terminal, such as a smartphone, tablet computer, Moving Picture Experts Group Audio Layer III (MP3) player, or Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal 1600 may also be referred to as a user device, portable terminal, or other names.
[0201] Typically, terminal 1600 includes a processor 1601 and a memory 1602.
[0202] Processor 1601 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1601 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 1601 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1601 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1601 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.
[0203] The memory 1602 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 are used to store at least one instruction, which is executed by the processor 1601 to implement the method provided in the embodiments of this application.
[0204] Optionally, the terminal 1600 may also include: a peripheral device interface 1603.
[0205] Peripheral interface 1603 can be used to connect at least one input / output (I / O) related peripheral device to processor 1601 and memory 1602. In some embodiments, processor 1601, memory 1602 and peripheral interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1601, memory 1602 and peripheral interface 1603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0206] Optionally, the terminal 1600 may also include a pressure sensor 1604.
[0207] The pressure sensor 1604 is used to detect the pressure applied during touch operation and transmits the pressure data to the processor 1601. The processor 1601 determines the current marking mode based on the pressure data. The pressure sensor 1604 can be connected to the processor 1601 and the memory 1602 through the peripheral device interface 1603.
[0208] This application also provides a computer-readable storage medium storing at least one program that is executed by a processor to implement the virtual object marking method as described in the above embodiments.
[0209] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual object marking method provided in the above embodiments.
[0210] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0211] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for marking virtual objects, characterized in that, The method includes: Receive touch input to virtual objects; Based on the pressure applied during the touch operation, a marking mode prompt is displayed. The marking mode prompt indicates the current marking mode. Different marking modes correspond to different pressure levels, and the marking method for the virtual object is different under different marking modes. If the current marking mode is a complex marking mode, determine the object type of the virtual object. The object type includes at least one of virtual character, virtual prop, and virtual location. The candidate labeling purpose of the virtual object is determined based on the object type, wherein different object types correspond to different candidate labeling purposes; Displays a candidate tag destination selection control corresponding to the candidate tag destination; In the case of the complex marking mode, in response to the touch operation position being located at the target marking destination selection control and the duration reaching the duration threshold, the candidate role selection control is displayed. The target marking destination selection control belongs to the candidate marking destination selection control, and the candidate role selection control is used to select the candidate virtual role for marking synchronization. In the case of the complex marking mode, in response to the end signal of the touch operation, the target character selection control located at the end position of the touch operation is determined; Determine the target virtual character corresponding to the target character selection control, and the target marking target corresponding to the target marking target selection control; The virtual object is marked using a local marking method, and a marking prompt message containing the target marking purpose is displayed. The marking of the virtual object under the local marking method is synchronized to the target virtual character.
2. The method according to claim 1, characterized in that, The method of displaying a marker mode prompt based on the pressure applied during the touch operation includes: Based on the pressure applied during the touch operation, the current marking mode is determined; If the current tagging mode is simple tagging mode, a simple tagging mode prompt will be displayed. Simple tagging mode refers to a tagging mode that does not support conveying the purpose of tagging. If the current tagging mode belongs to the complex tagging mode, a complex tagging mode prompt will be displayed. The complex tagging mode refers to a tagging mode that supports conveying the purpose of tagging.
3. The method according to claim 1, characterized in that, The control for displaying candidate role selection includes: Based on the correlation between the candidate virtual character and the virtual object, the control position of the candidate character selection control corresponding to the candidate virtual character is determined. The correlation includes at least one of the character attribute correlation and distance correlation, and the position priority of the control position is positively correlated with the correlation. The candidate role selection control is displayed at the specified control location.
4. The method according to claim 2, characterized in that, The provision of displaying a complex marking mode prompt when the current marking mode is a complex marking mode also includes: Display a custom control for the purpose of marking; The method further includes: When the touch operation position is located at the custom control of the marked target, voice is captured through the microphone to obtain the voice of the marked target; In the case of the complex marking mode, the touch operation end position is obtained in response to the end signal of the touch operation; When the touch operation ends at a custom control of the target, the virtual object is marked globally and the target voice is played. The mark of the virtual object under the global marking method is synchronized to other virtual characters of the same faction.
5. The method according to claim 2, characterized in that, The provision of displaying a simple tagging mode prompt when the current tagging mode is simple tagging mode includes: If the current tagging mode is simple tagging mode, preview the tagging effect based on the tagging method corresponding to the current tagging mode; The simple marking mode includes local marking and global marking. In the local marking mode, the marking of the virtual object is applied locally, while in the global marking mode, the marking of the virtual object is synchronized to other virtual characters of the same faction.
6. The method according to claim 2, characterized in that, The pressure required to trigger entry into the simple marking mode is less than the pressure required to trigger entry into the complex marking mode.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: When the pressure changes and the mode switching conditions are met, the marking mode is switched.
8. The method according to claim 7, characterized in that, The step of switching the marking mode when the pressure changes and the mode switching conditions are met includes: In the i-th marking mode, when the pressing force increases and the pressing force reaches a first threshold, switch to the (i+1)-th marking mode; In the (i+1)th marking mode, when the pressing force decreases and the pressing force reaches a second threshold, the system switches to the i-th marking mode, where the second threshold is less than the first threshold.
9. The method according to claim 7, characterized in that, The method further includes: Vibration feedback is provided based on the feedback method corresponding to the switched marking mode, wherein the vibration intensity is positively correlated with the pressing force that triggers the switch marking mode.
10. The method according to any one of claims 1 to 6, characterized in that, The method further includes: In response to a trigger operation on a dynamic marker control, candidate marker object controls are displayed, where different candidate marker object controls correspond to different virtual objects in motion. The receiving of touch operations on virtual objects includes: Receive the touch operation on the candidate marker object control.
11. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Vibration feedback is provided based on the feedback method corresponding to the current marking mode, wherein the vibration intensity is positively correlated with the pressure applied to trigger the current marking mode.
12. A marking device for a virtual object, characterized in that, The device includes: The receiving module is used to receive touch operations on virtual objects; The display module is used to display a marking mode prompt based on the pressure applied by the touch operation. The marking mode prompt is used to indicate the current marking mode. Different marking modes correspond to different pressure levels, and the marking method for the virtual object is different under different marking modes. The determination module is used to determine the object type of the virtual object when the current marking mode is a complex marking mode. The object type includes at least one of virtual character, virtual prop, and virtual location. The determining module is used to determine the candidate labeling purpose of the virtual object based on the object type, wherein different object types correspond to different candidate labeling purposes; The display module is used to display the candidate marker selection control corresponding to the candidate marker target; The display module is used to display a candidate role selection control when the complex marking mode is in effect, in response to the touch operation position being located at the target marking destination selection control and the duration reaching a duration threshold. The target marking destination selection control is a candidate marking destination selection control, and the candidate role selection control is used to select a candidate virtual role for marking synchronization. The determining module is used to determine the target character selection control located at the end position of the touch operation in response to the end signal of the touch operation when the complex marking mode is in effect. The determining module is used to determine the target virtual character corresponding to the target character selection control, and the target marking target corresponding to the target marking target selection control; The tagging module is used to tag the virtual object using a local tagging method and display tagging prompt information containing the target tagging purpose, wherein the tagging of the virtual object under the local tagging method is synchronized to the target virtual character.
13. The apparatus according to claim 12, characterized in that, The device includes: The determining module is used to determine the current marking mode based on the pressure applied during the touch operation; The display module is used to display a simple marking mode prompt when the current marking mode is a simple marking mode, where the simple marking mode refers to a marking mode that does not support conveying the purpose of marking. The display module is used to display a complex tagging mode prompt when the current tagging mode belongs to the complex tagging mode, wherein the complex tagging mode refers to a tagging mode that supports conveying the purpose of tagging.
14. The apparatus according to claim 12, characterized in that, The device includes: The determining module is used to determine the control position of the candidate virtual character selection control corresponding to the candidate virtual character based on the correlation degree between the candidate virtual character and the virtual object. The correlation degree includes at least one of the character attribute correlation degree and the distance correlation degree, and the position priority of the control position is positively correlated with the correlation degree. The display module is used to display the candidate role selection control at the control position.
15. The apparatus according to claim 13, characterized in that, The device further includes: The display module is used to display a custom control for marking purposes; The acquisition module is used to acquire voice through a microphone when the touch operation position is located at the custom control of the marked target, and obtain the voice of the marked target; The acquisition module is used to acquire the end position of the touch operation in response to the end signal of the touch operation when the complex marking mode is in effect. The marking module is used to mark the virtual object globally when the end position of the touch operation is located at the custom control of the marking target, and to play the voice of the marking target. In the global marking method, the marking of the virtual object is synchronized to other virtual characters of the same faction.
16. The apparatus according to claim 13, characterized in that, The device includes: The display module is used to preview the marking effect based on the marking method corresponding to the current marking mode when the current marking mode is a simple marking mode; The simple marking mode includes local marking and global marking. In the local marking mode, the marking of the virtual object is applied locally, while in the global marking mode, the marking of the virtual object is synchronized to other virtual characters of the same faction.
17. The apparatus according to claim 13, characterized in that, The pressure required to trigger entry into the simple marking mode is less than the pressure required to trigger entry into the complex marking mode.
18. The apparatus according to any one of claims 12 to 17, characterized in that, The device further includes: The switching module is used to switch the marking mode when the pressing pressure changes and the mode switching conditions are met.
19. The apparatus according to claim 18, characterized in that, The device includes: The switching module, in the i-th marking mode, is used to switch to the (i+1)-th marking mode when the pressing force increases and the pressing force reaches a first threshold. The switching module, in the (i+1)th marking mode, is used to switch to the i-th marking mode when the pressing force decreases and the pressing force reaches a second threshold, wherein the second threshold is less than the first threshold.
20. The apparatus according to any one of claims 12 to 17, characterized in that, The device further includes: The feedback module is used to provide vibration feedback based on the feedback method corresponding to the switched marking mode, wherein the vibration intensity of the vibration feedback is positively correlated with the pressing force that triggers the switch marking mode.
21. The apparatus according to any one of claims 12 to 17, characterized in that, The device further includes: The display module is used to display candidate marker object controls in response to a trigger operation on the dynamic marker control, wherein different candidate marker object controls correspond to different virtual objects in motion. The receiving module is used to receive the touch operation on the candidate marker object control.
22. The apparatus according to any one of claims 12 to 17, characterized in that, The device further includes: The feedback module is used to provide vibration feedback based on the feedback method corresponding to the current marking mode, wherein the vibration intensity of the vibration feedback is positively correlated with the pressure intensity that triggers the entry into the current marking mode.
23. A terminal, characterized in that, The terminal includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the virtual object marking method as described in any one of claims 1 to 11.
24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the method for marking virtual objects as described in any one of claims 1 to 11.
25. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual object marking method as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Information prompting method and device, storage medium and electronic device
CN108744512A
Method for controlling motion of virtual object and device, electronic apparatus and storage medium
CN109316745A
Virtual object control method and device, terminal and storage medium
CN112691375A