aboutsummaryrefslogtreecommitdiff
path: root/src/engine/player_controller.c
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-14 17:26:17 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-14 17:26:17 +0100
commit5c999fb95681ffaff41e59f8f43c82b5cf148e42 (patch)
treeb192162ea7ce9fd5c6f9d7b96cba435d790efd50 /src/engine/player_controller.c
parent2aa4abf6a3c268f7729f91b08115aac8f2e5bdae (diff)
camera y-axis bug fixed + clean up
Diffstat (limited to 'src/engine/player_controller.c')
-rw-r--r--src/engine/player_controller.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/engine/player_controller.c b/src/engine/player_controller.c
index 6735620..22f6eb6 100644
--- a/src/engine/player_controller.c
+++ b/src/engine/player_controller.c
@@ -4,9 +4,6 @@
#include "engine/sprite_controller.h"
#include "engine/player_controller.h"
-#include "demo.h"
-#include <stdio.h>
-
#include "input.h"
void hh_player_actions() {
@@ -50,11 +47,6 @@ void hh_player_actions() {
// player.vel.y += -6;
// // // if (g_hh_controller_p1.button_secondary)
- // player.render.fam.palette_index = 7;
- // player.render.fam.tilemap_index = 7;
-
- // printf("%x ",player.render.fam.palette_index);
-
// player.vel.y += 1; //gravity
@@ -154,14 +146,5 @@ void hh_player_actions() {
player.render.fam.palette_index = 7;
hh_ppu_update_foreground(0, player.render.fam);
-
- hh_s_ppu_loc_fam_entry sprite = {
- .position_x = 16,
- .position_y = 16,
- .palette_index = 7,
- .tilemap_index = 2,
- };
- hh_ppu_update_foreground(1, sprite);
-
}