Method and apparatus for performing actions in a virtual environment
By presenting the description information of the target action and the dynamic changes of the probability interaction elements in the virtual environment, the problem that the traditional interactive mechanism cannot express the probability mechanism is solved, and users' understanding of probability events and interactive experience in the virtual environment are improved.
Patent Information
- Application Number
- CN202210872231.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-07-18
AI Technical Summary
Traditional interaction mechanisms cannot allow operators to feel or understand the probability mechanisms in the virtual environment, affecting the user's interactive experience.
In the virtual environment, the description information associated with the target action is presented in the first area of the interface, including the probability event and the target value, and the dynamic changes of the probability interaction element are used in the second area to display the execution value and the target according to the execution value and the target Comparison of values determines the trigger result of the probability event.
By intuitively representing the probability mechanism in the interaction process, users can understand the triggering principle of probability events, and improve the interactive experience of the virtual environment.
Smart Images

Figure CN115068948B_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for performing actions in a virtual environment. Background Art
[0002] With the development of computer technology, various forms of electronic devices can greatly enrich people's daily life. For example, people can use electronic devices to carry out various interactions in virtual scenes.
[0003] In some interactive scenarios, in order to improve the authenticity of the interaction, some interactive actions may be accompanied by some probabilistic events (also called random events). For example, the attack behavior in the game may be related to the probabilistic event of whether to hit or not. However, the traditional interactive mechanism cannot allow the operator to feel or understand this probabilistic mechanism in the interaction. Summary of the invention
[0004] In a first aspect of the present disclosure, a method for performing an action in a virtual environment is provided. The method comprises: in response to a target object being triggered to perform a target action in a virtual environment, presenting description information associated with the target action in a first area, the description information being used to indicate a probability event associated with the target action and a target value corresponding to the probability event; presenting an execution value associated with the probability event in a second area using dynamic changes in a probability interaction element, the second area being associated with the position of the target object; and controlling the target action to be performed in the virtual environment, wherein the triggering result of the probability event associated with the target action is determined based on a comparison between the execution value and the target value.
[0005] In a second aspect of the present disclosure, a device for performing an action in a virtual environment is provided. The device includes a first presentation module, configured to respond to a target object being triggered to perform a target action in a virtual environment, presenting description information associated with the target action in a first area, the description information being used to indicate a probability event associated with the target action and a target value corresponding to the probability event; a second presentation module, configured to present an execution value associated with the probability event in a second area using dynamic changes in a probability interaction element, the second area being associated with the position of the target object; and a control module, configured to control the target action to be performed in the virtual environment, wherein the triggering result of the probability event associated with the target action is determined based on a comparison between the execution value and the target value.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the program is executed by a processor, the method of the first aspect is implemented.
[0008] It should be understood that the contents described in the summary of the present invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figure 2A , Figure 2B and Figure 2C A schematic diagram showing execution of actions in a virtual environment according to some embodiments of the present disclosure is shown;
[0012] Figure 3 A schematic diagram showing execution of actions in a virtual environment according to other embodiments of the present disclosure is shown;
[0013] Figure 4 A flowchart illustrating an example process of performing an action in a virtual environment according to some embodiments of the present disclosure;
[0014] Figure 5 A block diagram showing an apparatus for performing actions in a virtual environment according to some embodiments of the present disclosure; and
[0015] Figure 6 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0018] As discussed above, in the interaction of virtual environments, some interactive behaviors are usually associated with probability mechanisms. Taking games as an example, the release of some skills may be accompanied by a random event of whether additional special effects (e.g., freezing effects, burning effects, etc.) can be triggered.
[0019] The traditional interaction process usually only allows the operator to understand the results of random events, but cannot know the random mechanism in the interaction process, which will greatly affect the user's interaction experience.
[0020] The embodiment of the present disclosure proposes a scheme for performing an action in a virtual environment. According to the scheme, when a target object is triggered to perform a target action in a virtual environment, descriptive information associated with the target action can be presented in a first area of the interface, wherein the descriptive information can be used to indicate, for example, a probability event associated with the target action and a target value corresponding to the probability event. Furthermore, the execution value associated with the probability event can be presented in a second area of the interface using dynamic changes of a probability interaction element, wherein the second area is associated with the position of the target object.
[0021] Further, the target action can be controlled to be executed in the virtual environment, wherein the triggering result of the probability event associated with the target action is determined based on the comparison between the execution value and the target value. For example, the probability event can be triggered when the execution value is greater than the target value.
[0022] Therefore, the embodiments of the present disclosure can intuitively represent the probability mechanism in the interaction process through dynamic probabilistic interaction elements, so that users can understand the triggering principle of probabilistic events, thereby improving the interactive experience of the virtual environment.
[0023] Various example implementations of the scheme are described in detail below in conjunction with the accompanying drawings. In order to illustrate the principles and ideas of the embodiments of the present disclosure, some of the following descriptions will refer to the field of games. However, it will be understood that this is merely exemplary and is not intended to limit the scope of the present disclosure in any way. The embodiments of the present disclosure can be applied to various fields such as simulation, virtual reality, and augmented reality.
[0024] Example Environment
[0025] See first Figure 1 , which schematically illustrates a schematic diagram of an example environment 100 in which an exemplary implementation according to the present disclosure may be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0026] In some embodiments, Figure 1 As shown, the electronic device 110 may include, for example, a suitable type of portable device, which may, for example, support the user's two hands to hold it for various interactive operations. Such electronic devices 110 may include, for example, but are not limited to: smart phones, tablet computers, PDAs, portable game terminals, etc.
[0027] Such an electronic device 110 may include, for example, a sensor of an appropriate type for detecting user gestures. For example, the electronic device 110 may include, for example, a touch screen for detecting various types of gestures made by the user on the touch screen. Alternatively or additionally, the electronic device 110 may also include other appropriate types of sensing devices such as proximity sensors to detect various types of gestures made by the user within a predetermined distance above the screen.
[0028] It should be understood that although the electronic device 110 is Figure 1 Although shown as a portable device in the figure, this is only exemplary. In some other embodiments, the electronic device 110 can also be in other suitable forms. For example, the electronic device 110 can include a display device for display and a computing device for computing, and the display device and the computing device can be physically coupled or separated, for example.
[0029] For example, the electronic device 110 may include a display screen for displaying images, and a game console for rendering images and controlling games.
[0030] In this scenario, the electronic device 110 can, for example, use other appropriate input devices to achieve interaction. For example, the electronic device 110 can achieve interaction through a communicatively coupled keyboard, mouse, joystick, game controller, or other appropriate interaction device.
[0031] Continue to refer Figure 1 ,like Figure 1As described above, the electronic device 110 may present a graphical interface 120, which may present a corresponding virtual environment. For example, the graphical interface 120 may be a game application interface to present a corresponding game scene. Alternatively, the graphical interface 120 may be another appropriate type of interactive interface, which may support a user to control a virtual object in the interface to perform a corresponding action in the virtual environment.
[0032] The specific process of controlling the execution of actions in a virtual environment will be described in detail below.
[0033] Example Interaction
[0034] In order to more intuitively represent the probability mechanism in the interaction process of the virtual environment, the embodiments of the present disclosure can enable the user to understand the principle of whether the corresponding probability event is triggered by presenting probability interaction elements.
[0035] Figure 2A Schematic diagram 200A showing execution of actions in a virtual environment according to some embodiments of the present disclosure. In some embodiments, the electronic device 110 may present Figure 2A As described above, such an interface 205 may include, for example, a graphical interface associated with a virtual environment. Such a virtual environment may include, for example, but is not limited to: various types of game environments, simulated environments or emulated environments, etc.
[0036] like Figure 2A As shown, the interface 205 may include a target object 210. For example, the target object 210 may be, for example, a suitable object that a user may control in a virtual environment, such as a game character.
[0037] In some embodiments, the target object 210 may be triggered to perform a target action in the virtual environment. For example, the electronic device 110 may receive a user selection of the control 220 to determine that the target object 210 is triggered to perform an attack action 225 against another object 215 in the virtual environment.
[0038] In some embodiments, the control 220 may have different presentation styles. For example, the control 220 may be presented as follows: Figure 2A The button style shown can trigger the target action after receiving a click operation. Alternatively, the control 220 can also be presented as a card style, which can trigger the target action after receiving a drag operation. It should be understood that other appropriate styles are also possible.
[0039] In some embodiments, the target object 210 may also be automatically triggered to perform a target action. For example, when the target object 210 moves to a predetermined position in the virtual environment, an attack action 225 directed to another object 215 may be automatically triggered.
[0040] In some embodiments, the electronic device 110 may determine that a target action (e.g., attack action 225) is associated with a probability event. For example, taking the attack action 225 as an example, it may be associated with the probability event of "adding special effects", that is, in the attack action against another object 225, it is possible to attach a corresponding attack special effect.
[0041] like Figure 2A As shown, the electronic device 110 can present the description information of the target action in the first area 230 of the interface 205. Such description information can be used to indicate the probability event associated with the target action. In addition, such description information can also indicate the target value corresponding to the probability event.
[0042] by Figure 2A As an example, the electronic device 110 may present a graphic element or a text element corresponding to the target action in the first area 230 to indicate that the currently executed target action is “attack”.
[0043] Additionally, the electronic device 110 may also present a text element corresponding to the probability event "additional special effects" in the first area 230. Thus, the electronic device 110 may allow the user to intuitively understand that the executed target action may trigger the probability event "additional special effects".
[0044] Furthermore, the electronic device 110 may also present a target value corresponding to the probability event in the first area 230. For example, Figure 2A As shown, the electronic device 110 may present a target value "10" to indicate that the probability event can be triggered only when this value is reached.
[0045] Although the target value "10" is Figure 2A It is shown to be presented in a textual manner, but other appropriate presentation manners are also feasible. For example, the electronic device 110 can use a dot number graphic on a certain side of the dice to represent the target value.
[0046] In some embodiments, the electronic device 110 may also present a probabilistic interaction element in the second area 235 of the interface 205. Figure 2A As shown, after the target object 210 is triggered to perform the target action, the electronic device 110 can, for example, present dynamic changes of the probabilistic interaction element above the position of the target object 210 .
[0047] Exemplarily, such dynamic changes may include rolling, flipping, or other appropriate shapes or appearance changes of the probability interaction element to indicate the determination process of the execution value. In some embodiments, such probability interaction elements may include, for example, one or more dice of appropriate shapes.
[0048] In some embodiments, the dynamic change of the probabilistic interaction element can last for a predetermined time length. For example, the dynamic change of the probabilistic interaction is always 1 second long.
[0049] Alternatively, the dynamic change of the probabilistic interactive element can also stop in response to the user's interaction. For example, the dynamic change of the probabilistic interactive element can continue when the user shakes the electronic device 205, and the dynamic change is terminated after the shaking stops.
[0050] In some embodiments, the position of the second area 235 in the interface 205 may be associated with the position of the target object 210 in the interface 205. For example, the second area 235 may always be set in the upper area of the object 210.
[0051] Further, at a predetermined time when the dynamic change of the probability interaction element ends or before the end, the electronic device 110 can present the execution value associated with the probability event. In some embodiments, the determination of the execution value can be determined based on the user's interaction (e.g., shaking) with the electronic device 205.
[0052] In some embodiments, the determination of the execution value may also be determined based on other appropriate mechanisms. For example, the determination of the execution value may be determined comprehensively taking into account various attributes (e.g., level) of the target object in the virtual environment and / or various attributes of another object in the virtual environment. The present disclosure is not intended to limit the determination mechanism of the execution value.
[0053] Further, the electronic device 110 may present the execution value in association with the probabilistic interaction element in the second area 205. Specifically, the electronic device 110 may determine the presentation style of the execution value according to a comparison between the execution value and the target value, for example.
[0054] For example, for different situations where the execution value is less than the target value and the execution value is greater than or equal to the target value, the electronic device 110 may present the execution value in different styles.
[0055] Figure 2B Schematic diagram 200B of performing an action in a virtual environment according to some embodiments of the present disclosure is shown. In some embodiments, if the execution value is greater than or equal to the target value, the electronic device 110 may present the following Figure 2B The interface shown.
[0056] like Figure 2B As shown, if the electronic device 110 determines that the execution value (eg, 13) is greater than the target value (eg, 10), the electronic device 110 may, for example, present the target value in association with the probabilistic interaction element in the second area 235 .
[0057] Additionally, if Figure 2B As shown, when it is determined that the execution value is greater than or equal to the target value, the electronic device 110 can also cause the probability interaction element to present a change in shape, size, color and / or brightness. For example, the dice in the second area 235 can be changed from the initial first color (e.g., black) to the second color (e.g., green).
[0058] Furthermore, the electronic device 110 may also change the display style of the description information in the first area 230 to indicate that the execution value is greater than or equal to the target value.
[0059] For example, Figure 2B As shown, the electronic device 110 can change the nature, size, color and / or brightness of the text or graphic elements in the description information. For example, the electronic device 110 can highlight the text element or graphic element associated with the target value in the first area 230 to indicate that the target value has been reached.
[0060] In some embodiments, the electronic device 110 may also present another probability interaction element (e.g., a dice) in association with the target value in the first area 230, which may be, for example, a static graphic element. When it is determined that the execution value is greater than or equal to the target value, the electronic device 110 may also change the dice in the first area 230 from an initial first color (e.g., black) to a second color (e.g., green).
[0061] Furthermore, the electronic device 110 may control the target action to be executed in the virtual environment, and the execution may indicate that a probability event associated with the target action is triggered.
[0062] For example, Figure 2B As shown, the electronic device 110 may present a graphic element 240 above another object 215 to indicate that the attack action 225 successfully triggers an additional special effect (eg, burning).
[0063] In some embodiments, when the execution value is less than the target value, the electronic device 110 may present different information.
[0064] Figure 2C Schematic diagram 200C of performing an action in a virtual environment according to some embodiments of the present disclosure is shown. In some embodiments, if the execution value is less than the target value, the electronic device 110 may present a Figure 2C The interface shown.
[0065] like Figure 2C As shown, if the electronic device 110 determines that the execution value (eg, 8) is greater than the target value (eg, 10), the electronic device 110 may, for example, present the target value in association with the probabilistic interaction element in the second area 235 .
[0066] Additionally, if Figure 2C As shown, when it is determined that the execution value is less than the target value, the electronic device 110 can also make the probability interaction element present a change in shape, size, color and / or brightness. For example, the dice in the second area 235 can be changed from the initial first color (e.g., black) to the second color (e.g., red).
[0067] Furthermore, the electronic device 110 may also change the display style of the description information in the first area 230 to indicate that the execution value is less than the target value.
[0068] For example, Figure 2C As shown, the electronic device 110 can change the nature, size, color and / or brightness of the text or graphic elements in the description information. For example, the electronic device 110 can gray out the text elements or graphic elements associated with the target value in the first area 230 to indicate that the target value has not been reached.
[0069] In some embodiments, the electronic device 110 may also present another probability interaction element (e.g., a dice) in association with the target value in the first area 230, which may be, for example, a static graphic element. When it is determined that the execution value is less than the target value, the electronic device 110 may also change the shape of the dice in the first area 230, for example, presenting a cracking animation.
[0070] Further, the electronic device 110 may control the target action to be executed in the virtual environment. The execution may indicate that the probability event associated with the target action is not triggered.
[0071] Based on this approach, the embodiments of the present disclosure can intuitively characterize the probability mechanism in the interaction process through probabilistic interaction elements, and enable users to intuitively understand the results of probabilistic events, thereby improving the friendliness of the interaction.
[0072] As discussed above, the target object may be automatically triggered to perform the target action. In some embodiments, the electronic device 110 may also intuitively represent the object targeted by the target action through graphic information.
[0073] Figure 3 FIG. 3 is a schematic diagram 300 showing execution of actions in a virtual environment according to other embodiments of the present disclosure. Figure 3 As shown, the electronic device 110 may present an interface 310 , for example, which may allow a user to add a new object during the preparation stage or process of a battle.
[0074] like Figure 3 As shown, the interface 310 can present a group of graphic elements 310 corresponding to different types of objects. When receiving an operation 330 of dragging the graphic element 310 to a first position in the virtual scene, the electronic device 310 presents an object 340 corresponding to the graphic element 310 at the first position.
[0075] As discussed above, the object 340 can be automatically triggered to perform a target action in the virtual environment. In order to allow the user to more clearly understand the object that the target action will be directed to, the electronic device 110 can determine that the object 340 will be triggered to perform a target action (e.g., an attack action) directed to the object 350 based on the first position of the object 340 and other positions associated with the first position (e.g., positions within a predetermined distance).
[0076] For example, Figure 3 As shown, the electronic device 110 may determine based on the first position of the object 340 and the positions of the objects 350 and 360 that after the user places the object 340 at the first position, it will be automatically triggered to target the action for the object 350 .
[0077] In some embodiments, the electronic device 110 may also indicate the association of different objects in the virtual scene through connection elements. Figure 3 As shown, in the battle layout phase, the user can, for example, drag object 340 to a predetermined position. Further, electronic device 110 can present connection elements between object 340 and object 350, for example, connection element 355-1 and / or connection element 355-2.
[0078] Exemplarily, connection element 355-1 may be used to indicate that object 350 will be determined as a target of a predetermined action (eg, which may be the same as or different from the target action) of object 340. For example, connection element 355-1 may indicate that object 340 will perform a normal attack on object 350.
[0079] Exemplarily, the connecting element 355-2 may be used to indicate that the object 340 will be determined as the target of a predetermined action (eg, the same as or different from the target action) of the object 350. For example, the connecting element 355-2 may indicate that the object 350 will release a predetermined skill on the object 340.
[0080] In some embodiments, connection element 355-1 and / or connection element 355-2 may also indicate a hatred mechanism in the virtual environment. For example, connection element 355-1 may indicate that the object with the highest hatred of object 340 is object 350, and object 340 will preferentially perform attack-related actions against object 350. Similarly, connection element 355-2 may indicate that the object with the highest hatred of object 350 is object 340, and object 350 will preferentially perform attack-related actions against object 340.
[0081] Based on this approach, the embodiments of the present disclosure can more intuitively characterize the relationship between objects in a virtual environment, thereby facilitating users to perform more accurate control.
[0082] Example Process
[0083] Figure 4 FIG. 4 is a flowchart showing a process 400 of performing an action in a virtual environment according to some embodiments of the present disclosure. For example, the process 400 may be Figure 1 The electronic device 110 is implemented independently, or is implemented by a combination of the electronic device 110 and other computing devices. Figure 1 4. The process 400 is described below.
[0084] like Figure 4 As shown, in box 410, in response to the target object being triggered to perform a target action in the virtual environment, the electronic device 110 presents descriptive information associated with the target action in the first area, and the descriptive information is used to indicate a probabilistic event associated with the target action and a target numerical value corresponding to the probabilistic event.
[0085] In box 420, the electronic device 110 presents the execution value associated with the probabilistic event in the second area using the dynamic change of the probabilistic interactive element, and the second area is associated with the position of the target object.
[0086] In block 430 , the electronic device 110 controls the target action to be executed in the virtual environment, wherein the triggering result of the probabilistic event associated with the target action is determined based on the comparison between the execution value and the target value.
[0087] In some embodiments, presenting an execution value associated with a probability event in the second area includes: presenting dynamic changes of a probability interaction element in the second area to indicate a determination process of the execution value; and presenting the execution value associated with the probability interaction element, wherein the style in which the execution value is presented is related to whether the execution value is less than a target value.
[0088] In some embodiments, the electronic device 110 may also determine that a probabilistic event is triggered in response to the execution value being greater than or equal to the target value.
[0089] In some embodiments, the electronic device 110 may also determine that the probabilistic event is not triggered in response to the execution value being less than the target value.
[0090] In some embodiments, the probability interaction element is a first probability interaction element, and the first area also includes a second probability interaction element associated with a target value. The electronic device 110 can also: in response to the execution value being greater than or equal to the target value, cause the second probability interaction element to present a first change to indicate that the probability event is triggered; or in response to the execution value being less than the target value, cause the second probability interaction element to present a second change to indicate that the probability event is not triggered.
[0091] In some embodiments, the first change or the second change includes a change with respect to at least one of: shape, size, color, or brightness.
[0092] In some embodiments, the electronic device 110 may also present a connection element associated with the target object and another object in response to the target object being moved to a first position in the virtual environment, the connection element being used to indicate: the other object is determined as the target of the target object's first action; and / or the target object is determined as the target of the other object's second action.
[0093] Example devices and equipment
[0094] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an apparatus 500 for performing an action in a virtual environment according to some embodiments of the present disclosure is shown.
[0095] like Figure 5 As shown, the device 500 includes a first presentation module 510, which is configured to present descriptive information associated with the target action in a first area in response to a target object being triggered to perform a target action in a virtual environment, wherein the descriptive information is used to indicate a probabilistic event associated with the target action and a target numerical value corresponding to the probabilistic event.
[0096] The device 500 also includes a second presentation module 520, which is configured to present the execution value associated with the probability event in the second area by using the dynamic change of the probability interaction element, and the second area is associated with the position of the target object.
[0097] The apparatus 500 further includes a control module 530 configured to control a target action to be executed in the virtual environment, wherein a triggering result of a probabilistic event associated with the target action is determined based on a comparison between an execution value and a target value.
[0098] In some embodiments, the second presentation module 520 is further configured to: present dynamic changes of the probability interaction element in the second area to indicate the determination process of the execution value; and present the execution value associated with the probability interaction element, wherein the style in which the execution value is presented is related to whether the execution value is less than the target value.
[0099] In some embodiments, the control module 530 is further configured to determine that a probabilistic event is triggered in response to the execution value being greater than or equal to the target value.
[0100] In some embodiments, the control module 530 is further configured to determine that the probabilistic event is not triggered in response to the execution value being less than the target value.
[0101] In some embodiments, the probability interaction element is a first probability interaction element, the first area also includes a second probability interaction element associated with a target value, and the first presentation module 510 is also configured to: in response to the execution value being greater than or equal to the target value, cause the second probability interaction element to present a first change to indicate that the probability event is triggered; or in response to the execution value being less than the target value, cause the second probability interaction element to present a second change to indicate that the probability event is not triggered.
[0102] In some embodiments, the first change or the second change includes a change with respect to at least one of: shape, size, color, or brightness.
[0103] In some embodiments, the control module 530 is also configured to: in response to the target object being moved to a first position in the virtual environment, present a connection element associated with the target object and another object, the connection element being used to indicate: the other object is determined as the target of the first action of the target object; and / or the target object is determined as the target of the second action of the other object.
[0104] The units included in the device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 500 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0105] Figure 6 1 shows a block diagram of a computing device / server 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6The computing device / server 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0106] like Figure 6 As shown, computing device / server 600 is in the form of a general-purpose computing device. Components of computing device / server 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 660, and one or more output devices 660. Processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device / server 600.
[0107] The computing device / server 600 typically includes a plurality of computer storage media. Such media may be any available media accessible to the computing device / server 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device / server 600.
[0108] The computing device / server 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0109] The communication unit 640 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device / server 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device / server 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0110] Input device 650 may be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 may be one or more output devices, such as a display, speaker, printer, etc. Computing device / server 600 may also communicate with one or more external devices (not shown) as needed, such as storage devices, display devices, etc., with one or more devices that enable a user to interact with computing device / server 600, or with any device that enables computing device / server 600 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.) through communication unit 640. Such communication may be performed via an input / output (I / O) interface (not shown).
[0111] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above.
[0112] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0113] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0114] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0115] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0116] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. A method for performing an action in a virtual environment, comprising: In response to the target object being triggered to perform a target action in the virtual environment, presenting, in the first area, description information associated with the target action, the description information being used to indicate a probability event associated with the target action and a target value corresponding to the probability event; In a second area, an execution value associated with the probability event is presented by utilizing dynamic changes of the first probability interaction element, the second area being associated with the position of the target object; as well as Controlling the target action to be executed in the virtual environment, wherein a triggering result of the probabilistic event associated with the target action is determined based on a comparison between the execution value and the target value; The method further includes: in response to the execution value being greater than or equal to the target value, causing a second probability interaction element associated with the target value in the first area to present a first change to indicate that the probability event is triggered; Or in response to the execution value being less than the target value, the second probability interaction element is caused to present a second change to indicate that the probability event has not been triggered.
2. The method according to claim 1, wherein presenting the execution value associated with the probabilistic event in the second area comprises: presenting the dynamic change of the first probability interactive element in the second area to indicate the determination process of the execution value; as well as The execution value is presented in association with the first probabilistic interactive element, wherein the manner in which the execution value is presented is related to whether the execution value is less than the target value. 3 . The method of claim 1 , wherein the first change or the second change comprises a change with respect to at least one of: shape, size, color, or brightness.
4. The method according to claim 1, further comprising: In response to the target object being moved to a first position in the virtual environment, a connection element associated with the target object and another object is presented, wherein the connection element is used to indicate that: the other object is determined as a target of a first action of the target object; and / or the target object is determined as a target of a second action of the other object. The method of claim 1 , wherein the first probabilistic interactive element comprises a dice.
6. An apparatus for performing an action in a virtual environment, comprising: A first presentation module is configured to present, in response to a target object being triggered to perform a target action in the virtual environment, description information associated with the target action in a first area, the description information being used to indicate a probability event associated with the target action and a target value corresponding to the probability event; A second presentation module is configured to present an execution value associated with the probability event by using a dynamic change of the first probability interaction element in a second area, the second area being associated with a position of the target object; as well as a control module configured to control the target action to be executed in the virtual environment, wherein a triggering result of the probabilistic event associated with the target action is determined based on a comparison between the execution value and the target value; The first presentation module is further configured to: in response to the execution value being greater than or equal to the target value, cause the second probability interaction element associated with the target value in the first area to present a first change to indicate that the probability event is triggered; Or in response to the execution value being less than the target value, the second probability interaction element is caused to present a second change to indicate that the probability event has not been triggered.
7. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 5 when executed by the at least one processing unit.
8. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Information processing method and terminal and computer storage medium
CN105214309A
View board game
CN111973974A
Role control method in game, role control device, equipment and medium
CN113476825A
Information preview method and device, equipment and storage medium
CN113509730A
Object selection method and device for virtual scene, storage medium and program product
CN114130011A
