User Tools

Site Tools


en:rpd:zap_effects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:rpd:zap_effects [2026/01/01 19:45] – namespace move Mikeen:rpd:zap_effects [2026/01/01 19:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Zap Effects ======
  
 +**Zap Effects** are visual effects used in Remixed Pixel Dungeon when ranged attacks or spells are cast between two points.
 +
 +==== Description ====
 +Zap Effects are visual lines or beams that connect a caster or attacker to their target, providing visual feedback when ranged abilities are used. Different types of zap effects are used for different types of attacks and spells.
 +
 +==== Types of Zap Effects ====
 +  * **Arrow** - Used for ranged weapon attacks
 +  * **Wand** - Generic effect for most wand types
 +  * **Lightning** - Used for lightning-based wands and spells
 +  * **Kunai** - Used specifically for the [[en:rpd:kunai_throw_spell|Kunai Throw]] spell
 +  * **Shuriken** - Used for shuriken and other throwing weapons
 +  * **Magic Missile** - Used for magic missile effects
 +  * **Fire** - Used for fire-based weapons and spells
 +  * **Frost** - Used for frost-based weapons and spells
 +  * **Teleportation** - Used for blink and teleportation effects
 +
 +==== Implementation ====
 +  * Base implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/effects/ZapGlow.java|ZapGlow.java]]
 +  * Effect definition: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/platform/specific/Implementations.java#L34-L69|Implementations.java]]
 +  * Usage in spells: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/KunaiThrow.lua#L32|RPD.zapEffect()]]
 +  * RPD API: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/Utils/RpdScriptUtils.java|RpdScriptUtils.java]]
 +
 +==== Related Mechanics ====
 +  * [[en:rpd:spells|Spells]] - Abilities that use zap effects
 +  * [[en:rpd:wands|Wands]] - Items that use zap effects
 +  * [[en:rpd:ranged_combat|Ranged Combat]] - General ranged attack mechanics
 +  * [[en:rpd:effects|Visual Effects]] - Other visual effects in the game
 +
 +{{tag> rpd mechanics effects visuals }}
en/rpd/zap_effects.txt · Last modified: by 127.0.0.1