improve details, add icon

This commit is contained in:
Lephenixnoir 2021-08-21 17:59:43 +02:00
parent 37b6d10b62
commit 562debd926
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
6 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
assets-cg/icon.xcf Normal file

Binary file not shown.

View File

@ -60,7 +60,7 @@ typedef struct {
#define PLAYER_X 60
#define PLAYER_R 40
#define PLAYER_SIZE 8
#define CORRIDOR_SIZE 120
#define CORRIDOR_SIZE 138
#define RECT_SPEED 50 /* px/tempo */

View File

@ -44,7 +44,7 @@ int main(void)
__printf_enable_fp();
memset(&game, 0x00, sizeof game);
game.level = &level3;
game.level = &level4;
game.current = game.level->blocks;
game.time = -5.0;

View File

@ -95,10 +95,10 @@ void rect_load(rect_t *r, rectmeta_t const *meta)
switch(meta->position) {
case Position_Left:
r->y = DHEIGHT/2 - CORRIDOR_SIZE/2 + r->w/2;
r->y = DHEIGHT/2 - CORRIDOR_SIZE/2 + r->h/2;
break;
case Position_Right:
r->y = DHEIGHT/2 + CORRIDOR_SIZE/2 - r->w/2;
r->y = DHEIGHT/2 + CORRIDOR_SIZE/2 - r->h/2;
break;
case Position_Middle:
r->y = DHEIGHT/2;