Skip to content

Commit

Permalink
Prepare level1 to demonstrate what has been achieved so far
Browse files Browse the repository at this point in the history
  • Loading branch information
elgambitero committed Mar 29, 2020
1 parent ddf3c05 commit 8c907d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions res/level1.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,28 @@
static const Actor blp = {&blue_player_ent,
0,
0,
{176, 208},
{120, 112},
{ 0, 0},
0,
0
0,
0
};

static const Actor glp = {&green_player_ent,
0,
0,
{184, 112},
{ 0, 0},
0,
&blp
};

static const Actor robo = {&robo_ent,
WALK_RIGHT,
0,
{40, 32},
{0, 0},
0,
0
&glp
};


Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void game_init(){
JOY_setEventHandler( &myJoyHandler );
VDP_setScreenWidth320();

current_level = &test_level;
current_level = &level1;

mainState = GAMEPLAY;
gameState = GAMEINIT;
Expand Down

0 comments on commit 8c907d7

Please sign in to comment.