Handles bullet functionality, including creation, movement and collision. More...
Go to the source code of this file.
Functions | |
| void | Bullet_Start () |
| Initializes the bullet system. | |
| void | Bullet_Update () |
| Updates the state of all active bullets. | |
| void | Bullet_Render () |
| Renders all active bullets. | |
Handles bullet functionality, including creation, movement and collision.
| void Bullet_Render | ( | ) |
Renders all active bullets.
Draws all currently active bullets to the screen.
Renders all active bullets.
Draws all active bullet particles and their impact fragments from the current weapon's emitters.
| void Bullet_Start | ( | ) |
Initializes the bullet system.
Sets up initial state for bullet tracking and management.
Initializes the bullet system.
Creates and configures the particle emitters used for bullets and bullet fragments, then assigns them to each weapon type.
| void Bullet_Update | ( | ) |
Updates the state of all active bullets.
Handles bullet movement, collision detection and lifetime management.
Updates the state of all active bullets.
Updates the position of all bullets, checks for collisions with enemies and walls, and handles impact effects when collisions are detected.