Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
player_start.c File Reference

Initializes the player character. More...

#include <player.h>
#include <app.h>

Functions

int Player_Start ()
 [Start] Initializes the player's systems
 

Detailed Description

Initializes the player character.

Sets up the player's initial state, loads resources, and prepares the player character for gameplay.

Author
Mango
Date
2025-03-02

Function Documentation

◆ Player_Start()

int Player_Start ( )

[Start] Initializes the player's systems

Initializes the player.

This function is called in App_Start(). It initializes the player's animations and sets the player's current gun to the pistol. Also sets up collision, particle effects, and timers.

Returns
int Status code (0 for success)