mwpenny / portal64-still-alive

A demake of Portal for the Nintendo 64
MIT License
319 stars 39 forks source link

Animate switches in chamber 11 #33

Open Deconimus opened 8 months ago

Deconimus commented 8 months ago

Version of the game

current master

What is the enhancement?

In chamber 11, the first switch and its base should retract into the ground after the ballcatcher is triggered.

The second switch and its base should raise up out of the ground after obtaining the upgraded portal gun.

Screenshots

https://github.com/mwpenny/portal64-still-alive/assets/2451901/45447cf9-1ffe-4037-b8b6-22ebd3780108

mwpenny commented 8 months ago

Sounds good. This will be some more nice polish. As part of this, the other button (near the portal gun) can be animated to raise up. I've updated the title and description to mention this (and avoided the word "pedestal" since that's the internal name of the portal gun holder).

This will require @dynamic_box objects instead of static @collision, and @anim objects for animation.

mwpenny commented 8 months ago

I looked into this more and it won't be possible without some code changes. Currently, only static geometry and dynamic collision can be affected by level animations.

Not a high priority given that it's polish, but good to do at some point.