EverestAPI / SpringCollab2020

Code mod to be used for the 2020 Celeste Spring Community Collab.
MIT License
2 stars 0 forks source link

Disable Ice Physics Trigger #75

Closed maddie480 closed 4 years ago

maddie480 commented 4 years ago

A trigger that disables ice physics when the core mode is in ice. Would make mappers able to build levels with Ice mode stuff (change in colour, change in sandwich lava direction) without the ice physics being implemented. This would mean disable that part of the code:

if (this.onGround && this.level.CoreMode == Session.CoreModes.Cold) {
   num *= 0.3f;
}

Requested by dahlukeh#3909

GreyMario commented 4 years ago

Personal notes:

maddie480 commented 4 years ago

What I had in my head for that is a trigger that changes a flag in the mod session, and a hook that checks for this flag. That's why I put "trigger" in the title. 😅