Particle special effect generation method and device, storage medium, and computer device
Patent Information
- Application Number
- CN202111654618.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2041-12-30
AI Technical Summary
通常烟花等道具的特效是游戏开发人员预先制作好的,在游戏中由玩家操作触发特效动画的播放,特效效果较为单一,难以满足玩家个性化的游戏需求
Smart Images

Figure CN116407843B_ABST
Abstract
Claims
1. A method for generating particle effects, characterized in that, Applied to game clients, including: In response to a particle effect generation command for a target game item within the game, obtain the information to be displayed indicated by the particle effect generation command; Based on the information to be displayed, particle configuration data is determined, and a particle editor is invoked to generate a first particle effect that matches the particle configuration data. This includes: invoking the particle text parameter component of the particle editor to generate a text effect corresponding to the particle configuration data; and invoking the particle effect generation component of the particle editor to generate the first particle effect that matches the text effect. The particle editor is pre-installed in the game client. In response to a first particle effect display command, the first particle effect is displayed, and a particle effect synchronization display notification is sent to the game server. This allows the game server to determine the associated player character within the effect synchronization range of the target player character's location based on the target player character's location corresponding to the game client, and to send the information to be displayed to the associated client of the associated player character. The associated client generates a second particle effect based on the information to be displayed, and displays the second particle effect when it is determined that the current player character corresponding to the associated client is within the visible area of the second particle effect.
2. The method according to claim 1, characterized in that, Before obtaining the display information indicated by the particle effect generation command in response to the in-game particle effect generation command, the method further includes: Receive the first text information and / or selected information identifier entered by the player in the information input interface; Based on the player's confirmation operation of the first text information and / or the information identifier, the particle effect generation instruction is generated, wherein the information to be displayed includes the first text information and / or the second text information obtained based on the information identifier.
3. The method according to claim 2, characterized in that, Before receiving the first text information and / or selected information identifier entered by the player in the information input interface, the method further includes: In response to the selection of a target game item, the information input interface is displayed, wherein the target game item includes a firework item, and the information input interface includes a text information input area and / or an information identifier selection area; Accordingly, after displaying the first particle effect, the method further includes: If the target game item is an item type that affects the player's character attributes, a notification of successful use of the target game item will be sent to the game server.
4. The method according to claim 2, characterized in that, After obtaining the information to be displayed indicated by the particle effect generation instruction, the method further includes: The text specification set by the player is obtained as the preview text specification. If the player has not set one, the preset text specification is obtained as the preview text specification. The preview text specification includes at least one of font, font size, and color. Based on the preview text specifications, the corresponding preset first preview effect is displayed; Accordingly, determining the particle configuration data based on the information to be displayed specifically includes: If a confirmation instruction for the preset first preview effect is received, the particle configuration data is determined based on the information to be displayed and the preview text specifications; If a modification instruction for the preview text specifications is received, the preview text specifications are modified based on the modification instruction, and a preset second preview effect matching the modified preview text specifications is displayed. Upon receiving a confirmation instruction for the preset second preview effect, particle configuration data is determined based on the information to be displayed and the modified preview text specifications.
5. A particle effects generation device, characterized in that, Applied to game clients, including: The information acquisition module is used to respond to the particle effect generation command of the target game item in the game and acquire the information to be displayed indicated by the particle effect generation command. The special effects generation module is used to determine particle configuration data based on the information to be displayed, and to call the particle editor to generate a first particle effect that matches the particle configuration data, wherein the particle editor is preset in the game client; The special effects generation module is specifically used to call the particle text parameter component of the particle editor to generate text effects corresponding to the particle configuration data; and to call the particle special effects generation component of the particle editor to generate the first particle special effects that match the text effects. The special effects display module is used to respond to a first particle effect display command, display the first particle effect, and send a particle effect synchronization display notification to the game server, so that the game server determines the associated player character within the effect synchronization range of the target player character position based on the target player character position corresponding to the game client, and sends the information to be displayed to the associated client of the associated player character. The associated client generates a second particle effect based on the information to be displayed, and displays the second particle effect when it is determined that the current player character corresponding to the associated client is within the visible area of the second particle effect.
6. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 4.
7. A computer device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Method for generating firework visual effect, electronic equipment and storage medium
CN112700517A
Special effect character generation method and device, storage medium and electronic equipment
CN113421214A