Notes: visual polish findings (wisp size layers, costume colours, 1000.151 rings, boss overlays, Rotgut rings and pixelation, Ascent music layers and heaven door, TearHalo)
This commit is contained in:
1 parent
40d52de334
commit
b0b3222f59
5 files changed
+61
No files matched your search
@@ -128,3 +128,17 @@ read with `./decompile.sh --asm` from the case address (variant jump table at 0x
|
||||
config +0xa9 forceHeadColor / +0xaa forceBodyColor take it without the layer. A head/body colour change re-skins
|
||||
the base sheets (costume_path_apply_skin_color); Tainted Forgotten (0x23) in challenge 0x2a gets
|
||||
gfx/characters/costumes/character_016b_theforgotten_bomb.png on every layer instead.
|
||||
|
||||
## visual polish (rif/visual-polish, 2026-10-26)
|
||||
|
||||
- ai_wisp's size (0x43aa90, re-read): s = health / maxHP * 0.4 + 0.6 (x1.5 for subtype 0x242 Free Lemonade; Larynx 0x263
|
||||
scales it by its charge), then sprite layer 0 (the core: "body", or an item wisp's "Item") gets size sqrt(s) and layer 1
|
||||
(the flame) s. The core is the square root, not the flame (the line above has them swapped). Item wisps (variant 0xed)
|
||||
share ai_wisp, so Tainted Bethany's great item wisp (health x4 against its max) is s = 2.2, core 1.48, flame 2.2 at
|
||||
full and shrinks as it is hurt.
|
||||
- UpdateCostumes' colours, as ported: the costume entry's priority (not the layer's) is compared, and a costume that
|
||||
loses the layer itself (lower priority, or a grounded body while flying) still competes for the colour (LAB_0075c59d /
|
||||
LAB_0075c5d3 are reached from both branches). Head colour from layer 4, body colour from layer 1; hasSkinAlt sheets of
|
||||
body layers (1, 2, 3, 11) take the body colour, the rest the head colour.
|
||||
- isaac-classic: costumes_rebirth.tsv color rows (tools/rebirth_art.py costume_colors_write) and anm2_look_draws' head
|
||||
and body skin colours; swarm health_size.
|
||||
@@ -398,3 +398,20 @@ anm2: 1000.151_attract ring / attract trail, Idle 1 frame each (10 uses the ring
|
||||
(harmless as read); whether WasEventTriggered includes the event frame itself (shifts SoulCall's window by one tick);
|
||||
DamageRadius taking radius 60 from XMM3; the meaning of ProjectileParams +0x98 (bool, set 1 by every Beast pattern);
|
||||
the negative-S snap in the epilogue (read twice in the asm at 0x595efd, MAXSS against 0).
|
||||
|
||||
## visual polish (rif/visual-polish, 2026-10-26)
|
||||
|
||||
- 1000.151 (Entity_Effect::Update case 0x5d9ba9, asm): DepthOffset 1000. SubType >= 10: t = clamp(FrameCount / LifeSpan),
|
||||
p (+0x478) = 1 - (t - 1)^2, removed at t >= 1. 11 (trail): layer 0 +0x40 = MaxRadius * p, SpriteScale ((2p + 0.6) *
|
||||
MaxRadius / 30, 2 - 1.6p), alpha (1 - p) * colour alpha. 10 (ring): rotation += +0x474, SpriteScale p * MaxRadius / 100
|
||||
both ways, alpha (1 - p) * colour alpha. MinRadius is not read. SubType < 10: p -= 0.04 a tick (ring, 0) or 0.1 (trail,
|
||||
1), removed at p <= 0; with a TargetPosition the ring's velocity = (target - pos) * min(FrameCount * 0.01, 1); ring
|
||||
SpriteScale p * MaxRadius, trail (sqrt(p) * MaxRadius, 0.4); alpha clamp((1 - p)^2) * 0.15 (ring) / 0.4 (trail).
|
||||
- bossoverlays.xml: 1 Whiteout "Fade", 2 Dogma "FadeIn" (persist), 3 Dogma "Shutdown" (End event at 124), 4 Whiteout2
|
||||
"Fade" (persist: a white quad, alpha 0 for 30 frames then up to 1 over 60). All drawn on Rebirth's 480x270 screen.
|
||||
- isaac-classic now: the shakes listed above, the attract rings/trails (suck), shockwave rings/trails (soul call, the
|
||||
background Beast's scream), stalactite dust, DeathRay (death overlay), Whiteout2 (screen_tint, run_win moved to 155),
|
||||
Dogma's FadeIn/Shutdown (its room_go now at 204, Shutdown's End), and the hell backdrop sliding by the arena scroll
|
||||
in 9 groups (scrolling_backdrops, tools/rebirth_backdrops.py arena_write; lava_multiply is horizontally uniform, so it
|
||||
is baked into each group's rows; lava_add is left out). Left: the death clip's camera focus, the additive blends,
|
||||
music layers (no Beast tracks), the riders' cheers.
|
||||
@@ -59,3 +59,14 @@ spawns it, its death the heart); the side view (gravity, ladders) is not ported.
|
||||
|
||||
isaac-classic now: the face's death leaves rotgut_mouth (aura square/ramp/swallow), the maggot and heart are fought in
|
||||
their crawl spaces (crawlspace1010 / crawlspace1020, side view); see systems/side_view.md.
|
||||
|
||||
## visual polish (rif/visual-polish, 2026-10-26)
|
||||
|
||||
- The face's state 0x10 spawns 1000.151 at its own position (no target, velocity 0): subtype 0 when projectileDelay % 6
|
||||
== 0, subtype 1 when % 3 == 0 (the decompile's 8.40779e-45 / 4.2039e-45 are the ints 6 and 3; "every 2nd / 4th" above
|
||||
is wrong).
|
||||
- RoomTransition::start: mode 2 (pixelation) has duration 0x1e (30); Update keeps the old room drawn (state 2) and
|
||||
changes room at its end.
|
||||
- isaac-classic: aura looks (attract ring every 6th, trail every 3rd), swallow pixelation 60 ticks, teleport look
|
||||
fall_in (FallIn, 20 ticks to the change; FallIn and LightTravel appended to the Rebirth player packages by
|
||||
tools/rebirth_art.py poses_append).
|
||||
@@ -123,3 +123,9 @@
|
||||
- Kills the existing portals of the side about to be placed (QuerySublist), spawns the portal at
|
||||
Room::FindFreePickupSpawnPosition (two Game::Spawn calls: the portal and its look with a random colour index 0-3),
|
||||
toggles player +0x1ae0 (0/1). The teleport is the portal effect's Update (Entity_Effect::Update, asm only).
|
||||
|
||||
## Godhead's halo (rif/visual-polish, 2026-10-26)
|
||||
|
||||
- Entity_Tear::SetTearFlags (0x676150): once a tear has a flag of the glow set, it loads gfx/TearHalo.anm2 into its
|
||||
_tearHaloANM2 and plays "Idle" (a 32-pixel glow at 400 % fading 30-40 alpha, 21 frames), drawn with the tear.
|
||||
isaac-classic: the tear aura's look (TearHalo, its first frame) over the tear, look_scale 0.8.
|
||||
@@ -87,3 +87,16 @@ Gehenna II), Dad's Note's `ascent_start` effect. The run carries backwards stage
|
||||
bosses and their left pickups, trapdoors dropped). The white-out shakes the view (tick / 6 + 2) and Isaac starts at
|
||||
the start room's first door. Left: the music layers, LightTravel, the room's +0.6 darkness and shut doors, the
|
||||
Cracked Keys, the heaven door's own update.
|
||||
|
||||
## visual polish (rif/visual-polish, 2026-10-26)
|
||||
|
||||
- Level::UpdateBackwardsPathStages re-read: the loop runs depth d from the current depth D (stage + 1 on 4/5) up to 7
|
||||
(offset d * 800 < 0x15e1), skipping d == D only while in the last boss room; each saved stage at d lights bit (d - 2) / 2
|
||||
+ 3 when its stage type is 4/5, else (d - 1) / 2. Depths below D are the ones already climbed, so the layers build up
|
||||
as Isaac climbs (the note above reads it the other way).
|
||||
- The heaven door (Entity_Effect::Update case 0x5f2246, asm, subtype 2's branch): state 0 plays "Appear"; counts to 32;
|
||||
at 32, for the first player alive within the door's reach (an unnamed check 0x7ab0e0 passing), its depth set
|
||||
(y - door y + 1), Entity_Player::AnimateLightTravel, position set to the door's (0x5cd780), state 33; counts to 82,
|
||||
then "Disappear". Entity_Player::Update (0x782af0) moves on once LightTravel has finished (FUN_0044bf90). Other
|
||||
subtypes take the room-clear branch at 0x5f27a1 (not read). Which subtype the Ascent's 999.39 makes: not confirmed.
|
||||
- isaac-classic: layered music (flags ascent_0..5), chapter pre_ascent_darkness 0.6 on Mausoleum/Gehenna II.
|
||||
Reference in new issue
Block a user