Added player sheets
This commit is contained in:
parent
165fd7fcb2
commit
559550172b
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ SOURCES := \
|
||||||
# Assets files
|
# Assets files
|
||||||
ASSETS := \
|
ASSETS := \
|
||||||
assets/player-sheets/player_idle_sheet.png \
|
assets/player-sheets/player_idle_sheet.png \
|
||||||
assets/player-sheets/player_run_sheet.png
|
assets/player-sheets/player_walk_sheet.png
|
||||||
|
|
||||||
# Output target name
|
# Output target name
|
||||||
OUTPUT := 2D_Engine_Casio_Tool
|
OUTPUT := 2D_Engine_Casio_Tool
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
struct texture_t builtin_textures[NB_TEXTURES] = {
|
struct texture_t builtin_textures[NB_TEXTURES] = {
|
||||||
{"player_idle_sheet", &img_player_idle_sheet},
|
{"player_idle_sheet", &img_player_idle_sheet},
|
||||||
{"player_run_sheet", &img_player_run_sheet}
|
{"player_run_sheet", &img_player_walk_sheet}
|
||||||
};
|
};
|
||||||
|
|
||||||
void load_json_into_game_data(json *json_input, game_data_t *bin_output)
|
void load_json_into_game_data(json *json_input, game_data_t *bin_output)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
using nlohmann::json;
|
using nlohmann::json;
|
||||||
|
|
||||||
extern bopti_image_t img_player_idle_sheet;
|
extern bopti_image_t img_player_idle_sheet;
|
||||||
extern bopti_image_t img_player_run_sheet;
|
extern bopti_image_t img_player_walk_sheet;
|
||||||
|
|
||||||
typedef struct texture_t {
|
typedef struct texture_t {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
Loading…
Reference in New Issue