Method for virtual object interaction, electronic device, storage medium, and computer program product
Abstract
A method for virtual object interaction. The method includes: receiving, by a server, an interaction instruction from a client to instruct multiple first virtual objects to interact with a target virtual object; creating, by the server, one or more mirror objects of the target virtual object, a sum of the number of the one or more mirror objects and the number of the target virtual object being the same as the number of the multiple first virtual objects; calculating, by the server, interaction data of interactions between the multiple first virtual objects, and the target virtual object and the one or more mirror objects; and synchronizing, by the server, first attribute data of the target virtual object and first attribute data of the one or more mirror objects based on the interaction data, and sending the synchronized first attribute data to the client.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for virtual object interaction, comprising: receiving, by a server, an interaction instruction from a client to instruct multiple first virtual objects to interact with a target virtual object; creating, by the server, one or more mirror objects of the target virtual object, a sum of the number of the one or more mirror objects and the number of the target virtual object being the same as the number of the multiple first virtual objects; calculating, by the server, interaction data of interactions between the multiple first virtual objects, and the target virtual object and the one or more mirror objects, wherein each of the multiple first virtual objects interact with the target virtual object and the one or more mirror objects in a one-to-one correspondence, and interaction processes are independent of each other; and synchronizing, by the server, first attribute data of the target virtual object and first attribute data of the one or more mirror objects based on the interac
- Claim 2Depends on #1
The method according to claim 1, wherein the first attribute data comprise the number of hit points.
- Claim 3Depends on #1
The method according to claim 1, wherein the interaction data further comprise second attribute data that are only visible to the multiple first virtual objects and to the target virtual object or the one or more mirror objects corresponding to each of the interaction processes; and the second attribute data comprise a remaining skill cool down time, hit points restored during the interaction processes, a buff status and a debuff status.
- Claim 4Depends on #3
The method according to claim 3, wherein the second attribute data further comprise a debuff status caused by one of the multiple first virtual objects of a predetermined type, and the debuff status is configured to act on the target virtual object and all of the one or more mirror objects, respectively.
- Claim 5Depends on #1
The method according to claim 1, wherein, calculating, by the server, the interaction data of the interactions between the multiple first virtual objects, and the target virtual object and the one or more mirror objects comprises: the server determining that, among the multiple first virtual objects, one first virtual object starting to participate in an interaction first is a main target object, and other first virtual objects are non-main target objects, wherein calculation rules of interaction data of the non-main target objects are different from calculation rules of interaction data of the main target object.
- Claim 6Depends on #5
The method according to claim 5, further comprising: under a condition that the main target object exits the interaction, the server determining that, among the non-main target objects, one non-main target object starting to participate in an interaction first is a new main target object.
- Claim 7Depends on #1
The method according to claim 1, wherein the multiple first virtual objects and the target virtual object each comprise one or more virtual object units of the same type.
- Claim 8Depends on #1
The method according to claim 1, wherein the interaction data comprise created, transmitted, used, or modified data involved in each of the interaction processes.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2024/081912, entitled “ Method for Virtual Object Interaction, Device, Storage Medium, and Computer Program Product ” , filed on Mar. 15, 2024, which claims priority of Chinese patent application No. 2023114770472, filed on Nov. 7, 2023, the entire content of which are incorporated herein by reference. TECHNICAL FIELD The present application relates to the field of computer technology, and in particular to methods for virtual object interaction, electronic devices, storage medium and computer program products. BACKGROUND In a Simulation Game (SLG), a game player needs to plan and execute various strategies to achieve game goals. The gameplay of the SLG is diverse, and it may be turn-based or real-time mechanic, or it may be a single-player or multi-player game. Common types include strategic simulation, city construction, war strategies, etc. In the SLG, the player usually needs to control multiple own virtual objects to participate in a “ many-against-one ” battle with an enemy virtual object, or in a “ one-against-many ” battle with multiple enemy virtual objects fighting against one of own virtual objects, thus achieving game strategies or game goals to present the strategy and realness of a scene simulation. However, in the existing turn-based SLG, the virtual objects controlled by the player take turns to fight against enemy units, and it is difficult for the multiple own units to participate in a battle interaction with the same enemy unit at the same time, thus making it impossible to achieve “ many-against-one ” or “ one-against-many ” real-time battle effects. In the real-time SLG, it is impossible to simulate a “ many-against-one ” or “ one-against-many ” real-time battle between group-type units vividly and truly either. SUMMARY The present application provides methods for virtual object interaction, devices, storage medium and comput
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (3)
- Machine translation of CN116983649A (Year: 2023).
- Machine translation of CN103729435A (Year: 2014).
- International Search Report and Written Opinion in related International Application No. PCT/CN2024/081912, dated Jul. 30, 2024, 9 pages.