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

Handles rendering of the player character. More...

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

Functions

int Player_Render ()
 [Render] Renders the player sprite based on the player's and cursor's position
 

Detailed Description

Handles rendering of the player character.

Contains functions for drawing the player's sprite, animations, effects, and UI elements tied to the player.

Author
Mango
Date
2025-03-03

Function Documentation

◆ Player_Render()

int Player_Render ( )

[Render] Renders the player sprite based on the player's and cursor's position

Renders the player.

Draws the player's character sprite and dash particle effects at the appropriate screen position. Flips the sprite based on mouse cursor position.

Returns
int Status code (0 for success)