Optimising for 640x480. Ignoring 800x600 for now.

This commit is contained in:
stevenhowes
2021-02-14 14:15:33 +00:00
parent c2aedbcc7c
commit d6385d9323
3 changed files with 11 additions and 11 deletions
Binary file not shown.
+11 -11
View File
@@ -26,9 +26,9 @@ DEF PROCtitle
PROCdraw_sprite("intro_25",320,256) PROCdraw_sprite("intro_25",320,256)
KEY$ = GET$ KEY$ = GET$
IF KEY$ = "1" THEN REMIF KEY$ = "1" THEN
SCREENMODE% = 32 REM SCREENMODE% = 32
ENDIF REMENDIF
IF KEY$ = "2" THEN IF KEY$ = "2" THEN
SCREENMODE% = 28 SCREENMODE% = 28
ENDIF ENDIF
@@ -47,17 +47,17 @@ DEF PROCinitial_gfx_setup
ENDPROC ENDPROC
DEF PROCfinal_gfx_setup DEF PROCfinal_gfx_setup
IF SCREENMODE% = 32 THEN REMIF SCREENMODE% = 32 THEN
SCREENGFXWIDTH%=1600 REM SCREENGFXWIDTH%=1600
SCREENGFXHEIGHT%=1200 REM SCREENGFXHEIGHT%=1200
MaxEnemies% = 10 REM MaxEnemies% = 10
PlayerYHeightDivide%=8 REM PlayerYHeightDivide%=8
ENDIF REMENDIF
IF SCREENMODE% = 28 THEN IF SCREENMODE% = 28 THEN
SCREENGFXWIDTH%=1280 SCREENGFXWIDTH%=1280
SCREENGFXHEIGHT%=960 SCREENGFXHEIGHT%=960
MaxEnemies% = 5 MaxEnemies% = 5
PlayerYHeightDivide%=6 PlayerYHeightDivide%=20
ENDIF ENDIF
MODE SCREENMODE% MODE SCREENMODE%
@@ -113,7 +113,7 @@ DEF PROCmain_scene1
EnemyHitbox%(1,2) = 38 EnemyHitbox%(1,2) = 38
EnemyHitbox%(1,3) = 56 EnemyHitbox%(1,3) = 56
XMovePerCent%=5 XMovePerCent%=10
ResetShipSprite% = 0 ResetShipSprite% = 0
DIM EnemyLocations%(MaxEnemies% - 1,1) DIM EnemyLocations%(MaxEnemies% - 1,1)
Binary file not shown.