Method and device for optimizing number of special-effect particles

A technology of special effects and particles, applied in the field of games, can solve problems such as control and the number of special effect particles that cannot be realized

Pending Publication Date: 2020-04-17
BEIJING PIXEL SOFTWARE TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing technology cannot realiz...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for optimizing number of special-effect particles
  • Method and device for optimizing number of special-effect particles
  • Method and device for optimizing number of special-effect particles

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flowchart of a method for optimizing the number of special effect particles provided by an embodiment of the present invention. refer to figure 1 , a method for optimizing the number of special effect particles provided by an embodiment of the present invention may include the following steps:

[0029] Step S100, obtaining special effect information of the special effect selected by the game player, and creating target special effect particles based on the special effect information.

[0030] In the embodiment of the present invention, different special effects correspond to different special effect information. The target special effect particle is a special effect particle corresponding to a special effect created based on the special effect information. In the embodiment of the present invention, a particle manager class (ParticleManager, PM for short) can be used to create or destroy target special effect particles. Create two queues in the part...

Embodiment 2

[0058] image 3 It is a flowchart of an apparatus for optimizing the number of special effect particles provided by an embodiment of the present invention. refer to image 3 , the device can include the following modules:

[0059] Obtain and create module 11, for obtaining the special effect information of the special effect selected by the game player, and create target special effect particles based on the special effect information;

[0060] Acquisition marking module 12 is used to obtain the role information of the game player, and carry out priority marking to the target special effect particles based on the role information; the target special effect particles include: high priority special effect particles and low priority special effect particles;

[0061] The first judging module 13 is used for judging whether the first queue storing high-priority special effect particles contains a vacancy if the target special effect particle is a high priority special effect part...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for optimizing the number of special-effect particles, and relates to the technical field of games, and the method comprises the following steps: obtaining the special-effect information of a special effect selected by a game player, and creating target special-effect particles based on the special-effect information; obtaining role information of a gameplayer, and performing priority marking on the target special effect particles based on the role information; if the target special-effect particles are high-priority special-effect particles, judgingwhether a first queue for storing the high-priority special-effect particles contains vacancies or not; if not, judging whether special-effect particles exist in a second queue for storing the low-priority special-effect particles or not; if yes, deleting the special effect particles at the head end in the second queue, and storing the target special effect particles at the tail end of the firstqueue, wherein the sum of the length of the first queue and the length of the second queue is smaller than or equal to the preset special-effect particle number. According to the invention, the numberof the special effect particles is controlled by limiting the sum of the length of the first queue and the length of the second queue within the preset range of the number of the special effect particles.

Description

technical field [0001] The invention relates to the technical field of games, in particular to a method and device for optimizing the number of special effect particles. Background technique [0002] In the design of 3D games, a special effect particle system is usually developed to achieve special effects such as fire, dust, and skills. However, when multiple players use special effects skills at the same time in a 3D game, a large number of special effect particles may be generated at the same time, and a large amount of resources need to be wasted for logical calculation and drawing of special effect particles. [0003] Most of the existing technologies ensure that the number of special effect particles emitted by the same emitter is within a controllable range by limiting the emission quantity of a single emitter. A special effect can include multiple emitters. If the existing technology is used to control the number of special effect particles emitted by multiple emitt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): A63F13/52G06T15/00
CPCA63F13/52G06T15/005G06T2210/56A63F2300/6638
Inventor 蒋祺
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products