Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
TMJA Shooting - TMJAShooting.js
Plugin desc : Adds the ability to fire bullets at players and events.
License : MIT License
Author : tomoaky
Desc page : https://github.com/munokura/tomoaky-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMJAShooting.js
File name : TMJAShooting.js
Help of plugin :
@plugindesc Adds the ability to fire bullets at players and events. @author tomoaky @url https://github.com/munokura/tomoaky-MV-plugins @license MIT @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/tomoaky-MV-plugins ). Original plugin by tomoaky. ----- is required. Be sure to install this plugin below. Press the A key to fire a bullet. A bullet image is a row of eight bullets. If the image filename starts with an ! character, the blend mode will be additive. If the skill assigned to the bullet has a <map_through> tag in the Note field, the bullet will penetrate the terrain. If the actor, equipment, or state does not have a bullet firing sound effect tag, it will be silent. Conversely, if multiple tags are found, the tags are searched for in the order of state, equipment, and actor, and the first one found will be used. Memo (Actor, Equipment, State) Tags: <invincible_time:30> # Invincible time after taking damage <shot_way:1> # Number of simultaneous shots <shot_space:0.2> # Distance between shots (radians) <shot_speed:0.07> # Shot speed <shot_count:30> # Shot lifespan <shot_type:1> # Shot type <shot_index:0> # Shot image index <shot_skill:1> # Shot skill number <shot_delay:10> # Post-fire freeze time <shot_se_name:Attack2> # Shot firing sound effect filename <shot_se_volume:90> # Shot firing sound effect volume <shot_se_pitch:150> # Shot firing sound effect pitch Plugin Commands: JumpAction nway_shot eventId n space angle speed count type index skillId eventId: Bullet firing event number (-1 for player) n: Number of bullets fired simultaneously space: Distance between bullets (radians) angle: Firing direction (radians) speed: Bullet speed count: Bullet lifespan type: Bullet type index: Bullet image index skillId: Bullet skill (for damage calculation, optional) JumpAction nway_aim eventId n space angle speed count type index skillId Similar to nway_shot, but the player's direction (radians) is automatically added to the angle. An angle of 0 will aim at the player's ship. JumpAction nall_shot eventId n angle speed count type index skillId Fires bullets in all directions. The distance between bullets is automatically set. JumpAction nall_aim eventId n space angle speed count type index skillId This is the player-aiming version of nall_shot. @param Player Bullets Max @desc Maximum number of bullets for the player. Default: 32 @default 32 @param Enemy Bullets Max @desc Maximum number of bullets for the event. Default: 256 @default 256 @param Weapon Sprite @desc Show weapon image when firing. Default: true (false for no weapon image). @default true @param Bullet Type1 Name @desc Image file name for bullet type 1. Default: Bullet1 @default Bullet1 @param Bullet Type1 Size @desc Hit detection size for bullet type 1. Default: 6 (radius specified in dots) @default 6 @param Bullet Type2 Name @desc Image file name for bullet type 2. Default: Bullet1 @default Bullet1 @param Bullet Type2 Size @desc Hit detection size for bullet type 2. Default: 6 (radius specified in dots) @default 6 @param Bullet Type3 Name @desc Image file name for bullet type 3. Default: Bullet1 @default Bullet1 @param Bullet Type3 Size @desc Hit detection size for bullet type 3. Default: 6 (radius specified in dots) @default 6 @param Bullet Type4 Name @desc Image file name for bullet type 4. Default: Bullet1 @default Bullet1 @param Bullet Type4 Size @desc Hit detection size for bullet type 4. Default: 6 (radius specified in dots) @default 6