Please Help, Bug in Metroidvania V-Scroll Transition Module

Dot_AO

New member
Hey guys, its been a while since I try to do a project in nesmaker. I am using a custom module: Metroidvania V-Scroll Transition from https://m8si.itch.io/v-scroll-transition-for-nes-maker. I have encountered a bug mainly because in this module it's intended to use ladders but my character player is a cat (and cat don't use ladders) and my intention was to make a cave theme game where the cat uses semi-solid jump through platforms to make its way up. Now the bug I have encountered: without any ladder tiles in my game, the cat can fall the hole correctly and the vertical transition down works correctly but the transition up does not. I setup a very minimal project right now with only 2 rooms: top room and bottom room. When i'm in the bottom room and try to jump to make my way back to the top room that is when the bug occur: It's making a transition down instead and I fall into the void.

Gif is about 30 seconds

I really need help to wrap my head around this one guys, I would apreciate your help so much!
 

Attachments

  • game2.gif
    game2.gif
    733.6 KB · Views: 13

Dot_AO

New member
After sending prompts to chat gpt (because when i look at code, i honestly don't even know what i'm looking at) for like 3 days, I finally got a promising result: I am getting a transition upward simply by jumping up starting from the bottom room, but its still needs some polishing and couple of things to figure out like when the camera is not properly alligned with the current room im in, when i jump even though there are clearly nothing that should stop me, I hit like an invisible ceilling. Also even when i give my jump a higher value it does not look like i can jump higher when sarting from bottom room to the top room.

The fix that got my upward transition working is in doHandlePhysics_PlatformBase.asm at line 693 I changed: CMP #$02 to CMP #$08
 
After sending prompts to chat gpt (because when i look at code, i honestly don't even know what i'm looking at) for like 3 days, I finally got a promising result: I am getting a transition upward simply by jumping up starting from the bottom room, but its still needs some polishing and couple of things to figure out like when the camera is not properly alligned with the current room im in, when i jump even though there are clearly nothing that should stop me, I hit like an invisible ceilling. Also even when i give my jump a higher value it does not look like i can jump higher when sarting from bottom room to the top room.

The fix that got my upward transition working is in doHandlePhysics_PlatformBase.asm at line 693 I changed: CMP #$02 to CMP #$08
so is it working now? I was about to send fixed scripts, sorry for the delay
 

Attachments

  • FixedCam.zip
    7.7 KB · Views: 7

Dot_AO

New member
Don't worry about delay, I understand that. Im not going to play around more today, its pretty late for me the transition itself works but the camera has to be aligned with the room im currently in. is the zip you're sharing a fix so that even if the camera is between 2 rooms the transition will work without hitting an invisible ceilling? Even if i cant really read code, i'm interested about knowing exactly what is your fixed cam and how does it work exactly? I'm going to be checking that tomorrow.
Big thanks!
 
Top Bottom