Information determining method and apparatus, device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsDa Pan, Zegao Liu
Life of this patent
Estimating the term…
Abstract
An information determining method and apparatus are provided. The method may include determining an aiming position of a virtual firearm being within an aiming assistance range of a target object. The method may further include determining, in response to a sequence of consecutive target firing operations for the virtual firearm, an aiming assistance strength of the virtual firearm based on the sequence. The method may further include providing, based on the aiming assistance strength, a first offset for drawing an aiming position of the virtual firearm to the target object; and controlling the virtual firearm to shoot based on the aiming position.
Claims20
A method for simulating a virtual game on a display device, the method being performed by at least one processor, and the method comprising:
- controlling the display device to display a first virtual scene comprising a virtual object holding a virtual firearm that is aimed at a target object;
- determining that an aiming position of the virtual firearm is within an aiming assistance range of the target object;
- determining, in response to receiving operation instructions associated with performance of a sequence of consecutive target firing operations of the virtual firearm within the virtual game, an aiming assistance strength of the virtual firearm based on the sequence and a recoil strength of the virtual firearm based on the sequence,
- wherein the aiming assistance strength reduces as a number of target firing operations in the sequence increases, and
- wherein the recoil strength increases as the number of the target firing operations in the sequence increases;
- obtaining a first offset associated with the aiming position based on the aiming assistance strength and a second offset associated with the aiming position based on the recoil strength, the first offset and the second offset being indicative of an offset of the aiming position from the target object;
- controlling the display device to display a simulation wherein the virtual firearm shoots the target object based on the aiming position, the first offset, and the second offset;
- and
- controlling the display device to further display a jitter animation of the firearm in combination with the simulation responsive to the virtual firearm shooting the target object, the jitter animation of the firearm simulating a jitter of the firearm based on the aiming position and the recoil strength.
An apparatus for simulating a virtual game on a display device, comprising:
- at least one memory configured to store program code;
- and
- at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
- displaying code configured to cause the at least one processor to control the display device to display a first virtual scene comprising a virtual object holding a virtual firearm that is aimed at a target object;
- first determining code configured to cause the at least one processor to determine that an aiming position of the virtual firearm is within an aiming assistance range of the target object;
- second determining code configured to cause the at least one processor to determine, in response to receiving operation instructions associated with performance of a sequence of consecutive target firing operations of the virtual firearm within the virtual game, an aiming assistance strength of the virtual firearm based on the sequence and a recoil strength of the virtual firearm based on the sequence,
- wherein the aiming assistance strength reduces as a number of target firing operations in the sequence increases, and
- wherein the recoil strength increases as the number of the target firing operations in the sequence increases;
- offset code configured to cause the at least one processor to obtain a first offset associated with the aiming position based on the aiming assistance strength and a second offset associated with the aiming position based on the recoil strength, the first offset and the second offset being indicative of an offset of the aiming position from the target object;
- first controlling code configured to cause the at least one processor to control the display device to display a simulation wherein the virtual firearm shoots the target object based on the aiming position, the first offset, and the second offset;
- and
- second controlling code configured to cause the at least one processor to control the display device to display a jitter animation of the firearm in combination with the simulation responsive to the virtual firearm shooting the target object, the jitter animation of the firearm simulating a jitter of the firearm based on the aiming position and the recoil strength.
A non-transitory computer-readable storage medium, storing a computer program with instructions that when executed by at least one processor causes the at least one processor to:
- control a display device to display a first virtual scene comprising a virtual object holding a virtual firearm that is aimed at a target object;
- determine that an aiming position of the virtual firearm is within an aiming assistance range of the target object;
- determine, in response to receiving operation instructions associated with performance of a sequence of consecutive target firing operations of the virtual firearm within the virtual game, an aiming assistance strength of the virtual firearm based on the sequence and a recoil strength of the virtual firearm based on the sequence,
- wherein the aiming assistance strength reduces as a number of target firing operations in the sequence increases, and
- wherein the recoil strength increases as the number of the target firing operations in the sequence increases;
- obtain a first offset associated with the aiming position based on the aiming assistance strength and a second offset associated with the aiming position based on the recoil strength, the first offset and the second offset being indicative of an offset of the aiming position from the target object;
- control the display device to display a simulation wherein the virtual firearm shoots the target object based on the aiming position, the first offset, and the second offset;
- and
- control the display device to further display a jitter animation of the firearm in combination with the simulation responsive to the virtual firearm shooting the target object, the jitter animation of the firearm simulating a jitter of the firearm based on the aiming position and the recoil strength.
Dependencies are inferred from the claim text.