Game data processing method and apparatus, device, storage medium, and program product
View Patent ↗This application discloses a game data processing method and apparatus, a device, and a readable storage medium. The method includes displaying a game interface comprising a first virtual building and a second virtual building, wherein the first virtual building is of a first building level, and the second virtual building is of a second building level; generating a first virtual attacking unit corresponding to the first building level to attack the second virtual building; upgrading the second building level of the second virtual building in response to the first virtual attacking unit being eliminated; and generating a second virtual attacking unit to attack the first virtual building based on the upgraded second building level.
1 . A game data processing method, performed by a terminal and comprising:
displaying a game interface comprising a first virtual building and a target object of a first camp and a second virtual building and a contention object of a second camp, wherein the target object and the contention object being respectively controlled by corresponding players, the first virtual building is of a first building level, and the second virtual building is of a second building level;
generating a first virtual attacking unit of the first camp corresponding to the first building level to attack the second virtual building;
generating a second virtual attacking unit of the second camp corresponding to the second building level to attack the first virtual building;
displaying, on the game interface, the second virtual attacking unit being attacked by the target object in response to a user operation on an attack control;
upgrading the first building level of the first virtual building in response to the second virtual attacking unit being eliminated; and
generating an updated first virtual attacking unit of the first camp to attack the second virtual building based on the upgraded first building level.
2 . The method according to claim 1 , wherein the first virtual attacking unit moves along a first path to attack the second virtual building, and the second virtual attacking unit moves along a second path to attack the first virtual building.
3 . The method according to claim 2 , wherein the first virtual attacking unit has an attack range less than the length of the first path.
4 . The method according to claim 2 , further comprising:
displaying the contention object associated with the second virtual building on a side of the first path; and
displaying the contention object attacking the first virtual attacking unit.
5 . The method according to claim 4 , wherein:
the first path, the first virtual attacking unit, the second virtual building, and the contention object are displayed in a first region of the user interface, and
the second path, the second virtual attacking unit, the target object, and the first virtual building are displayed in a second region of the user interface.
6 . The method according to claim 1 , wherein an attribute of the second virtual attacking unit correlates to the second building level of the second virtual building.
7 . The method according to claim 1 , wherein upgrading the first building level of the second virtual building in response to the second virtual attacking unit being eliminated comprises:
increasing an experience point associated with the first virtual building in response to the second virtual attacking unit being eliminated; and
upgrading the first building level after the experience point associated with the first virtual building reaching a threshold.
8 . The method according to claim 1 further comprising:
casting a skill or prop in response to a user instruction to:
increase the first building level or an experiment point associated with the first virtual building; or
attack the second virtual unit at a location of the user interface indicated by the user instruction.
9 . The method according to claim 1 further comprising:
displaying a winning prompt for a user associated with the first virtual building when the second virtual building is destroyed by the first virtual attacking unit.
10 . The method according to claim 1 , wherein a virtual health value of the updated first virtual attaching unit is higher than a virtual health value of the first virtual attaching unit before upgrading the first building level of the first virtual building.
11 . A computer device, comprising: one or more processors, a memory, and a network interface;
the processor being connected to the memory and the network interface, the network interface being configured to provide a network communication function, the memory being configured to store program code, and the one or more processors being configured to invoke the program code, so that the computer device performs:
displaying a game interface comprising a first virtual building and a target object of a first camp and a second virtual building and a contention object of a second camp, wherein the target object and the contention object being respectively controlled by corresponding players, the first virtual building is of a first building level, and the second virtual building is of a second building level;
generating a first virtual attacking unit of the first camp corresponding to the first building level to attack the second virtual building;
generating a second virtual attacking unit of the second camp corresponding to the second building level to attack the first virtual building;
displaying, on the game interface, the second virtual attacking unit being attacked by the target object in response to a user operation on an attack control;
upgrading the first building level of the first virtual building in response to the second virtual attacking unit being eliminated; and
generating an updated first virtual attacking unit of the first camp to attack the second virtual building based on the upgraded first building level.
12 . The computer device according to claim 11 , wherein the first virtual attacking unit moves along a first path to attack the second virtual building, and the second virtual attacking unit moves along a second path to attack the first virtual building.
13 . The computer device according to claim 12 , wherein the first virtual attacking unit has an attack range less than the length of the first path.
14 . The computer device according to claim 12 , wherein the one or more processors are further configured to perform:
displaying the contention object associated with the second virtual building on a side of the first path; and
displaying the contention object attacking the first virtual attacking unit.
15 . The computer device according to claim 14 , wherein:
the first path, the first virtual attacking unit, the second virtual building, and the contention object are displayed in a first region of the user interface, and
the second path, the second virtual attacking unit, the target object, and the first virtual building are displayed in a second region of the user interface.
16 . The computer device according to claim 11 , wherein an attribute of the second virtual attacking unit correlates to the second building level of the second virtual building.
17 . The computer device according to claim 11 , wherein upgrading the first building level of the second virtual building in response to the second virtual attacking unit being eliminated comprises:
increasing an experience point associated with the first virtual building in response to the second virtual attacking unit being eliminated; and
upgrading the first building level after the experience point associated with the first virtual building reaching a threshold.
18 . The computer device according to claim 11 , wherein the one or more processors are further configured to cast a skill or prop in response to a user instruction to:
increase the first building level or an experiment point associated with the first virtual building; or
attack the second virtual unit at a location of the user interface indicated by the user instruction.
19 . The computer device according to claim 11 , wherein the one or more processors are further configured to perform:
displaying a winning prompt for a user associated with the first virtual building when the second virtual building is destroyed by the first virtual attacking unit.
20 . A non-transitory computer readable storage medium, the computer readable storage medium storing a computer program, and the computer program being adapted to be loaded by more or more processors to perform:
displaying a game interface comprising a first virtual building and a target object of a first camp and a second virtual building and a contention object of a second camp, wherein the target object and the contention object being respectively controlled by corresponding players, the first virtual building is of a first building level, and the second virtual building is of a second building level;
generating a first virtual attacking unit of the first camp corresponding to the first building level to attack the second virtual building;
generating a second virtual attacking unit of the second camp corresponding to the second building level to attack the first virtual building;
displaying, on the game interface, the second virtual attacking unit being attacked by the target object in response to a user operation on an attack control;
upgrading the first building level of the first virtual building in response to the second virtual attacking unit being eliminated; and
generating an updated first virtual attacking unit of the first camp to attack the second virtual building based on the upgraded first building level.