WO2023273605A1 - Virtual prop control method and apparatus, and device and computer-readable storage medium - Google Patents

Virtual prop control method and apparatus, and device and computer-readable storage medium Download PDF

Info

Publication number
WO2023273605A1
WO2023273605A1 PCT/CN2022/091389 CN2022091389W WO2023273605A1 WO 2023273605 A1 WO2023273605 A1 WO 2023273605A1 CN 2022091389 W CN2022091389 W CN 2022091389W WO 2023273605 A1 WO2023273605 A1 WO 2023273605A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
response
user
throwing
virtual prop
Prior art date
Application number
PCT/CN2022/091389
Other languages
French (fr)
Chinese (zh)
Inventor
赵梓存
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023273605A1 publication Critical patent/WO2023273605A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5372Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the first aspect of the present disclosure provides a virtual prop control method applied to a first terminal, including:
  • the determining the throwing direction and throwing force of the virtual prop in response to the throwing operation of the virtual prop includes:
  • the moving the virtual prop based on the throwing direction and throwing force includes:
  • determining that the message input by the first user is the interaction information includes:
  • the input interaction information is displayed on the virtual prop.
  • the display module is further configured to display the virtual prop in a second state on the display interface
  • a fifth aspect of the present disclosure provides an electronic device, including: a processor configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the method described in the first aspect are implemented.
  • a tenth aspect of the present disclosure provides a computer program product, which is characterized in that, when the computer program product is run on a computer, the computer is made to execute the method as described in the second aspect.
  • FIG. 7 is a schematic diagram of another display interface provided by the present disclosure.
  • FIG. 12 is a schematic flowchart of another virtual prop control method provided by the present disclosure.
  • FIG. 15 is a schematic flowchart of another virtual prop control method provided by the present disclosure.
  • FIG. 19 is a schematic flowchart of another virtual prop control method provided by the present disclosure.
  • the present disclosure provides a technical solution for controlling virtual props.
  • interactive messages are transmitted between characters, the interaction mode between characters is increased, and the fun of interaction between characters is improved.
  • the interactive message may be a text message and/or a voice message and the like.
  • the technical solutions of the present disclosure can be applied to electronic equipment, where the electronic equipment can be a computer, a tablet, a mobile phone, or other intelligent terminal equipment.
  • the electronic device has a display screen, wherein the display screen can be a touch screen or a non-touch screen.
  • the user can realize the interactive operation with the electronic device through gestures, fingers or touch tools (for example, a stylus) .
  • the interactive operation with the electronic devices can be realized through external devices (for example, a mouse, a keyboard, or a camera, etc.) or voice recognition or facial expression recognition.
  • Fig. 3 is a schematic flowchart of a method for controlling virtual props provided by the present disclosure.
  • the embodiment shown in Fig. 3 is applied to the first terminal, and the method of this embodiment is as follows:
  • the display interface refers to the interface displayed on the electronic device by running the interactive APP.
  • virtual props are displayed in the first state.
  • the virtual props displayed in the first state may be virtual props that do not carry any interactive information, or may be It is a virtual prop that already carries some information.
  • character A wants to interact with character B, and character A initiates the interaction.
  • the virtual prop does not carry any interaction information, as shown in Figure 1, which is a blank paper.
  • Figure 4 is a piece of paper carrying part of the interaction information.
  • the first user may input an interactive message in the virtual prop displayed in the first state.
  • An input box is displayed on the display interface, and the first user inputs a message in the input box, specifically, a text message may be input in the text input box, and the text message is determined in response to the text message input by the first user in the text input box It may be an interactive message; it may also be that the first user triggers a voice input control to input a voice message, and in response to the first user triggering a voice input control to input a voice message, the voice message is determined to be an interactive message; it may also be that the first user triggers a gesture input control to input a gesture message, determine that the gesture message is an interactive message; or select an emoticon to input an emoticon message, and determine that the emoticon message is an interactive message.
  • the display interface of the first terminal displays the virtual props in the second state as shown in Figure 2.
  • the virtual props in the second state carry interactive messages, but the interactive messages cannot be consulted.
  • the second state is convenient for throwing and passing the virtual props Or move.
  • the throwing operation of the first user includes the throwing direction and throwing force of the virtual item, so the first terminal can determine the throwing direction and throwing force of the virtual item according to the first user's throwing operation.
  • the first terminal throws the virtual item along the determined throwing direction with the determined throwing force, so that the virtual item can move along the throwing direction to the area where the B character is located, so as to realize accurate throwing of the virtual item.
  • the virtual prop in the first state on the display interface; in response to the trigger of the first user, determining the interaction information in the virtual prop; displaying the virtual prop in the second state on the display interface; in response to The throwing action of the first user determines the throwing direction and force of the virtual item; based on the throwing direction and force, the virtual item is thrown, and the virtual item is used as the information carrier.
  • the virtual item displayed in the first state is convenient for checking information, and displayed in the second state
  • the virtual props are convenient for message transmission, which enriches the transmission method of interactive information, and the virtual props are moved by throwing, which improves the fun of the interaction between characters.
  • Fig. 5 is a schematic flow chart of another virtual prop control method provided by the present disclosure. Fig. 5 is based on the embodiment shown in Fig. 1. Before executing S104, it also includes:
  • Fig. 6 is a schematic flowchart of another virtual prop control method provided by the present disclosure. Fig. 6 is based on the embodiment shown in Fig. 3, and before executing S101, it also includes:
  • the first terminal After the first terminal receives the virtual props thrown by other terminals, it displays the interface as shown in Figure 7.
  • the first user can press and hold the position of the virtual prop in the display interface, or click the position of the virtual prop in the display interface, or click to display
  • the pick-up button in the interface triggers the operation of picking up virtual props, and according to the pick-up operation triggered by the first user, the virtual props in the second state are expanded, as shown in Figure 2.
  • Fig. 8 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure.
  • Fig. 8 is based on the embodiment shown in Fig. 6. After executing S301, it also includes:
  • the throwing operation in the above embodiment may be a sliding operation.
  • the first user triggers the button of throwing the virtual item on the first terminal.
  • the position identifier of at least one candidate virtual character is displayed on the display interface of the first terminal, as shown in FIG. 11 .
  • S105 includes but is not limited to the following specific implementations, as shown in FIG. 9:
  • the first terminal obtains the interactive message quickly through the first user's operation of selecting a preset interactive message, which can shorten the time for the first user to input the interactive message and improve the efficiency of the interaction.
  • the interactive message can be a text message or a voice message, and users can interact with each other through text or voice, which enriches the content of the interactive message and improves the fun of the interaction.
  • FIG. 18 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure, as shown in FIG. 18 , specifically including:
  • the second user After the second user opens the virtual item, reads the interactive message carried in the virtual item, and needs to reply to the interactive message, the second user can trigger the reply button in the display interface, as shown in FIG. 20 .
  • the reply button According to the operation of the second user triggering the reply button, an input box as shown in 4 is displayed, or a preset interactive message option as shown in FIG. Set interactive message options.
  • the second user can flexibly input an interaction message to be sent in the input box according to actual needs, so the content of the interaction message is richer and meets various needs of the user.
  • the input interaction information is displayed on the virtual prop.
  • the second terminal displays the preset interactive message options as shown in Figure 13
  • the content displayed by the preset interactive message options is the content commonly used by the user during interaction, and the user can select an appropriate preset interactive message according to his own needs, and the second terminal according The preset interaction message selected by the user is rendered and displayed on the virtual prop.
  • Fig. 21 is a schematic flowchart of another virtual prop control method provided by the present disclosure.
  • Fig. 21 is based on the embodiment shown in Fig. 19 and further includes:
  • the interaction information includes the identification of the target virtual character
  • the second terminal can determine whether the target virtual character of the received virtual item is the second user according to the interaction message. If the target virtual character of the virtual item is not the virtual character corresponding to the second user, It means that the received virtual item is not sent to the second user by other users, and the virtual item needs to be thrown again at this time.
  • the operation of re-throwing the virtual item may be sending the virtual item to its corresponding target virtual character, or sending the virtual item to its corresponding sender, and triggering a redirected throwing operation accordingly.
  • FIG. 22 is a schematic structural diagram of a virtual prop control device provided by the present disclosure. As shown in FIG. 22 , the device of this embodiment is applied to a first terminal, including: a display module 110 and a processing module 120, wherein,
  • a processing module 120 configured to determine the interaction information in the virtual prop in response to the information confirmation operation
  • the display module 110 is further configured to display the virtual prop in a second state on the display interface
  • the processing module 120 is further configured to determine the throwing direction and throwing force of the virtual prop in response to the throwing operation of the virtual prop;
  • the display module 110 is further configured to display the position identification of at least one candidate virtual character on the display interface in response to a viewing operation.
  • the throwing operation includes a sliding operation
  • the processing module 120 is specifically configured to display the position identification of at least one candidate virtual character on the display interface in response to the start of the sliding operation; based on the position identification of the target virtual character in the at least one candidate virtual character, adjusting the throwing direction of the virtual item according to the sliding direction of the sliding operation; adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation;
  • the display module 120 is specifically configured to display the virtual item in a second state on the display interface in response to the closing operation of the virtual item by the first user.
  • the processing module 120 is specifically configured to, in response to the input of the first user, determine that the message input by the first user is the interaction information; and/or, in response to the selection of the first user, from The interaction information is determined from a plurality of preset interaction messages that are preset.
  • the display module 110 is further configured to change the virtual item from the second state to the first state and display it in response to the opening operation of the first user.
  • a display module 210 configured to display virtual props in a second state on the display interface
  • a processing module 220 configured to pick up the virtual prop in response to a pick-up operation by the second user
  • the display module 220 is further configured to display an input box and/or preset interactive message options in response to the second user's trigger operation on the reply button; in response to the second user's input in the input box , displaying the input interaction information on the virtual item; and/or, in response to the second user selecting the preset interaction message, displaying the selected preset interaction message on the virtual item.
  • the display module 210 is specifically configured to display the input interaction information on the virtual prop in response to the text message input by the second user in the text input box, or, in response to the first 2.
  • the user triggers the voice input control to input a voice message, and displays the input interactive information on the virtual prop.
  • the processing module 220 is further configured to determine a redirection throwing operation based on the target virtual character's identification; in response to the redirection throwing operation, determine the throwing direction and throwing force of the virtual prop; based on the throwing direction and Throw power to move said virtual item.

Landscapes

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

Abstract

The present disclosure relates to a virtual prop control method and apparatus, and a device and a computer-readable storage medium. The method comprises: presenting a virtual prop in a display interface and in a first state; in response to an information confirmation operation, determining interaction information in the virtual prop; presenting the virtual prop in the display interface and in a second state; in response to a casting operation on the virtual prop, determining the cast direction and cast strength of the virtual prop; and moving the virtual prop on the basis of the cast direction and the cast strength. A virtual prop is taken as an information carrier, the virtual prop, when presented in a first state, is conducive to viewing a message, and the virtual prop, when presented in a second state, is conducive to transmitting the message, thereby enriching the transmission methods for interaction information; and moreover, the virtual prop is moved in a cast manner, thereby improving the interestingness of interaction between characters.

Description

虚拟道具控制方法、装置、设备和计算机可读存储介质Virtual prop control method, device, device and computer-readable storage medium
本公开要求于2021年06月30日提交中国专利局、申请号为202110737944.7、发明名称为“虚拟道具控制方法、装置、设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202110737944.7 and the title of the invention "virtual props control method, device, equipment and computer-readable storage medium" submitted to the China Patent Office on June 30, 2021, the entire content of which Incorporated by reference in this disclosure.
技术领域technical field
本公开涉及计算机通信技术领域,尤其涉及一种虚拟道具控制方法、装置、设备和计算机可读存储介质。The present disclosure relates to the technical field of computer communication, and in particular to a virtual prop control method, device, equipment and computer-readable storage medium.
背景技术Background technique
在游戏等互动应用程序(Application,APP)中,通常会涉及到多个角色之间的互动。In an interactive application program (Application, APP) such as a game, the interaction between multiple characters is usually involved.
现有技术中通常是通过在设置的聊天对话框内输入互动消息进行互动;或者,角色在输入框内输入想要表达的互动消息,在角色的头顶或者角色附近的位置以气泡的形式显示所述互动消息。In the prior art, the interaction is usually carried out by inputting interactive messages in the set chat dialog; or, the character enters the interactive message to be expressed in the input box, and displays all the messages in the form of bubbles on the top of the character's head or near the character. Describe the interactive message.
然而,采用现有技术的方式,角色之间互动的形式比较单一,趣味性不高。However, in the way of the prior art, the form of interaction between characters is relatively single, and the interest is not high.
发明内容Contents of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种虚拟道具控制方法、装置、设备和计算机可读存储介质。In order to solve the above technical problems or at least partly solve the above technical problems, the present disclosure provides a virtual prop control method, device, equipment and computer-readable storage medium.
本公开第一方面提供一种虚拟道具控制方法,应用于第一终端,包括:The first aspect of the present disclosure provides a virtual prop control method applied to a first terminal, including:
在显示界面中以第一状态展示虚拟道具;displaying the virtual prop in the first state in the display interface;
响应于信息确认操作,确定所述虚拟道具中的交互信息;In response to an information confirmation operation, determine the interaction information in the virtual prop;
在显示界面中以第二状态展示所述虚拟道具;displaying the virtual prop in a second state on the display interface;
响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;determining the throwing direction and throwing force of the virtual item in response to a throwing operation on the virtual item;
基于所述投掷方向和投掷力量,移动所述虚拟道具。The virtual item is moved based on the throwing direction and throwing force.
可选的,所述在显示界面中以第二状态展示所述虚拟道具之后,所述方法还包括:Optionally, after displaying the virtual prop in the second state on the display interface, the method further includes:
响应于查看操作,在所述显示界面中展示至少一个候选虚拟角色的位置标识。In response to the viewing operation, displaying the position identification of at least one candidate virtual character on the display interface.
可选的,所述在显示界面中以第一状态展示虚拟道具之前或者所述移动所述虚拟道具之后,所述方法还包括:Optionally, before displaying the virtual prop in the first state on the display interface or after moving the virtual prop, the method further includes:
响应于拾取操作,拾取所述虚拟道具,所述虚拟道具以所述第二状态展示。In response to a pick-up operation, the virtual prop is picked up, and the virtual prop is displayed in the second state.
可选的,所述投掷操作包括滑动操作;Optionally, the throwing operation includes a sliding operation;
所述响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量,包括:The determining the throwing direction and throwing force of the virtual prop in response to the throwing operation of the virtual prop includes:
响应于所述滑动操作开始,在所述显示界面中展示至少一个候选虚拟角色的位置标识;In response to the start of the sliding operation, displaying the position identification of at least one candidate virtual character on the display interface;
基于至少一个所述候选虚拟角色中目标虚拟角色的所述位置标识,根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向;Adjusting the throwing direction of the virtual prop according to the sliding direction of the sliding operation based on the position identification of the target virtual character in at least one of the candidate virtual characters;
根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量;adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation;
所述基于所述投掷方向和投掷力量,移动所述虚拟道具,包括:The moving the virtual prop based on the throwing direction and throwing force includes:
基于所述投掷方向和所述投掷力量,将所述虚拟道具移动至所述目标虚拟角色所在区域。Based on the throwing direction and the throwing force, the virtual prop is moved to the area where the target virtual character is located.
可选的,所述根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向,包括:Optionally, the adjusting the throwing direction of the virtual item according to the sliding direction of the sliding operation includes:
在滑动操作进行中,确定当前时刻滑动终点至滑动起点的方向为所述投掷方向;During the sliding operation, it is determined that the direction from the sliding end point to the sliding starting point at the current moment is the throwing direction;
所述根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量,包括:The adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation includes:
在滑动操作进行中,基于当前时刻滑动终点与所述滑动起点的距离确定所述投掷力量。During the sliding operation, the throwing force is determined based on the distance between the sliding end point and the sliding start point at the current moment.
可选的,所述在显示界面中以第二状态展示所述虚拟道具,包括:Optionally, the displaying the virtual prop in the second state on the display interface includes:
响应于第一用户对所述虚拟道具的闭合操作,在显示界面中以第二状态展示所述虚拟道具。In response to the closing operation of the virtual prop by the first user, the virtual prop is displayed in a second state on the display interface.
可选的,所述响应于信息确认操作,确定所述虚拟道具中的交互信息,包括:Optionally, the determining the interaction information in the virtual prop in response to the information confirmation operation includes:
响应于第一用户的输入,确定所述第一用户输入的消息为所述交互信息;In response to the input of the first user, determine that the message input by the first user is the interaction information;
和/或,响应于所述第一用户的选择,从预先设置的多个预设交互消息中确定所述交互信息。And/or, in response to the selection of the first user, the interaction information is determined from a plurality of preset interaction messages that are preset.
可选的,所述响应于第一用户的输入,确定所述第一用户输入的消息为所述交互信息,包括:Optionally, in response to the first user's input, determining that the message input by the first user is the interaction information includes:
响应于所述第一用户在文本输入框内输入的文本消息,确定所述文本消息为所述交互信息;Responding to a text message input by the first user in a text input box, determining that the text message is the interaction information;
或者,or,
响应于所述第一用户触发语音输入控件输入语音消息,确定所述语音消息为所述交互信息。In response to the first user triggering a voice input control to input a voice message, it is determined that the voice message is the interaction information.
可选的,所述响应于拾取操作,拾取所述虚拟道具之后,所述方法还包括:Optionally, after picking up the virtual prop in response to the picking operation, the method further includes:
响应于第一用户的打开操作,所述虚拟道具由所述第二状态变为所述第一状态并展示。In response to the first user's opening operation, the virtual prop changes from the second state to the first state and is displayed.
可选的,所述在所述显示界面中展示至少一个候选虚拟角色的位置标识,包括:Optionally, the displaying the location identification of at least one candidate virtual character on the display interface includes:
响应于所述交互信息中携带的至少一个所述虚拟角色的角色标识,确定所述角色标识对应的所述虚拟角色为候选虚拟角色;In response to the role identifier of at least one of the virtual characters carried in the interaction information, determine that the virtual character corresponding to the role identifier is a candidate virtual character;
在所述显示界面中,展示所述候选虚拟角色的所述位置标识,或者按照预设效果展示所述候选虚拟角色的所述位置标识,所述预设效果与其它虚拟角色位置标识展示效果不同。In the display interface, the position identification of the candidate virtual character is displayed, or the position identification of the candidate virtual character is displayed according to a preset effect, and the preset effect is different from the position identification display effect of other virtual characters .
本公开第二方面提供一种虚拟道具控制方法,应用于第二终端,包括:The second aspect of the present disclosure provides a virtual prop control method applied to a second terminal, including:
在显示界面中以第二状态展示虚拟道具;displaying the virtual prop in the second state on the display interface;
响应于第二用户的拾取操作,拾取所述虚拟道具;picking up the virtual item in response to a picking operation by the second user;
响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。In response to the opening operation of the second user, the virtual prop is displayed in a first state on the display interface.
可选的,所述显示界面上显示有回复按钮;Optionally, a reply button is displayed on the display interface;
所述在所述显示界面中以第一状态展示所述虚拟道具之后,所述方法还包括:After displaying the virtual prop in the first state on the display interface, the method further includes:
响应于所述第二用户对所述回复按钮的触发操作,显示输入框和/或预设交互消息选项;displaying an input box and/or preset interactive message options in response to the trigger operation of the reply button by the second user;
响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息;In response to the second user's input in the input box, displaying the input interaction information on the virtual item;
和/或,响应于所述第二用户的选择的预设交互消息,在所述虚拟道具上显示所述选择的预设交互消息。And/or, in response to the preset interaction message selected by the second user, the selected preset interaction message is displayed on the virtual item.
可选的,所述响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息,包括:Optionally, the displaying the input interaction information on the virtual prop in response to the second user's input in the input box includes:
响应于所述第二用户在文本输入框内输入的文本消息,在所述虚拟道具上显示所述输入的交互信息;In response to a text message input by the second user in the text input box, displaying the input interaction information on the virtual item;
或者,or,
响应于所述第二用户触发语音输入控件输入语音消息,在所述虚拟道具上显示所述输入的交互信息。In response to the second user triggering a voice input control to input a voice message, the input interaction information is displayed on the virtual prop.
可选的,所述交互信息中包括:目标虚拟角色的标识;Optionally, the interaction information includes: an identification of the target virtual character;
所述方法还包括:The method also includes:
基于所述目标虚拟角色的标识,确定重定向投掷操作;determining a redirected throwing operation based on the identity of the target virtual character;
响应于所述重定向投掷操作,确定所述虚拟道具的投掷方向和投掷力量;determining the throwing direction and throwing force of the virtual item in response to the redirected throwing operation;
基于所述投掷方向和投掷力量,移动所述虚拟道具。The virtual item is moved based on the throwing direction and throwing force.
本公开第三方面提供一种虚拟道具控制装置,应用于第一终端,包括:A third aspect of the present disclosure provides a virtual prop control device applied to a first terminal, including:
显示模块,用于在显示界面中以第一状态展示虚拟道具;A display module, configured to display the virtual prop in the first state on the display interface;
处理模块,用于响应于信息确认操作,确定所述虚拟道具中的交互信息;A processing module, configured to determine the interaction information in the virtual prop in response to an information confirmation operation;
所述显示模块,还用于在显示界面中以第二状态展示所述虚拟道具;The display module is further configured to display the virtual prop in a second state on the display interface;
所述处理模块,还用于响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;The processing module is further configured to determine the throwing direction and throwing force of the virtual prop in response to the throwing operation on the virtual prop;
所述处理模块,还用于基于所述投掷方向和投掷力量,移动所述虚拟道具。The processing module is further configured to move the virtual prop based on the throwing direction and throwing force.
本公开第四方面提供一种虚拟道具控制装置,应用于第二终端,包括:A fourth aspect of the present disclosure provides a device for controlling virtual props, which is applied to a second terminal, including:
显示模块,用于在显示界面中以第二状态展示虚拟道具;A display module, configured to display the virtual prop in the second state on the display interface;
处理模块,用于响应于第二用户的拾取操作,拾取所述虚拟道具;a processing module, configured to pick up the virtual item in response to a second user's pick-up operation;
所述显示模块,还用于响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。The display module is further configured to display the virtual item in a first state on the display interface in response to the opening operation of the second user.
本公开第五方面提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第一方面所述的方法的步骤。A fifth aspect of the present disclosure provides an electronic device, including: a processor configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the method described in the first aspect are implemented.
本公开第六方面提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第二方面所述的方法的步骤。A sixth aspect of the present disclosure provides an electronic device, including: a processor configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the method described in the second aspect are implemented.
本公开第七方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的方法的步骤。A seventh aspect of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
本公开第八方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第二方面所述的方法的步骤。An eighth aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the second aspect are implemented.
本公开第九方面提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时, 使得所述计算机执行如第一方面所述的方法。A ninth aspect of the present disclosure provides a computer program product. When the computer program product is run on a computer, it causes the computer to execute the method described in the first aspect.
本公开第十方面提供一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第二方面所述的方法。A tenth aspect of the present disclosure provides a computer program product, which is characterized in that, when the computer program product is run on a computer, the computer is made to execute the method as described in the second aspect.
本公开的技术方案,通过在显示界面中以第一状态展示虚拟道具;响应于信息确认操作,确定虚拟道具中的交互信息;在显示界面中以第二状态展示虚拟道具;响应于针对虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;基于投掷方向和投掷力量,移动虚拟道具,以虚拟道具作为信息载体,以第一状态展示的虚拟道具便于查阅消息,以第二状态展示的虚拟道具便于传输消息,丰富了交互信息的传输方式,并且以投掷的方式移动虚拟道具,提高了角色之间互动的趣味性。In the technical solution of the present disclosure, the virtual props are displayed in the first state on the display interface; the interactive information in the virtual props is determined in response to the information confirmation operation; the virtual props are displayed in the second state on the display interface; in response to the virtual props The throwing operation determines the throwing direction and throwing power of the virtual prop; based on the throwing direction and throwing power, the virtual prop is moved, and the virtual prop is used as an information carrier, and the virtual prop displayed in the first state is convenient for checking information, and in the second state The displayed virtual props are convenient for message transmission, which enriches the transmission method of interactive information, and the virtual props are moved by throwing, which improves the fun of the interaction between characters.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本公开提供的一种虚拟纸团的一种展示状态示意图;FIG. 1 is a schematic diagram of a display state of a virtual paper ball provided by the present disclosure;
图2为本公开提供的一种虚拟纸团的另一种展示状态示意图;FIG. 2 is a schematic diagram of another display state of a virtual paper ball provided by the present disclosure;
图3为本公开提供的一种虚拟道具控制方法的流程示意图;FIG. 3 is a schematic flowchart of a method for controlling virtual props provided by the present disclosure;
图4为本公开提供的一种显示界面的示意图;FIG. 4 is a schematic diagram of a display interface provided by the present disclosure;
图5为本公开提供的另一种虚拟道具控制方法的流程示意图;FIG. 5 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图6为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 6 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图7为本公开提供的另一种显示界面的示意图;FIG. 7 is a schematic diagram of another display interface provided by the present disclosure;
图8为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 8 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图9为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 9 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图10为本公开提供的又一种显示界面的示意图;FIG. 10 is a schematic diagram of another display interface provided by the present disclosure;
图11为本公开提供的又一种显示界面的示意图;FIG. 11 is a schematic diagram of another display interface provided by the present disclosure;
图12为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 12 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图13为本公开提供的又一种显示界面的示意图;FIG. 13 is a schematic diagram of another display interface provided by the present disclosure;
图14为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 14 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图15为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 15 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图16为本公开提供的又一种显示界面的示意图;FIG. 16 is a schematic diagram of another display interface provided by the present disclosure;
图17为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 17 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图18为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 18 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图19为本公开提供的又一种虚拟道具控制方法的流程示意图;FIG. 19 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图20为本公开提供的又一种显示界面的示意图;FIG. 20 is a schematic diagram of another display interface provided by the present disclosure;
图21为本公开提供的又一种虚拟道具控制方法的流程示意图;Fig. 21 is a schematic flowchart of another virtual prop control method provided by the present disclosure;
图22为本公开提供的一种虚拟道具控制装置的结构示意图;Fig. 22 is a schematic structural diagram of a virtual prop control device provided by the present disclosure;
图23为本公开提供的另一种虚拟道具控制装置的结构示意图。Fig. 23 is a schematic structural diagram of another virtual prop control device provided by the present disclosure.
具体实施方式detailed description
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.
本公开提供一种虚拟道具控制的技术方案,通过对虚拟道具的控制,在角色之间传递交互消息,增加角色之间的互动方式,提高角色之间互动的趣味性。其中,交互消息可以是文本消息和/或语音消息等。The present disclosure provides a technical solution for controlling virtual props. Through the control of virtual props, interactive messages are transmitted between characters, the interaction mode between characters is increased, and the fun of interaction between characters is improved. Wherein, the interactive message may be a text message and/or a voice message and the like.
本公开的虚拟道具有至少两种展示状态,所述至少两种展示状态不同,其中,一种展示状态便于用户查阅该虚拟道具携带的交互消息,另一种展示状态便于虚拟道具的投掷、传递或者移动,在这种展示状态下,虚拟道具携带的交互消息不可查阅。The virtual props of the present disclosure have at least two display states, and the at least two display states are different, wherein one display state is convenient for users to check the interactive information carried by the virtual prop, and the other display state is convenient for throwing and passing the virtual prop Or move. In this display state, the interactive messages carried by the virtual props cannot be viewed.
举例来说,虚拟道具可以是虚拟纸团、虚拟盒体或者其他能够有两种展示状态的虚拟道具。以虚拟纸团为例,虚拟纸团的一种展示状态为平铺状态,如图1所示,图1为本公开提供的一种虚拟纸团的一种展示状态示意图,此时,纸团携带的交互消息用户可以查阅;虚拟纸团的另一种展示状态为团状,该团状类似于将纸张通过揉捏之后形成的团状,如图2所示,图2为本公开提供的一种虚拟纸团的另一种展示状态示意图,此时,虚拟纸团携带的交互消息用户不可以查阅。For example, the virtual prop may be a virtual paper ball, a virtual box or other virtual props capable of displaying in two states. Taking the virtual paper ball as an example, a display state of the virtual paper ball is a flat state, as shown in Figure 1, which is a schematic diagram of a display state of a virtual paper ball provided by the present disclosure. At this time, the paper ball The interactive message carried by the user can be viewed; another display state of the virtual paper ball is a ball, which is similar to the ball formed after paper is kneaded, as shown in Figure 2, which is provided by the present disclosure A schematic diagram of another display state of a virtual paper ball. At this time, the interactive message carried by the virtual paper ball cannot be viewed by the user.
本公开的技术方案可应用于游戏等角色互动场景中,下述实施例以游戏场景为例,虚拟道具以虚拟纸团为例进行描述。The technical solution of the present disclosure can be applied to character interaction scenes such as games. The following embodiments use game scenes as examples, and virtual props use virtual paper balls as examples for description.
本公开的技术方案可以应用于电子设备,其中,电子设备可以是电脑、平板、手机或者其他智能终端设备等。电子设备具有显示屏,其中,显示屏可以是触摸屏,也可以是非触摸屏,对于具有触摸屏的电子设备,用户可以通过手势、手指或者触控工具(例如,触控笔)实现与电子设备的交互操作。对于非触摸屏的电子设备,可以通过外部设备(例如,鼠标、键盘或者摄像头等)或者语音识别或者表情识别等实现与电子设备的交互操作。The technical solutions of the present disclosure can be applied to electronic equipment, where the electronic equipment can be a computer, a tablet, a mobile phone, or other intelligent terminal equipment. The electronic device has a display screen, wherein the display screen can be a touch screen or a non-touch screen. For an electronic device with a touch screen, the user can realize the interactive operation with the electronic device through gestures, fingers or touch tools (for example, a stylus) . For non-touch screen electronic devices, the interactive operation with the electronic devices can be realized through external devices (for example, a mouse, a keyboard, or a camera, etc.) or voice recognition or facial expression recognition.
下面以几个具体的实施例对本公开的技术方案进行描述:The technical solution of the present disclosure is described below with several specific embodiments:
图3为本公开提供的一种虚拟道具控制方法的流程示意图,如图3所示的实施例应用于第一终端,本实施例的方法如下:Fig. 3 is a schematic flowchart of a method for controlling virtual props provided by the present disclosure. The embodiment shown in Fig. 3 is applied to the first terminal, and the method of this embodiment is as follows:
S101,在显示界面中以第一状态展示虚拟道具。S101. Display a virtual prop in a first state on a display interface.
其中,显示界面是指运行互动APP在电子设备上显示的界面,在显示界面中以第一状态展示虚拟道具,以第一状态展示的虚拟道具可以是未携带任何交互信息的虚拟道具,也可以是已携带部分信息的虚拟道具,举例来说,A角色要和B角色进行互动,由A角色发起互动,首次互动时,虚拟道具中未携带任何交互信息,如图1所示,为一张空白纸。再 例如,A角色和B角色已经互动过好几轮,则虚拟道具中携带之前几轮的交互信息,如图4所示,为一张携带了部分交互信息的纸。第一用户可以在第一状态展示的虚拟道具中输入交互消息。Among them, the display interface refers to the interface displayed on the electronic device by running the interactive APP. In the display interface, virtual props are displayed in the first state. The virtual props displayed in the first state may be virtual props that do not carry any interactive information, or may be It is a virtual prop that already carries some information. For example, character A wants to interact with character B, and character A initiates the interaction. When interacting for the first time, the virtual prop does not carry any interaction information, as shown in Figure 1, which is a blank paper. For another example, character A and character B have interacted for several rounds, and the virtual props carry the interaction information of the previous rounds, as shown in Figure 4, which is a piece of paper carrying part of the interaction information. The first user may input an interactive message in the virtual prop displayed in the first state.
S102,响应于信息确认操作,确定所述虚拟道具中的交互信息。S102. Determine the interaction information in the virtual prop in response to the information confirmation operation.
第一用户在虚拟道具处于第一状态时,输入交互消息,第一终端基于用户输入的交互消息,确定用户该交互消息为虚拟道具中的交互消息。The first user inputs an interaction message when the virtual item is in the first state, and the first terminal determines that the user's interaction message is an interaction message in the virtual item based on the interaction message input by the user.
输入交互消息的方式包括但不限于如下可能的实现方式:The ways of inputting interactive messages include but are not limited to the following possible implementation ways:
在所述显示界面上显示输入框,第一用户在输入框内输入消息,具体可以是在文本输入框内输入文本消息,响应于第一用户在文本输入框内输入的文本消息,确定文本消息为交互消息;也可以是第一用户触发语音输入控件输入语音消息,响应于第一用户触发语音输入控件输入语音消息,确定语音消息为交互消息;也可以是第一用户触发手势输入控件输入手势消息,确定手势消息为交互消息;也可以是选择表情输入表情消息,确定表情消息为交互消息。An input box is displayed on the display interface, and the first user inputs a message in the input box, specifically, a text message may be input in the text input box, and the text message is determined in response to the text message input by the first user in the text input box It may be an interactive message; it may also be that the first user triggers a voice input control to input a voice message, and in response to the first user triggering a voice input control to input a voice message, the voice message is determined to be an interactive message; it may also be that the first user triggers a gesture input control to input a gesture message, determine that the gesture message is an interactive message; or select an emoticon to input an emoticon message, and determine that the emoticon message is an interactive message.
S103,在显示界面中以第二状态展示所述虚拟道具。S103. Display the virtual prop in a second state on the display interface.
第一终端的显示界面中显示如图2所示的第二状态下的虚拟道具,第二状态下的虚拟道具携带有交互消息,但是交互消息不可查阅,第二状态便于虚拟道具的投掷、传递或者移动。The display interface of the first terminal displays the virtual props in the second state as shown in Figure 2. The virtual props in the second state carry interactive messages, but the interactive messages cannot be consulted. The second state is convenient for throwing and passing the virtual props Or move.
S104,响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量。S104. In response to a throwing operation on the virtual item, determine a throwing direction and a throwing force of the virtual item.
第一用户针对虚拟道具中携带的交互消息确定虚拟道具的投掷目标,根据投掷目标所在区域,在第一终端设置投掷虚拟道具的方向和投掷力量,之后触发投掷操作,例如,第一用户对应的A角色需要将虚拟道具投掷给B角色,第一用户在第一终端的显示界面上设置投掷方向和投掷力量,其中,投掷方向指向B角色所在区域,投掷力量取决于A角色与B角色之间的距离,A角色与B角色之间的距离越长,所需的投掷力量越大,设置完成后触发投掷操作。According to the interactive message carried in the virtual item, the first user determines the throwing target of the virtual item, sets the direction and throwing force of the virtual item at the first terminal according to the area where the target is located, and then triggers the throwing operation, for example, the first user corresponds to Character A needs to throw virtual props to character B. The first user sets the throwing direction and throwing power on the display interface of the first terminal. The throwing direction points to the area where character B is located, and the throwing power depends on the distance between character A and character B. The longer the distance between character A and character B, the greater the throwing force required, and the throwing operation will be triggered after the setting is completed.
第一用户的投掷操作中包括虚拟道具的投掷方向和投掷力量,故第一终端根据第一用户的投掷操作,能够确定出虚拟道具的投掷方向和投掷力量。The throwing operation of the first user includes the throwing direction and throwing force of the virtual item, so the first terminal can determine the throwing direction and throwing force of the virtual item according to the first user's throwing operation.
S105,基于所述投掷方向和投掷力量,移动所述虚拟道具。S105. Based on the throwing direction and throwing force, move the virtual prop.
基于上述实施例,第一终端以确定的投掷力量,将虚拟道具沿确定的投掷方向进行投掷,使得虚拟道具能够沿投掷方向移动至B角色所在区域,实现虚拟道具的准确投掷。Based on the above-mentioned embodiment, the first terminal throws the virtual item along the determined throwing direction with the determined throwing force, so that the virtual item can move along the throwing direction to the area where the B character is located, so as to realize accurate throwing of the virtual item.
本公开的技术方案中,通过在显示界面中以第一状态展示虚拟道具;响应于第一用户的触发,确定虚拟道具中的交互信息;在显示界面中以第二状态展示虚拟道具;响应于第一用户的投掷动作,确定虚拟道具的投掷方向和力量;基于投掷方向和力量,投掷虚拟道具,以虚拟道具作为信息载体,以第一状态展示的虚拟道具便于查阅消息,以第二状态展示的虚拟道具便于传输消息,丰富了交互信息的传输方式,并且以投掷的方式移动虚拟道具,提高了角色之间互动的趣味性。In the technical solution of the present disclosure, by displaying the virtual prop in the first state on the display interface; in response to the trigger of the first user, determining the interaction information in the virtual prop; displaying the virtual prop in the second state on the display interface; in response to The throwing action of the first user determines the throwing direction and force of the virtual item; based on the throwing direction and force, the virtual item is thrown, and the virtual item is used as the information carrier. The virtual item displayed in the first state is convenient for checking information, and displayed in the second state The virtual props are convenient for message transmission, which enriches the transmission method of interactive information, and the virtual props are moved by throwing, which improves the fun of the interaction between characters.
图5为本公开提供的另一种虚拟道具控制方法的流程示意图,图5是图1所示实施例 的基础上,执行S104之前,还包括:Fig. 5 is a schematic flow chart of another virtual prop control method provided by the present disclosure. Fig. 5 is based on the embodiment shown in Fig. 1. Before executing S104, it also includes:
S201,响应于查看操作,在所述显示界面中展示至少一个候选虚拟角色的位置标识。S201. In response to a viewing operation, display the location identifier of at least one candidate virtual character on the display interface.
第一终端显示如图2所示界面,第一用户可以通过点击显示界面中的任意位置,或者点击虚拟道具所在位置,或者点击显示界面中的查看按钮等方式,触发查看虚拟道具中携带的交互消息的操作,根据第一用户触发的查看操作,在第一终端的显示界面中展示虚拟道具携带的交互消息,同时还展示有候选虚拟角色的位置标识,其中,位置标识用于表示对应的虚拟角色所在位置,候选虚拟角色为交互消息中每条消息对应的发送方的虚拟角色。The first terminal displays the interface shown in Figure 2. The first user can click any position in the display interface, or click the location of the virtual item, or click the view button in the display interface to trigger viewing of the interaction carried in the virtual item. In the operation of the message, according to the viewing operation triggered by the first user, the interactive message carried by the virtual prop is displayed on the display interface of the first terminal, and the position identification of the candidate virtual character is also displayed at the same time, wherein the position identification is used to represent the corresponding virtual character. The location of the role, and the candidate virtual role is the virtual role of the sender corresponding to each message in the interaction message.
本实施例中,通过响应于查看操作,在显示界面中展示至少一个候选虚拟角色的位置标识,方便用户获取到交互消息中每条消息的发送方的身份,并于用户对交互消息进行回复。In this embodiment, by displaying the location identifier of at least one candidate avatar on the display interface in response to the viewing operation, it is convenient for the user to obtain the identity of the sender of each message in the interactive message, and allow the user to reply to the interactive message.
图6为本公开提供的又一种虚拟道具控制方法的流程示意图,图6是图3所示实施例的基础上,执行S101之前,还包括:Fig. 6 is a schematic flowchart of another virtual prop control method provided by the present disclosure. Fig. 6 is based on the embodiment shown in Fig. 3, and before executing S101, it also includes:
S301,响应于拾取操作,拾取所述虚拟道具,所述虚拟道具以所述第二状态展示。S301. Pick up the virtual prop in response to a pick-up operation, where the virtual prop is displayed in the second state.
第一终端接收到其他终端投掷的虚拟道具后,显示如图7所示的界面,第一用户可以通过长按显示界面中虚拟道具所在位置,或者点击显示界面中虚拟道具所在位置,或者点击显示界面中的拾取按钮等方式,触发拾取虚拟道具的操作,根据第一用户触发的拾取操作,展开第二状态下的虚拟道具,如图2所示。After the first terminal receives the virtual props thrown by other terminals, it displays the interface as shown in Figure 7. The first user can press and hold the position of the virtual prop in the display interface, or click the position of the virtual prop in the display interface, or click to display The pick-up button in the interface triggers the operation of picking up virtual props, and according to the pick-up operation triggered by the first user, the virtual props in the second state are expanded, as shown in Figure 2.
本实施例中,通过响应于拾取操作,拾取虚拟道具,虚拟道具以所述第二状态展示,第一用户可以接收到其他用户发送的交互消息,实现交互消息的收发,从而建立了第一用户与其他用户之间的双向互动。In this embodiment, by picking up a virtual item in response to the picking operation, and the virtual item is displayed in the second state, the first user can receive interactive messages sent by other users, and realize the sending and receiving of interactive messages, thereby establishing the first user Two-way interaction with other users.
需要说明的是,在其他实施方式中,执行S105之后,虚拟道具投掷给目标虚拟角色,目标虚拟角色对应的目标用户对虚拟道具中携带的交互消息进行回复,回复的交互消息携带于虚拟道具中,并将虚拟道具在第二状态下投掷给第一用户对应的虚拟角色,此时,第一用户为了获取到目标用户回复的交互消息,第一终端也会执行上述S301。It should be noted that, in other implementation manners, after executing S105, the virtual item is thrown to the target virtual character, and the target user corresponding to the target virtual character replies to the interactive message carried in the virtual item, and the replied interactive message is carried in the virtual item , and throw the virtual prop to the virtual character corresponding to the first user in the second state. At this time, in order for the first user to obtain the interactive message replied by the target user, the first terminal will also execute the above S301.
图8为本公开提供的又一种虚拟道具控制方法的流程示意图,图8是图6所示实施例的基础上,执行S301之后,还包括:Fig. 8 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure. Fig. 8 is based on the embodiment shown in Fig. 6. After executing S301, it also includes:
S302,响应于第一用户的打开操作,所述虚拟道具由所述第二状态变为所述第一状态并展示。S302. In response to the first user's opening operation, the virtual item is changed from the second state to the first state and displayed.
第一终端相应第一用户的拾取操作,显示如图2所示的界面,显示界面中的虚拟道具以第一状态进行展示,第一用户通过点击虚拟道具所在位置,或者显示界面中的任意位置,或者选中显示界面中的打开按钮,触发打开虚拟道具的操作。根据第一用户的打开操作,控制将虚拟道具的状态从第二状态切换为第一状态,使得第一终端显示如图4所示的界面,从而使得第一用户可以读取到虚拟道具携带的交互消息。The first terminal displays the interface shown in Figure 2 in response to the picking operation of the first user. The virtual props in the display interface are displayed in the first state. The first user clicks on the position of the virtual prop or any position in the display interface. , or select the open button in the display interface to trigger the operation of opening the virtual prop. According to the opening operation of the first user, the control switches the state of the virtual item from the second state to the first state, so that the first terminal displays the interface as shown in Figure 4, so that the first user can read the information carried by the virtual item. Interactive messages.
图9为本公开提供的又一种虚拟道具控制方法的流程示意图,图9是图3所示实施例的基础上,执行S104时的一种可能的实现方式的具体描述,如下:FIG. 9 is a schematic flowchart of another virtual prop control method provided by the present disclosure. FIG. 9 is a specific description of a possible implementation of S104 based on the embodiment shown in FIG. 3 , as follows:
S1041,响应于滑动操作开始,在所述显示界面中展示至少一个候选虚拟角色的位置标识。S1041. In response to the start of the sliding operation, display the position identification of at least one candidate virtual character on the display interface.
上述实施例中的投掷操作可以是滑动操作,第一用户在第一终端触发投掷虚拟道具的按钮,如图10所示,触发了第一用户的滑动操作开始的操作,响应于滑动操作开始,第一终端的显示界面中展示至少一个候选虚拟角色的位置标识,如图11所示。The throwing operation in the above embodiment may be a sliding operation. The first user triggers the button of throwing the virtual item on the first terminal. As shown in FIG. The position identifier of at least one candidate virtual character is displayed on the display interface of the first terminal, as shown in FIG. 11 .
S1042,基于至少一个所述候选虚拟角色中目标虚拟角色的所述位置标识,根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向。S1042. Based on the position identifier of the target virtual character in at least one of the candidate virtual characters, adjust the throwing direction of the virtual prop according to the sliding direction of the sliding operation.
示例性的,如图11所示,显示界面中展示四个候选虚拟角色的位置标识,其中,A角色位于左上区域,B角色位于右上区域,C角色位于左下区域,D角色位于右下区域,第一用户可以在A角色、B角色、C角色和D角色中选择一个作为目标虚拟角色。图11仅示例性展示了显示界面中包括四个候选虚拟角色,在其他实施方式中,还可以是一个、两个、三个或者更多个,本公开对此不做具体限制。Exemplarily, as shown in FIG. 11 , the display interface displays position identifications of four candidate virtual characters, wherein, character A is located in the upper left area, character B is located in the upper right area, character C is located in the lower left area, and character D is located in the lower right area. The first user may select one of the A character, the B character, the C character and the D character as the target virtual character. FIG. 11 only exemplarily shows that the display interface includes four candidate virtual characters, and in other implementation manners, there may be one, two, three or more, which is not specifically limited in the present disclosure.
第一用户可以将显示界面中虚拟道具所在位置作为滑动操作的起点位置,第一用户可以利用手指、触控笔等执行滑动操作。第一用户选中虚拟道具所在位置后可以沿任意方向进行滑动,滑动过程中,当前时刻的滑动位置至滑动起点的位置,即为当前时刻的滑动方向,当前时刻的滑动方向的反方向即为当前时刻的投掷方向,若此时结束滑动操作,当前时刻的滑动位置即为滑动终点的位置。The first user can use the location of the virtual prop in the display interface as the starting point of the sliding operation, and the first user can use a finger, a stylus, etc. to perform the sliding operation. The first user can slide in any direction after selecting the location of the virtual item. During the sliding process, the sliding direction at the current moment is the sliding position to the starting point of the sliding, and the opposite direction of the sliding direction at the current moment is the current The throwing direction at the moment, if the sliding operation ends at this time, the sliding position at the current moment is the position of the sliding end point.
由此可知,通过调整当前时刻的滑动位置,可以调整投掷方向。举例而言,若目标虚拟角色为如图11所示的B角色,将滑动操作开始后,滑动至显示界面的左下方区域,使得当前时刻滑动位置至滑动起点的位置,正对B角色所在区域,此时,结束滑动操作,滑动终点至滑动起点的方向即为虚拟道具的投掷方向。It can be seen that by adjusting the sliding position at the current moment, the throwing direction can be adjusted. For example, if the target virtual character is character B as shown in Figure 11, after the sliding operation starts, slide to the lower left area of the display interface, so that the sliding position at the current moment reaches the position of the starting point of the sliding, facing the area where character B is located , at this point, the sliding operation ends, and the direction from the sliding end point to the sliding starting point is the throwing direction of the virtual prop.
S1043,根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量。S1043. Adjust the throwing force of the virtual item according to the sliding distance of the sliding operation.
在滑动操作进行中,当前时刻滑动的位置与滑动起点的位置之间的距离与当前时刻虚拟道具的投掷力量成正比。基于上述实施例,滑动至左下方区域后,根据目标虚拟角色与第一用户对应的虚拟角色之间的距离,调整当前时刻滑动的位置与滑动起点之间的距离,从而调整虚拟道具的投掷力量,此时,结束滑动操作,滑动终点与滑动起点的距离对应的投掷力量,使得虚拟道具能够沿投掷方向到达B角色处。During the sliding operation, the distance between the sliding position at the current moment and the position of the sliding starting point is proportional to the throwing force of the virtual prop at the current moment. Based on the above embodiment, after sliding to the lower left area, according to the distance between the target virtual character and the virtual character corresponding to the first user, adjust the distance between the sliding position at the current moment and the sliding starting point, thereby adjusting the throwing force of the virtual prop , at this point, the sliding operation ends, and the throwing force corresponding to the distance between the sliding end point and the sliding starting point enables the virtual prop to reach the B character along the throwing direction.
基于上述实施例,作为S105的一种可能的实现方式包括但不限于如下具体实施方式,如图9所示:Based on the above embodiments, a possible implementation of S105 includes but is not limited to the following specific implementations, as shown in FIG. 9:
S105’,基于所述投掷方向和所述投掷力量,将所述虚拟道具移动至所述目标虚拟角色所在区域。S105', based on the throwing direction and the throwing force, move the virtual prop to the area where the target virtual character is located.
示例性的,如图11所示,基于上述实施例,根据投掷方向和投掷力量,将虚拟道具投掷至右上区域内,右上区域内包括B角色,使得B角色可以接收到投掷的虚拟道具。Exemplarily, as shown in FIG. 11 , based on the above embodiment, according to the throwing direction and throwing force, the virtual prop is thrown into the upper right area, and the upper right area includes the B character, so that the B character can receive the thrown virtual prop.
本公开的技术方案中,通过响应于滑动操作开始,在所述显示界面中展示至少一个候选虚拟角色的位置标识;基于至少一个所述候选虚拟角色中目标虚拟角色的所述位置标识,根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向;根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量;基于所述投掷方向和所述投掷力量,将所述虚拟道具移动至所述目标虚拟角色所在区域,如此能够在显示界面灵活设置虚拟道具的投掷方向和投掷力量,从而能够将虚拟道具投掷至显示界面中任意一个候选虚拟角色所在 区域,使得所有候选虚拟角色均可以接收到第一用户投掷的虚拟道具。In the technical solution of the present disclosure, by responding to the sliding operation, the position identification of at least one candidate virtual character is displayed on the display interface; based on the position identification of the target virtual character in the at least one candidate virtual character, according to the Adjust the throwing direction of the virtual item according to the sliding direction of the sliding operation; adjust the throwing force of the virtual item according to the sliding distance of the sliding operation; based on the throwing direction and the throwing force, set The virtual prop moves to the area where the target virtual character is located, so that the throwing direction and throwing force of the virtual prop can be flexibly set on the display interface, so that the virtual prop can be thrown to the area where any candidate virtual character is located in the display interface, so that all Candidate virtual characters can all receive virtual props thrown by the first user.
图12为本公开提供的又一种虚拟道具控制方法的流程示意图,图12是图3所示实施例的基础上,执行S103时的一种可能的实现方式的具体描述,如下:Fig. 12 is a schematic flowchart of another virtual prop control method provided by the present disclosure. Fig. 12 is a specific description of a possible implementation of S103 based on the embodiment shown in Fig. 3 , as follows:
S103’,响应于第一用户对所述虚拟道具的闭合操作,在显示界面中以第二状态展示所述虚拟道具。S103', in response to the closing operation of the virtual prop by the first user, displaying the virtual prop in a second state on the display interface.
第一终端确定虚拟道具中的交互信息,虚拟道具显示有该交互消息,第一用户可以通过点击显示界面中的闭合的按钮、或者点击显示界面中虚拟道具所在位置、或者点击显示界面中的任意位置,来触发对虚拟道具的闭合操作,闭合操作即为将虚拟道具从第一状态切换至第二状态的操作,根据第一用户的闭合操作,第一终端在显示界面中以第二状态展示虚拟道具,如图2所示。The first terminal determines the interactive information in the virtual prop, and the virtual prop displays the interactive message. The first user can click the closed button in the display interface, or click the position of the virtual prop in the display interface, or click any location, to trigger the closing operation on the virtual prop. The closing operation is the operation of switching the virtual prop from the first state to the second state. According to the closing operation of the first user, the first terminal displays the virtual prop in the second state on the display interface. Virtual props, as shown in Figure 2.
基于上述实施例,作为执行S102时的一种可能的实现方式包括但不限于如下实施方式:Based on the above embodiments, a possible implementation manner when executing S102 includes but is not limited to the following implementation manners:
其中,作为S102的一种可能的实现方式,包括:Wherein, as a possible implementation of S102, it includes:
响应于所述第一用户的输入,确定所述第一用户输入的消息为所述交互信息。In response to the first user's input, determine that the message input by the first user is the interaction information.
若第一终端显示第一状态下的虚拟道具,同时还显示如图4所示的输入框,第一用户可以在输入框中输入消息,第一终端确定用户输入的消息为交互消息。If the first terminal displays the virtual prop in the first state and also displays the input box as shown in FIG. 4 , the first user can input a message in the input box, and the first terminal determines that the message input by the user is an interactive message.
本实施例中,第一用户可以根据实际需求在输入框灵活输入想要发送的消息内容,故而交互消息的消息内容更加丰富,满足用户多种需求。In this embodiment, the first user can flexibly input the content of the message to be sent in the input box according to actual needs, so the message content of the interactive message is richer and meets various needs of the user.
作为S102的另一种可能的实现方式,包括:Another possible implementation of S102 includes:
响应于所述第一用户的选择,从预先设置的多个预设交互消息中确定所述交互信息。In response to the selection of the first user, the interaction information is determined from a plurality of preset interaction messages set in advance.
若第一终端显示第一状态下的虚拟道具,同时还显示如图13所示的多个预设交互消息,预设交互消息显示的内容为用户互动时常用的内容,用户可以根据自身需求选择合适的预设交互消息,第一终端确定第一用户选择的预设交互消息为交互消息。例如,预设交互消息可以包括如图13所示的“不忙”、“谢谢”等,如图13所示,第一用户需要表示目前状态时,选择显示“不忙”的预设交互消息,响应第一用户的选择操作,在虚拟道具上显示“不忙”。If the first terminal displays the virtual props in the first state, it also displays a plurality of preset interactive messages as shown in Figure 13. The content displayed by the preset interactive messages is the content commonly used by users when interacting, and users can choose according to their own needs. For a suitable preset interaction message, the first terminal determines that the preset interaction message selected by the first user is an interaction message. For example, the preset interactive message may include "not busy", "thank you", etc. as shown in Figure 13. As shown in Figure 13, when the first user needs to indicate the current status, he or she chooses to display the preset interactive message of "not busy". , in response to the first user's selection operation, displaying "not busy" on the virtual item.
本实施例中,第一终端通过第一用户选择预设交互消息的操作,快速获取交互消息,可以缩短第一用户输入交互消息的时间,提升互动的效率。In this embodiment, the first terminal obtains the interactive message quickly through the first user's operation of selecting a preset interactive message, which can shorten the time for the first user to input the interactive message and improve the efficiency of the interaction.
作为S102的又一种可能的实现方式,包括:Another possible implementation of S102 includes:
响应于所述第一用户的输入,确定所述第一用户输入的消息为所述交互信息,响应于所述第一用户的选择,从预先设置的多个预设交互消息中确定所述交互信息。In response to the first user's input, determining that the message input by the first user is the interaction information, and in response to the first user's selection, determining the interaction from a plurality of pre-set preset interaction messages information.
若第一终端显示第一状态下的虚拟道具,同时还显示如图4所示的输入框以及如图13所示的多个预设交互消息,第一用户既可以在输入框中输入消息,又可以选择预设交互消息,在预设交互消息显示的内容满足第一用户当前需求的情况下,通过选择预设交互消息确定交互消息;在预设交互消息显示的内容无法满足第一用户当前需求的情况下,通过输入框输入的消息确定交互消息,可以同时兼顾用户之间互动的效率和用户需求的多种性。If the first terminal displays the virtual prop in the first state, and at the same time displays the input box as shown in Figure 4 and multiple preset interactive messages as shown in Figure 13, the first user can either input a message in the input box, It is also possible to select a preset interactive message. When the content displayed by the preset interactive message meets the current needs of the first user, the interactive message is determined by selecting the preset interactive message; if the displayed content of the preset interactive message cannot meet the current needs of the first user In the case of demand, the interactive message can be determined through the message input in the input box, which can take into account the efficiency of interaction between users and the diversity of user needs.
图14为本公开提供的又一种虚拟道具控制方法的流程示意图,图15为本公开提供的 又一种虚拟道具控制方法的流程示意图,图14和图15所示的实施例时执行S102’时的一种可能的实现方式的。作为执行S102’时的一种可能的实现方式的具体描述,如图14所示:Fig. 14 is a schematic flowchart of another virtual prop control method provided by the present disclosure, and Fig. 15 is a schematic flowchart of another virtual prop control method provided by the present disclosure, and the embodiment shown in Fig. 14 and Fig. 15 executes S102' A possible implementation of the time. As a specific description of a possible implementation when executing S102', as shown in Figure 14:
S401,响应于所述第一用户在文本输入框内输入的文本消息,确定所述文本消息为所述交互消息。S401. In response to a text message input by the first user in a text input box, determine that the text message is the interaction message.
交互消息可以是文本消息,第一用户在如图4所示的显示界面中的文本输入框内输入需要发送的文本消息,第一终端确定第一用户输入的文本消息为交互消息,并在虚拟道具中显示交互消息。The interactive message may be a text message. The first user inputs the text message to be sent in the text input box in the display interface as shown in FIG. Interaction messages are displayed in props.
作为执行S102’时的另一种可能的实现方式的具体描述,如图15所示:As a specific description of another possible implementation when executing S102', as shown in Figure 15:
S401’,响应于所述第一用户触发语音输入控件输入语音消息,确定所述语音消息为所述交互消息。S401'. In response to the first user triggering a voice input control to input a voice message, determine that the voice message is the interaction message.
交互消息可以是语音消息,第一用户在显示界面触发语音输入控件,第一终端可以将第一用户输入的语音消息转换为文本消息,并在虚拟道具中显示相应的文本消息;第一终端还可以记录第一用户输入的语音消息,并在虚拟道具中显示语音消息标识,如图16所示,通过触发语音消息标识,可以播放语音消息。The interactive message may be a voice message, the first user triggers the voice input control on the display interface, the first terminal may convert the voice message input by the first user into a text message, and display the corresponding text message in the virtual prop; the first terminal also The voice message input by the first user can be recorded, and the voice message mark can be displayed in the virtual prop, as shown in FIG. 16 , the voice message can be played by triggering the voice message mark.
本实施例中,交互消息可以是文本消息还可以是语音消息,用户之间可以通过文本进行互动,也可以通过语音进行互动,丰富了交互消息的内容,提升交互的趣味性。In this embodiment, the interactive message can be a text message or a voice message, and users can interact with each other through text or voice, which enriches the content of the interactive message and improves the fun of the interaction.
图17为本公开提供的又一种虚拟道具控制方法的流程示意图,图17为图9所示实施例的基础上,执行S1041中的在显示界面中展示至少一个候选虚拟角色的位置标识时的一种可能的实现方式的具体描述,如下:Fig. 17 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure. Fig. 17 is based on the embodiment shown in Fig. 9, when performing S1041 to display the position identification of at least one candidate virtual character on the display interface A specific description of a possible implementation is as follows:
S501,响应于所述交互信息中携带的至少一个所述虚拟角色的角色标识,确定所述角色标识对应的所述虚拟角色为候选虚拟角色。S501. In response to the role identifier of at least one of the virtual characters carried in the interaction information, determine that the virtual character corresponding to the role identifier is a candidate virtual character.
交互信息中携带有A角色的角色标识、B角色的角色标识、C角色的角色标识和D角色的角色标识,如图4所示,第一终端接收到交互消息后,从A角色、B角色、C角色和D角色中确定至少一个角色为候选虚拟角色。例如,确定A角色、B角色、C角色和D角色均为候选虚拟角色,第一终端显示如图4所示的界面。可选的,角色标识可以是虚拟角色对应的头像,也可以是虚拟角色对应的昵称,还可以是虚拟角色对应的头像和昵称。The interaction information carries the role identification of role A, the role identification of role B, the role identification of role C, and the role identification of role D. As shown in Figure 4, after the first terminal receives the interaction message, it , C role and D role determine at least one role as a candidate virtual character. For example, it is determined that character A, character B, character C and character D are all candidate virtual characters, and the first terminal displays an interface as shown in FIG. 4 . Optionally, the character identifier may be an avatar corresponding to the avatar, a nickname corresponding to the avatar, or an avatar and a nickname corresponding to the avatar.
S502,在所述显示界面中,展示所述候选虚拟角色的所述位置标识,或者按照预设效果展示所述候选虚拟角色的所述位置标识。S502. On the display interface, display the location identifier of the candidate virtual character, or display the location identifier of the candidate virtual character according to a preset effect.
所述预设效果与其它虚拟角色位置标识展示效果不同。The preset effect is different from the display effect of other virtual character position marks.
第一终端的显示界面中展示有虚拟角色的位置标识,展示的位置标识可以是候选虚拟角色的位置标识,如图11所示,能够减小无效交互用户的数量,方便用户对虚拟道具进行投掷,能够提高投掷效率。展示的位置标识还可以是所有虚拟角色的位置标识,其中,候选虚拟角色的位置标识以放大效果、标记符号、特殊颜色等展示效果,区别于其他虚拟角色的位置标识的展示效果进行展示,便于用户分辨出候选虚拟角色的位置。The display interface of the first terminal displays the location identifier of the virtual character, and the displayed location identifier can be the location identifier of the candidate virtual character, as shown in Figure 11, which can reduce the number of invalid interactive users and facilitate users to throw virtual props , can improve throwing efficiency. The displayed location identifiers can also be the location identifiers of all virtual characters, wherein the location identifiers of the candidate virtual characters are displayed with magnification effects, marker symbols, special colors, etc., which are different from the display effects of the location identifiers of other virtual characters. The user identifies the location of the candidate avatar.
本公开还提供了一种虚拟道具的控制方法,应用于第二终端,图18为本公开提供的又一种虚拟道具控制方法的流程示意图,如图18所示,具体包括:The present disclosure also provides a method for controlling virtual props, which is applied to a second terminal. FIG. 18 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure, as shown in FIG. 18 , specifically including:
S601,在显示界面中以第二状态展示虚拟道具。S601. Display a virtual prop in a second state on a display interface.
第二终端接收到其他终端发送的虚拟道具,此时第二终端接收到的虚拟道具以第二状态进行展示,如图7所示。可以通过长按虚拟道具所在位置,或者点击虚拟道具所在位置,或者点击显示界面中的拾取按钮等方式,触发拾取虚拟道具的操作。The second terminal receives the virtual props sent by other terminals. At this time, the virtual props received by the second terminal are displayed in the second state, as shown in FIG. 7 . The operation of picking up the virtual item can be triggered by long pressing the location of the virtual item, or clicking on the location of the virtual item, or clicking the pickup button in the display interface.
S602,响应于第二用户的拾取操作,拾取所述虚拟道具。S602. Pick up the virtual prop in response to a pick-up operation by the second user.
第二终端根据第二用户触发的拾取操作,控制第二用户对应的虚拟角色拾取虚拟道具。The second terminal controls the virtual character corresponding to the second user to pick up the virtual item according to the picking operation triggered by the second user.
S603,响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。S603. In response to the second user's opening operation, display the virtual item in a first state on the display interface.
拾取虚拟道具后,第二终端显示如图2所示的界面,显示界面中的虚拟道具以第二状态进行展示,第二用户通过点击虚拟道具所在位置,或者显示界面中的任意位置,或者选中显示界面中的打开按钮,触发打开虚拟道具的操作。根据第二用户的打开操作,控制将虚拟道具的状态从第二状态切换为第一状态,使得第二终端显示如图4所示的界面,从而使得第二用户可以读取到虚拟道具携带的交互消息。After picking up the virtual props, the second terminal displays the interface shown in Figure 2, and the virtual props in the display interface are displayed in the second state. The second user clicks the position of the virtual props, or any position in the display interface, or selects the The open button in the display interface triggers the operation of opening the virtual prop. According to the opening operation of the second user, the control switches the state of the virtual item from the second state to the first state, so that the second terminal displays the interface as shown in Figure 4, so that the second user can read the information carried by the virtual item. Interactive messages.
本公开的技术方案中,通过在显示界面中以第二状态展示虚拟道具;响应于第二用户的拾取操作,拾取虚拟道具;响应于第二用户的打开操作,在显示界面中以第一状态展示虚拟道具,以虚拟道具作为信息载体,以第一状态展示的虚拟道具便于查阅消息,以第二状态展示的虚拟道具便于传输消息,丰富了交互信息的传输方式,并且以投掷的方式移动虚拟道具,提高了角色之间互动的趣味性。In the technical solution of the present disclosure, by displaying the virtual prop in the second state on the display interface; in response to the picking operation of the second user, picking up the virtual prop; in response to the opening operation of the second user, displaying the virtual prop in the first state on the display interface Display virtual props, using virtual props as the information carrier, the virtual props displayed in the first state are convenient for viewing information, and the virtual props displayed in the second state are convenient for transmitting messages, enriching the transmission mode of interactive information, and moving the virtual props in the way of throwing Props improve the fun of the interaction between characters.
图19为本公开提供的又一种虚拟道具控制方法的流程示意图,图19为图18所示实施例的基础上,执行S603之后,还包括:Fig. 19 is a schematic flowchart of another method for controlling virtual props provided by the present disclosure. Fig. 19 is based on the embodiment shown in Fig. 18. After executing S603, it further includes:
S604,响应于所述第二用户对所述回复按钮的触发操作,显示输入框和/或预设交互消息选项。S604. Display an input box and/or a preset interactive message option in response to the trigger operation of the reply button by the second user.
第二用户打开虚拟道具后,读取虚拟道具中携带的交互消息,并需要对交互消息进行回复,第二用户可以触发显示界面中的回复按钮,如图20所示。根据第二用户触发回复按钮的操作,显示如4所示的输入框,或者如图13所示的预设交互消息选项,或者同时显示如4所示的输入框和如图13所示的预设交互消息选项。After the second user opens the virtual item, reads the interactive message carried in the virtual item, and needs to reply to the interactive message, the second user can trigger the reply button in the display interface, as shown in FIG. 20 . According to the operation of the second user triggering the reply button, an input box as shown in 4 is displayed, or a preset interactive message option as shown in FIG. Set interactive message options.
S605,响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息。S605. In response to the second user's input in the input box, display the input interaction information on the virtual item.
若第二终端显示如图4所示的输入框,第二用户可以在输入框中输入交互消息,第二终端根据用户输入的交互消息,在虚拟道具上渲染显示用户输入的交互消息。If the second terminal displays an input box as shown in FIG. 4 , the second user can input an interactive message in the input box, and the second terminal renders and displays the interactive message input by the user on the virtual prop according to the interactive message input by the user.
本实施例中,第二用户可以根据实际需求在输入框灵活输入想要发送的交互消息,故而交互消息的内容更加丰富,满足用户多种需求。In this embodiment, the second user can flexibly input an interaction message to be sent in the input box according to actual needs, so the content of the interaction message is richer and meets various needs of the user.
作为执行S605时的一种可能的实现方式的具体描述,包括:A specific description of a possible implementation manner when performing S605 includes:
响应于所述第二用户在文本输入框内输入的文本消息,在所述虚拟道具上显示所述输入的交互信息。In response to the text message input by the second user in the text input box, the input interaction information is displayed on the virtual prop.
交互消息可以是文本消息,第二用户在如图4所示的显示界面中的文本输入框内输入需要发送的文本消息,第二终端确定第二用户输入的文本消息为交互消息,并在虚拟道具 中显示交互消息。The interactive message may be a text message. The second user inputs the text message to be sent in the text input box in the display interface as shown in FIG. 4, and the second terminal determines that the text message input by the second user is an interactive message, and Interaction messages are displayed in props.
作为执行S605时的另一种可能的实现方式的具体描述,包括:As a specific description of another possible implementation manner when performing S605, it includes:
响应于所述第二用户触发语音输入控件输入语音消息,在所述虚拟道具上显示所述输入的交互信息。In response to the second user triggering a voice input control to input a voice message, the input interaction information is displayed on the virtual prop.
交互消息可以是语音消息,第二用户在显示界面触发语音输入控件,第二终端可以将第二用户输入的语音消息转换为文本消息,并在虚拟道具中显示相应的文本消息;第二终端还可以记录第二用户输入的语音消息,并在虚拟道具中显示语音消息标识,如图16所示,通过触发语音消息标识,可以播放语音消息。The interactive message may be a voice message, and the second user triggers the voice input control on the display interface, and the second terminal may convert the voice message input by the second user into a text message, and display the corresponding text message in the virtual prop; The voice message input by the second user can be recorded, and the voice message mark can be displayed in the virtual prop, as shown in FIG. 16 , the voice message can be played by triggering the voice message mark.
本实施例中,交互消息可以是文本消息还可以是语音消息,用户之间可以通过文本进行互动,也可以通过语音进行互动,丰富了交互消息的内容,提升交互的趣味性。In this embodiment, the interactive message can be a text message or a voice message, and users can interact with each other through text or voice, which enriches the content of the interactive message and improves the fun of the interaction.
S605’,响应于所述第二用户的选择的预设交互消息,在所述虚拟道具上显示所述选择的预设交互消息。S605', in response to the second user's selected preset interactive message, displaying the selected preset interactive message on the virtual item.
若第二终端显示如图13所示的预设交互消息选项,预设交互消息选项显示的内容为用户互动时常用的内容,用户可以根据自身需求选择合适的预设交互消息,第二终端根据用户选择的预设交互消息,在虚拟道具上渲染显示用户选择的预设交互消息。If the second terminal displays the preset interactive message options as shown in Figure 13, the content displayed by the preset interactive message options is the content commonly used by the user during interaction, and the user can select an appropriate preset interactive message according to his own needs, and the second terminal according The preset interaction message selected by the user is rendered and displayed on the virtual prop.
本实施例中,第二终端通过第二用户选择预设交互消息的操作,快速获取第二用户需要发送的交互信息,可以缩短第二用户输入交互消息的时间,提升互动的效率。In this embodiment, the second terminal quickly acquires the interaction information that the second user needs to send through the second user's operation of selecting a preset interaction message, which can shorten the time for the second user to input the interaction message and improve the efficiency of interaction.
在其他实施方式中,若第二终端同时显示如图4所示的输入框和如图13所示的预设交互消息,执行S605和S605’。第二用户既可以在输入框中输入交互消息,又可以选择预设交互消息,在预设交互消息显示的内容满足第一用户当前需求的情况下,通过选择预设交互消息,在虚拟道具上显示选择的预设交互消息;在预设交互消息显示的内容无法满足第一用户当前需求的情况下,通过输入框输入交互消息,从而在虚拟道具上显示输入的交互消息,可以同时兼顾用户之间互动的效率和满足用户需求的多种性。In other implementation manners, if the second terminal simultaneously displays the input box as shown in FIG. 4 and the preset interactive message as shown in FIG. 13 , execute S605 and S605'. The second user can either input an interactive message in the input box or select a preset interactive message. When the content displayed by the preset interactive message meets the current needs of the first user, by selecting the preset interactive message, the virtual prop Display the selected preset interactive message; when the displayed content of the preset interactive message cannot meet the current needs of the first user, input the interactive message through the input box, so as to display the input interactive message on the virtual prop, which can take into account the user's Interaction efficiency and diversity to meet user needs.
基于上述实施例,作为执行S605时的一种可能的实现方式的具体描述,如下:Based on the above embodiment, as a specific description of a possible implementation when executing S605, it is as follows:
图21为本公开提供的又一种虚拟道具控制方法的流程示意图,图21为图19所示实施例的基础上,还包括:Fig. 21 is a schematic flowchart of another virtual prop control method provided by the present disclosure. Fig. 21 is based on the embodiment shown in Fig. 19 and further includes:
S701,基于所述目标虚拟角色的标识,确定重定向投掷操作。S701. Based on the identification of the target virtual character, determine a redirected throwing operation.
交互信息中包括目标虚拟角色的标识,第二终端根据交互消息能够确定出接收到的虚拟道具的目标虚拟角色是否为第二用户,若虚拟道具的目标虚拟角色不是第二用户对应的虚拟角色,则说明接收到的虚拟道具不是其他用户发送给第二用户的,此时需要重新投掷该虚拟道具。重新投掷虚拟道具的操作可以是将虚拟道具发送给其对应的目标虚拟角色,也可以是将虚拟道具发送给其对应的发送方,并且据此触发重定向投掷操作。The interaction information includes the identification of the target virtual character, and the second terminal can determine whether the target virtual character of the received virtual item is the second user according to the interaction message. If the target virtual character of the virtual item is not the virtual character corresponding to the second user, It means that the received virtual item is not sent to the second user by other users, and the virtual item needs to be thrown again at this time. The operation of re-throwing the virtual item may be sending the virtual item to its corresponding target virtual character, or sending the virtual item to its corresponding sender, and triggering a redirected throwing operation accordingly.
S702,响应于所述重定向投掷操作,确定所述虚拟道具的投掷方向和投掷力量。S702. Determine the throwing direction and throwing force of the virtual item in response to the redirection throwing operation.
第二终端根据第二用户触发的重定向投掷操作,确定虚拟道具的投掷方向和投掷力量,投掷方向可以是虚拟道具的发送方,也可以是虚拟道具的目标虚拟角色,并根据投掷方向确定投掷力量。The second terminal determines the throwing direction and throwing force of the virtual item according to the redirected throwing operation triggered by the second user. The throwing direction can be the sender of the virtual item or the target virtual character of the virtual item, and the throwing is determined according to the throwing direction strength.
S703,基于所述投掷方向和投掷力量,移动所述虚拟道具。S703. Move the virtual item based on the throwing direction and throwing force.
基于上述实施例,第二终端以确定的投掷力量,将虚拟道具沿确定的投掷方向进行投掷,使得虚拟道具能够沿投掷方向移动至虚拟道具的发送方或者虚拟道具的目标虚拟角色。Based on the above embodiment, the second terminal throws the virtual item along the determined throwing direction with the determined throwing force, so that the virtual item can move along the throwing direction to the sender of the virtual item or the target virtual character of the virtual item.
本实施例中,通过基于目标虚拟角色的标识,确定重定向投掷操作;响应于重定向投掷操作,确定虚拟道具的投掷方向和投掷力量;基于投掷方向和投掷力量,移动虚拟道具,能够对投掷错误的虚拟道具重新进行投掷,提升用户交互的准确性。In this embodiment, by determining the redirection throwing operation based on the target virtual character's identification; in response to the redirection throwing operation, determining the throwing direction and throwing power of the virtual prop; The wrong virtual props are thrown again to improve the accuracy of user interaction.
图22为本公开提供的一种虚拟道具控制装置的结构示意图,如图22所示,本实施例的装置应用于第一终端,包括:显示模块110和处理模块120,其中,FIG. 22 is a schematic structural diagram of a virtual prop control device provided by the present disclosure. As shown in FIG. 22 , the device of this embodiment is applied to a first terminal, including: a display module 110 and a processing module 120, wherein,
显示模块110,用于在显示界面中以第一状态展示虚拟道具;A display module 110, configured to display virtual props in a first state on a display interface;
处理模块120,用于响应于信息确认操作,确定所述虚拟道具中的交互信息;A processing module 120, configured to determine the interaction information in the virtual prop in response to the information confirmation operation;
所述显示模块110,还用于在显示界面中以第二状态展示所述虚拟道具;The display module 110 is further configured to display the virtual prop in a second state on the display interface;
所述处理模块120,还用于响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;The processing module 120 is further configured to determine the throwing direction and throwing force of the virtual prop in response to the throwing operation of the virtual prop;
所述处理模块120,还用于基于所述投掷方向和投掷力量,移动所述虚拟道具。The processing module 120 is further configured to move the virtual prop based on the throwing direction and throwing force.
可选的,所述显示模块110还用于响应于查看操作,在所述显示界面中展示至少一个候选虚拟角色的位置标识。Optionally, the display module 110 is further configured to display the position identification of at least one candidate virtual character on the display interface in response to a viewing operation.
可选的,所述处理模块120还用于响应于拾取操作,拾取所述虚拟道具,所述虚拟道具以所述第二状态展示。Optionally, the processing module 120 is further configured to pick up the virtual prop in response to a pick-up operation, and the virtual prop is displayed in the second state.
可选的,所述投掷操作包括滑动操作;Optionally, the throwing operation includes a sliding operation;
所述处理模块120具体用于响应于所述滑动操作开始,在所述显示界面中展示至少一个候选虚拟角色的位置标识;基于至少一个所述候选虚拟角色中目标虚拟角色的所述位置标识,根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向;根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量;The processing module 120 is specifically configured to display the position identification of at least one candidate virtual character on the display interface in response to the start of the sliding operation; based on the position identification of the target virtual character in the at least one candidate virtual character, adjusting the throwing direction of the virtual item according to the sliding direction of the sliding operation; adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation;
所述处理模块120具体用于基于所述投掷方向和所述投掷力量,将所述虚拟道具移动至所述目标虚拟角色所在区域。The processing module 120 is specifically configured to move the virtual prop to the area where the target virtual character is located based on the throwing direction and the throwing force.
可选的,所述处理模块120具体用于在滑动操作进行中,确定当前时刻滑动终点至滑动起点的方向为所述投掷方向;在滑动操作进行中,基于当前时刻滑动终点与所述滑动起点的距离确定所述投掷力量。Optionally, the processing module 120 is specifically configured to determine the direction from the sliding end point to the sliding starting point at the current moment as the throwing direction during the sliding operation; The distance determines the throwing power.
可选的,所述显示模块120具体用于响应于第一用户对所述虚拟道具的闭合操作,在显示界面中以第二状态展示所述虚拟道具。Optionally, the display module 120 is specifically configured to display the virtual item in a second state on the display interface in response to the closing operation of the virtual item by the first user.
可选的,所述处理模块120具体用于响应于第一用户的输入,确定所述第一用户输入的消息为所述交互信息;和/或,响应于所述第一用户的选择,从预先设置的多个预设交互消息中确定所述交互信息。Optionally, the processing module 120 is specifically configured to, in response to the input of the first user, determine that the message input by the first user is the interaction information; and/or, in response to the selection of the first user, from The interaction information is determined from a plurality of preset interaction messages that are preset.
可选的,所述处理模块120具体用于响应于所述第一用户在文本输入框内输入的文本消息,确定所述文本消息为所述交互信息;或者,响应于所述第一用户触发语音输入控件输入语音消息,确定所述语音消息为所述交互信息。Optionally, the processing module 120 is specifically configured to, in response to a text message input by the first user in the text input box, determine that the text message is the interaction information; or, in response to the first user triggering The voice input control inputs a voice message, and determines that the voice message is the interaction information.
可选的,所述显示模块110还用于响应于第一用户的打开操作,所述虚拟道具由所述第二状态变为所述第一状态并展示。Optionally, the display module 110 is further configured to change the virtual item from the second state to the first state and display it in response to the opening operation of the first user.
可选的,所述显示模块110具体用于响应于所述交互信息中携带的至少一个所述虚拟角色的角色标识,确定所述角色标识对应的所述虚拟角色为候选虚拟角色;在所述显示界面中,展示所述候选虚拟角色的所述位置标识,或者按照预设效果展示所述候选虚拟角色的所述位置标识,所述预设效果与其它虚拟角色位置标识展示效果不同。Optionally, the display module 110 is specifically configured to, in response to the role identifier of at least one of the virtual characters carried in the interaction information, determine that the virtual character corresponding to the role identifier is a candidate virtual character; In the display interface, the position identification of the candidate virtual character is displayed, or the position identification of the candidate virtual character is displayed according to a preset effect, and the preset effect is different from the position identification display effect of other virtual characters.
本实施例的装置,对应的可用于执行上述方法实施例中第一终端执行的动作,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be correspondingly used to perform the actions performed by the first terminal in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图23为本公开提供的一种虚拟道具控制装置的结构示意图,如图23所示,本实施例的装置应用于第二终端,包括:显示模块210和处理模块220,其中,FIG. 23 is a schematic structural diagram of a virtual prop control device provided by the present disclosure. As shown in FIG. 23 , the device of this embodiment is applied to a second terminal, including: a display module 210 and a processing module 220, wherein,
显示模块210,用于在显示界面中以第二状态展示虚拟道具;A display module 210, configured to display virtual props in a second state on the display interface;
处理模块220,用于响应于第二用户的拾取操作,拾取所述虚拟道具;A processing module 220, configured to pick up the virtual prop in response to a pick-up operation by the second user;
所述显示模块210,还用于响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。The display module 210 is further configured to display the virtual item in a first state on the display interface in response to the opening operation of the second user.
可选的,所述显示界面上显示有回复按钮;Optionally, a reply button is displayed on the display interface;
所述显示模块220还用于响应于所述第二用户对所述回复按钮的触发操作,显示输入框和/或预设交互消息选项;响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息;和/或,响应于所述第二用户的选择的预设交互消息,在所述虚拟道具上显示所述选择的预设交互消息。The display module 220 is further configured to display an input box and/or preset interactive message options in response to the second user's trigger operation on the reply button; in response to the second user's input in the input box , displaying the input interaction information on the virtual item; and/or, in response to the second user selecting the preset interaction message, displaying the selected preset interaction message on the virtual item.
可选的,所述显示模块210具体用于响应于所述第二用户在文本输入框内输入的文本消息,在所述虚拟道具上显示所述输入的交互信息,或者,响应于所述第二用户触发语音输入控件输入语音消息,在所述虚拟道具上显示所述输入的交互信息。Optionally, the display module 210 is specifically configured to display the input interaction information on the virtual prop in response to the text message input by the second user in the text input box, or, in response to the first 2. The user triggers the voice input control to input a voice message, and displays the input interactive information on the virtual prop.
可选的,所述交互信息中包括:目标虚拟角色的标识;Optionally, the interaction information includes: an identification of the target virtual character;
所述处理模块220还用于基于所述目标虚拟角色的标识,确定重定向投掷操作;响应于所述重定向投掷操作,确定所述虚拟道具的投掷方向和投掷力量;基于所述投掷方向和投掷力量,移动所述虚拟道具。The processing module 220 is further configured to determine a redirection throwing operation based on the target virtual character's identification; in response to the redirection throwing operation, determine the throwing direction and throwing force of the virtual prop; based on the throwing direction and Throw power to move said virtual item.
本实施例的装置,对应的可用于执行上述方法实施例中第二终端执行的动作,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to perform the actions performed by the second terminal in the above method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
本公开还提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the foregoing method embodiments are implemented.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiments are implemented.
本公开还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行实现上述方法实施例的步骤。需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情 况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。The present disclosure also provides a computer program product, which, when running on a computer, causes the computer to execute the steps for implementing the above method embodiments. It should be noted that in this article, relative terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these No such actual relationship or order exists between entities or operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a" does not preclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (20)

  1. 一种虚拟道具控制方法,其特征在于,应用于第一终端,包括:A virtual prop control method, characterized in that it is applied to a first terminal, comprising:
    在显示界面中以第一状态展示虚拟道具;displaying the virtual prop in the first state in the display interface;
    响应于信息确认操作,确定所述虚拟道具中的交互信息;In response to an information confirmation operation, determine the interaction information in the virtual prop;
    在显示界面中以第二状态展示所述虚拟道具;displaying the virtual prop in a second state on the display interface;
    响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;determining the throwing direction and throwing force of the virtual item in response to a throwing operation on the virtual item;
    基于所述投掷方向和投掷力量,移动所述虚拟道具。The virtual item is moved based on the throwing direction and throwing force.
  2. 根据权利要求1所述的方法,其特征在于,所述在显示界面中以第二状态展示所述虚拟道具之后,所述方法还包括:The method according to claim 1, characterized in that, after displaying the virtual prop in the second state on the display interface, the method further comprises:
    响应于查看操作,在所述显示界面中展示至少一个候选虚拟角色的位置标识。In response to the viewing operation, displaying the position identification of at least one candidate virtual character on the display interface.
  3. 根据权利要求1所述的方法,其特征在于,所述在显示界面中以第一状态展示虚拟道具之前或者所述移动所述虚拟道具之后,所述方法还包括:The method according to claim 1, characterized in that, before displaying the virtual prop in the first state in the display interface or after moving the virtual prop, the method further comprises:
    响应于拾取操作,拾取所述虚拟道具,所述虚拟道具以所述第二状态展示。In response to a pick-up operation, the virtual prop is picked up, and the virtual prop is displayed in the second state.
  4. 根据权利要求1所述的方法,其特征在于,所述投掷操作包括滑动操作;The method according to claim 1, wherein the throwing operation comprises a sliding operation;
    所述响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量,包括:The determining the throwing direction and throwing force of the virtual prop in response to the throwing operation of the virtual prop includes:
    响应于所述滑动操作开始,在所述显示界面中展示至少一个候选虚拟角色的位置标识;In response to the start of the sliding operation, displaying the position identification of at least one candidate virtual character on the display interface;
    基于至少一个所述候选虚拟角色中目标虚拟角色的所述位置标识,根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向;Adjusting the throwing direction of the virtual prop according to the sliding direction of the sliding operation based on the position identification of the target virtual character in at least one of the candidate virtual characters;
    根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量;adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation;
    所述基于所述投掷方向和投掷力量,移动所述虚拟道具,包括:The moving the virtual prop based on the throwing direction and throwing force includes:
    基于所述投掷方向和所述投掷力量,将所述虚拟道具移动至所述目标虚拟角色所在区域。Based on the throwing direction and the throwing force, the virtual prop is moved to the area where the target virtual character is located.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述滑动操作的滑动方向,调整所述虚拟道具的所述投掷方向,包括:The method according to claim 4, wherein the adjusting the throwing direction of the virtual item according to the sliding direction of the sliding operation comprises:
    在滑动操作进行中,确定当前时刻滑动终点至滑动起点的方向为所述投掷方向;During the sliding operation, it is determined that the direction from the sliding end point to the sliding starting point at the current moment is the throwing direction;
    所述根据所述滑动操作的滑动距离,调整所述虚拟道具的所述投掷力量,包括:The adjusting the throwing force of the virtual item according to the sliding distance of the sliding operation includes:
    在滑动操作进行中,基于当前时刻滑动终点与所述滑动起点的距离确定所述投掷力量。During the sliding operation, the throwing force is determined based on the distance between the sliding end point and the sliding start point at the current moment.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述在显示界面中以第二状态展示所述虚拟道具,包括:The method according to any one of claims 1-5, wherein the displaying the virtual prop in the second state on the display interface comprises:
    响应于第一用户对所述虚拟道具的闭合操作,在显示界面中以第二状态展示所述虚拟道具。In response to the closing operation of the virtual prop by the first user, the virtual prop is displayed in a second state on the display interface.
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述响应于信息确认操作,确定所述虚拟道具中的交互信息,包括:The method according to any one of claims 1-5, wherein the determining the interaction information in the virtual prop in response to the information confirmation operation includes:
    响应于第一用户的输入,确定所述第一用户输入的消息为所述交互信息;In response to the input of the first user, determine that the message input by the first user is the interaction information;
    和/或,响应于所述第一用户的选择,从预先设置的多个预设交互消息中确定所述交互信息。And/or, in response to the selection of the first user, the interaction information is determined from a plurality of preset interaction messages that are preset.
  8. 根据权利要求7所述的方法,其特征在于,所述响应于第一用户的输入,确定所述第一用户输入的消息为所述交互信息,包括:The method according to claim 7, wherein, in response to the input of the first user, determining that the message input by the first user is the interaction information comprises:
    响应于所述第一用户在文本输入框内输入的文本消息,确定所述文本消息为所述交互信息;Responding to a text message input by the first user in a text input box, determining that the text message is the interaction information;
    或者,or,
    响应于所述第一用户触发语音输入控件输入语音消息,确定所述语音消息为所述交互信息。In response to the first user triggering a voice input control to input a voice message, it is determined that the voice message is the interaction information.
  9. 根据权利要求3所述的方法,其特征在于,所述响应于拾取操作,拾取所述虚拟道具之后,所述方法还包括:The method according to claim 3, characterized in that, after picking up the virtual prop in response to the picking operation, the method further comprises:
    响应于第一用户的打开操作,所述虚拟道具由所述第二状态变为所述第一状态并展示。In response to the first user's opening operation, the virtual prop changes from the second state to the first state and is displayed.
  10. 根据权利要求2或4所述的方法,其特征在于,所述在所述显示界面中展示至少一个候选虚拟角色的位置标识,包括:The method according to claim 2 or 4, wherein the displaying the position identification of at least one candidate virtual character on the display interface comprises:
    响应于所述交互信息中携带的至少一个所述虚拟角色的角色标识,确定所述角色标识对应的所述虚拟角色为候选虚拟角色;In response to the role identifier of at least one of the virtual characters carried in the interaction information, determine that the virtual character corresponding to the role identifier is a candidate virtual character;
    在所述显示界面中,展示所述候选虚拟角色的所述位置标识,或者按照预设效果展示所述候选虚拟角色的所述位置标识,所述预设效果与其它虚拟角色位置标识展示效果不同。In the display interface, the position identification of the candidate virtual character is displayed, or the position identification of the candidate virtual character is displayed according to a preset effect, and the preset effect is different from the position identification display effect of other virtual characters .
  11. 一种虚拟道具控制方法,其特征在于,应用于第二终端,包括:A virtual prop control method, characterized in that it is applied to a second terminal, comprising:
    在显示界面中以第二状态展示虚拟道具;displaying the virtual prop in the second state on the display interface;
    响应于第二用户的拾取操作,拾取所述虚拟道具;picking up the virtual item in response to a picking operation by the second user;
    响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。In response to the opening operation of the second user, the virtual prop is displayed in a first state on the display interface.
  12. 根据权利要求11所述的方法,其特征在于,所述显示界面上显示有回复按钮;The method according to claim 11, wherein a reply button is displayed on the display interface;
    所述在所述显示界面中以第一状态展示所述虚拟道具之后,所述方法还包括:After displaying the virtual prop in the first state on the display interface, the method further includes:
    响应于所述第二用户对所述回复按钮的触发操作,显示输入框和/或预设交互消息选项;displaying an input box and/or preset interactive message options in response to the trigger operation of the reply button by the second user;
    响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息;In response to the second user's input in the input box, displaying the input interaction information on the virtual item;
    和/或,响应于所述第二用户的选择的预设交互消息,在所述虚拟道具上显示所述选择的预设交互消息。And/or, in response to the preset interaction message selected by the second user, the selected preset interaction message is displayed on the virtual item.
  13. 根据权利要求12所述的方法,其特征在于,所述响应于所述第二用户在所述输入框的输入,在所述虚拟道具上显示所述输入的交互信息,包括:The method according to claim 12, wherein in response to the second user's input in the input box, displaying the input interaction information on the virtual prop comprises:
    响应于所述第二用户在文本输入框内输入的文本消息,在所述虚拟道具上显示所述输入的交互信息;In response to a text message input by the second user in the text input box, displaying the input interaction information on the virtual item;
    或者,or,
    响应于所述第二用户触发语音输入控件输入语音消息,在所述虚拟道具上显示所述输入的交互信息。In response to the second user triggering a voice input control to input a voice message, the input interaction information is displayed on the virtual prop.
  14. 根据权利要求12所述的方法,其特征在于,所述交互信息中包括:目标虚拟角色的标识;The method according to claim 12, wherein the interaction information includes: an identification of the target virtual character;
    所述方法还包括:The method also includes:
    基于所述目标虚拟角色的标识,确定重定向投掷操作;determining a redirected throwing operation based on the identity of the target virtual character;
    响应于所述重定向投掷操作,确定所述虚拟道具的投掷方向和投掷力量;determining the throwing direction and throwing force of the virtual item in response to the redirected throwing operation;
    基于所述投掷方向和投掷力量,移动所述虚拟道具。The virtual item is moved based on the throwing direction and throwing force.
  15. 一种虚拟道具控制装置,其特征在于,应用于第一终端,包括:A virtual prop control device, characterized in that it is applied to a first terminal, comprising:
    显示模块,用于在显示界面中以第一状态展示虚拟道具;A display module, configured to display the virtual prop in the first state on the display interface;
    处理模块,用于响应于信息确认操作,确定所述虚拟道具中的交互信息;A processing module, configured to determine the interaction information in the virtual prop in response to an information confirmation operation;
    所述显示模块,还用于在显示界面中以第二状态展示所述虚拟道具;The display module is further configured to display the virtual prop in a second state on the display interface;
    所述处理模块,还用于响应于针对所述虚拟道具的投掷操作,确定所述虚拟道具的投掷方向和投掷力量;The processing module is further configured to determine the throwing direction and throwing force of the virtual prop in response to the throwing operation on the virtual prop;
    所述处理模块,还用于基于所述投掷方向和投掷力量,移动所述虚拟道具。The processing module is further configured to move the virtual prop based on the throwing direction and throwing force.
  16. 一种虚拟道具控制装置,其特征在于,应用于第二终端,包括:A virtual prop control device, characterized in that it is applied to a second terminal, comprising:
    显示模块,用于在显示界面中以第二状态展示虚拟道具;A display module, configured to display the virtual prop in the second state on the display interface;
    处理模块,用于响应于第二用户的拾取操作,拾取所述虚拟道具;a processing module, configured to pick up the virtual item in response to a second user's pick-up operation;
    所述显示模块,还用于响应于所述第二用户的打开操作,在所述显示界面中以第一状态展示所述虚拟道具。The display module is further configured to display the virtual item in a first state on the display interface in response to the opening operation of the second user.
  17. 一种电子设备,其特征在于,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任一项所述的方法的步骤。An electronic device, characterized by comprising: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the method according to any one of claims 1-10 is implemented step.
  18. 一种电子设备,其特征在于,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求11-14任一项所述的方法的步骤。An electronic device, characterized by comprising: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the method according to any one of claims 11-14 is implemented step.
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-10任一项所述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1-10 are realized.
  20. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求11-14任一项所述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 11-14 are realized.
PCT/CN2022/091389 2021-06-30 2022-05-07 Virtual prop control method and apparatus, and device and computer-readable storage medium WO2023273605A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110737944.7A CN113318438B (en) 2021-06-30 2021-06-30 Virtual prop control method, device, equipment and computer readable storage medium
CN202110737944.7 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023273605A1 true WO2023273605A1 (en) 2023-01-05

Family

ID=77423486

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091389 WO2023273605A1 (en) 2021-06-30 2022-05-07 Virtual prop control method and apparatus, and device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113318438B (en)
WO (1) WO2023273605A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113318438B (en) * 2021-06-30 2023-08-15 北京字跳网络技术有限公司 Virtual prop control method, device, equipment and computer readable storage medium
CN114939275A (en) * 2022-05-24 2022-08-26 北京字跳网络技术有限公司 Object interaction method, device, equipment and storage medium
CN117618904A (en) * 2022-08-18 2024-03-01 腾讯科技(深圳)有限公司 Virtual prop using method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110092289A1 (en) * 2009-09-02 2011-04-21 Vadim Dagman Hand held self-orientating targeting game
CN108837507A (en) * 2018-05-29 2018-11-20 网易(杭州)网络有限公司 Virtual item control method and device, electronic equipment, storage medium
CN109200582A (en) * 2018-08-02 2019-01-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control virtual objects are interacted with ammunition
CN111330268A (en) * 2020-02-26 2020-06-26 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN112076467A (en) * 2020-09-17 2020-12-15 腾讯科技(深圳)有限公司 Method, device, terminal and medium for controlling virtual object to use virtual prop
CN112933601A (en) * 2021-03-01 2021-06-11 腾讯科技(深圳)有限公司 Virtual throwing object operation method, device, equipment and medium
CN113318438A (en) * 2021-06-30 2021-08-31 北京字跳网络技术有限公司 Virtual item control method, device, equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3888542B2 (en) * 2002-12-05 2007-03-07 任天堂株式会社 GAME DEVICE AND GAME PROGRAM
US9289685B2 (en) * 2011-11-18 2016-03-22 Verizon Patent And Licensing Inc. Method and system for providing virtual throwing of objects
US10250720B2 (en) * 2016-05-05 2019-04-02 Google Llc Sharing in an augmented and/or virtual reality environment
CN107623621B (en) * 2016-07-14 2020-08-07 腾讯科技(深圳)有限公司 Chat corpus collection method and device
CN110995572B (en) * 2019-11-29 2022-01-14 广州市百果园信息技术有限公司 Information publishing method, device, system and computer storage medium
CN112995778B (en) * 2021-02-03 2022-04-01 北京城市网邻信息技术有限公司 Interaction method and device for live broadcast room

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110092289A1 (en) * 2009-09-02 2011-04-21 Vadim Dagman Hand held self-orientating targeting game
CN108837507A (en) * 2018-05-29 2018-11-20 网易(杭州)网络有限公司 Virtual item control method and device, electronic equipment, storage medium
CN109200582A (en) * 2018-08-02 2019-01-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control virtual objects are interacted with ammunition
CN111330268A (en) * 2020-02-26 2020-06-26 腾讯科技(深圳)有限公司 Control method and device of virtual prop, storage medium and electronic device
CN112076467A (en) * 2020-09-17 2020-12-15 腾讯科技(深圳)有限公司 Method, device, terminal and medium for controlling virtual object to use virtual prop
CN112933601A (en) * 2021-03-01 2021-06-11 腾讯科技(深圳)有限公司 Virtual throwing object operation method, device, equipment and medium
CN113318438A (en) * 2021-06-30 2021-08-31 北京字跳网络技术有限公司 Virtual item control method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113318438B (en) 2023-08-15
CN113318438A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
WO2023273605A1 (en) Virtual prop control method and apparatus, and device and computer-readable storage medium
US8370762B2 (en) Mobile functional icon use in operational area in touch panel devices
CN108804013B (en) Information prompting method and device, electronic equipment and storage medium
CN104104585B (en) Device and method for providing private chat in group chat
CN109582477A (en) Document transmission method, terminal and storage medium
CN105183276A (en) Method and apparatus for realizing game in chat interface, and and terminal device
CN106375179B (en) Method and device for displaying instant communication message
CN106020592A (en) Split screen display method and device
WO2019206036A1 (en) Message management method and terminal
US20100207901A1 (en) Mobile terminal with touch function and method for touch recognition using the same
CN106055098A (en) Air gesture operation method and apparatus
TW201537979A (en) Automatic camera selection
WO2011038669A1 (en) Determining object method, object display method, object switch method and electron device
CN105389113B (en) Application control method, apparatus based on gesture and terminal
TW201014327A (en) Mobile device interface with dual windows
CN111782115B (en) Application program control method and device and electronic equipment
CN112121415A (en) Method, device and equipment for controlling interface display and storage medium
CN110784597A (en) Automatic camera selection
TW201537433A (en) Highlighting unread messages
CN113300934B (en) Communication method, device, equipment and storage medium
WO2018094725A1 (en) Avatar display method and avatar display apparatus
WO2013182143A2 (en) Mobile terminal and implementation method for function item shortcut operation of mobile terminal
WO2020135269A1 (en) Session creation method and terminal device
CN115567471A (en) Method, device, equipment and storage medium for presenting session message
WO2015117526A1 (en) Touch control processing method and device

Legal Events

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

Ref document number: 22831432

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22831432

Country of ref document: EP

Kind code of ref document: A1