From 439c00fd46298f2b19df89064aad1e5bd24ca637 Mon Sep 17 00:00:00 2001 From: Forest Belton <65484+forestbelton@users.noreply.github.com> Date: Tue, 6 Jul 2021 02:00:31 -0400 Subject: [PATCH] Fix encoding of physics constants --- src/player.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.s b/src/player.s index 6a857cf..8c9f7e1 100644 --- a/src/player.s +++ b/src/player.s @@ -27,8 +27,8 @@ DEF SPRITE_WIDTH EQU 2 DEF SPRITE_HEIGHT EQU 2 DEF PLAYER_SPEED EQU 2 -DEF GRAVITY EQU (0 << 8) | 8 -DEF INIT_VY EQU (2 << 8) | 40 +DEF GRAVITY EQU (0 << 8) | $2e ; 0.18 +DEF INIT_VY EQU (3 << 8) | $99 ; 3.60 Player_Init:: ; Clear player data