Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Phase 3 optimization #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Phase 3 optimization #16

wants to merge 1 commit into from

Conversation

HTV04
Copy link

@HTV04 HTV04 commented Jun 6, 2021

This pull request addresses issues #3 and #10 by making the following changes:

  • The phase 3 sprites used for Tricky, Hank, Boyfriend, and Girlfriend have all been rescaled via their files. The island background was rescaled as well.
    • The scaling method used was bicubic.
  • The phase 3 XML texture atlases were rescaled using this Python script I wrote.
  • The phase 3 sprite offsets, stage setup, and stage coordinates were changed by hand to be as accurate as possible.

Additionally, I tweaked the "jaws" transition so that the jaws sprite does not move as much between transitions.

These changes bring the memory usage of the game from 4-5 GB down to 2-3 GB. They also improve both the game's initial loading time and phase 3's performance since the game no longer applies as much scaling.

Compiled build for Win64 platforms can be found here, for those who want to test these changes out.

@HTV04 HTV04 force-pushed the master branch 2 times, most recently from 8e2ec09 to 43a4fbe Compare June 7, 2021 02:01
@s-zenmode
Copy link

thank you so much

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants