RSDKModding / RSDKv3-Decompilation

A Full Decompilation of Sonic CD (2011) & Retro Engine (v3)
Other
591 stars 121 forks source link

Going beyond 426 ScreenWidth causes the game to soft lock in Collision Chaos Zone 3 #233

Closed nayutune closed 9 months ago

nayutune commented 9 months ago

Expected Behavior

Normally character can walk out of the area because the camera doesn't get locked

Actual Behavior

Camera gets a static lock and the player is prevented from walking back out to take another path

Steps to Reproduce

  1. Set the ScreenWidth to 427 (or above)
  2. Go to collision chaos Zone 3
  3. Visit top path before you go down to the boss location.

Screenshots

cd

Log File

No response

Decompilation Version

RSDKv3 built from source.

Game Version

Blit Release (Steam/XBOX 360/PS3)

Game Revision

Latest Steam version.

Script Platform Type

Standard

Renderer Type

Software Renderer

Platform

PC - Windows 10

Additional Comments

Seems to be another bug related to changing aspect ratio.

It's functional on 426.

But if you if throw in MegAmisAdditions + Sonic CD Miracle Edition: If "Extended Camera" is enabled then that value needs to be just below 404 for it to work properly. (or disabling it otherwise)

MegAmi24 commented 9 months ago

This is not a bug with the engine nor the decomp; this is simply a result of the Flower Pod object (which is responsible for locking the camera here) being active due to the screen width. This game wasn't fully optimized for ultrawide, so issues like this will occur and, as far as this project is concerned, this is intended behavior. Closing.