a-game

2D platformer written from scratch.
git clone git://git.amin.space/a-game.git
Log | Files | Refs | README | LICENSE

commit 661fdbaec8299826e20d386da3476cebd9820239
parent 11730170d0f580d0582f9ab7dd2012f4872f0cb0
Author: amin <dev@aminmesbah.com>
Date:   Sun, 31 Mar 2019 07:59:08 +0000

Make player smaller

FossilOrigin-Name: 1fd0d61f56993db360008df55b74ab428902ce8892e895e7f485aabd0fa3a8ad
Diffstat:
Msrc/game.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/game.c b/src/game.c @@ -288,7 +288,7 @@ void game_update_and_render(struct GameState *game_state, f32 dt, v2u framebuffe glBindVertexArray(game_state->tiles.vao); m4 model = glmth_m4_init_id(); model = glmth_translate(model, (v3) { player.pos.x, player.pos.y, 0.0f }); - model = glmth_scale(model, (v3) {100.0f, 100.0f, 1.0f}); + model = glmth_scale(model, (v3) {15.0f, 30.0f, 1.0f}); shader_setm4(&game_state->star_shader, "model", &model); v3 color = (v3) { 1.0f, 0.0f, 1.0f }; shader_setv3(&game_state->star_shader, "color", &color);