Skip to content

Ghosts are always opaque on their first frame of existence, regardless of the respective setting #67

Description

@FramePerfection

Describe the bug
Every ghost that spawns in is opaque on the first frame it's displayed on, regardless of whether the "Trasnparent Ghosts" checkbox is checked for it or not.

To Reproduce
Steps to reproduce the behavior:

  1. Record any ghost and load it in with the ghost hack activated
  2. On the first frame the ghost appears in game, it will always be opaque, even when "Transparent Ghosts" is checked for it

Expected behavior
The ghost should not be opaque when "Transparent Ghosts" is checked for it.

Screenshots
CBA tbh :)

Used Versions:

  • STROOP Version: 0.8.0

Additional context
The problem lies in the hack itself, which creates object nodes for the ghosts as necessary. The information about whether a ghost should be transluscent or not is placed at 0x61 relative to the ghost object node, but STROOP writes to this address (by "correctly guessing" its offset in memory) before the ghost node is created, and thus the object node creation overrides the value injected from STROOP.
This is a design flaw in the hack. There are about a million ways to resolve this, and I don't know which I'm going to choose yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions