Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Anyone having an issue with shrapnel never despawning if the window size is full screen:
Go to the folder SuiteZX/AGD within the MPAGD folder, and edit EngineZX.asm:

Around line 799, replace the right edge detection code with this:
       inc hl              ; point to right edge.        ld a,(hl)           ; fetch window edge X        add a, 15           ; add width of sprite        cp 255              ; ARLASOFT - is on screen edge?        jp nz, nowrp        ; ARlASOFT - no, dont worry             ld a, 251           ; ARLASOFT - yes, move boundary far enough left to catch fast travelling particles nowrp        cp (ix+5)           ; compare with window limit.        jr c,kilshr         ; off screen, kill shrapnel.

Obviously this is just for Speccy, if you're building for a different platform a similar change might be needed in that engine code