Let's improve scrolling together! [4.5.9] (dohandlecamera updates/fixes)

SciNEStist

Well-known member
what you are looking at to change this is the "edge reaction" scripts. I haven't rally tackled that yet myself.

My planned solution is to force the player to move along with the screen, and check for solid tiles on the other side of the player. if they are stuck between a solid tile and the edge, then instant kill.

another simpler solution would be to hurt the player then warp them to the center of the screen when they touch the edge
 

tbizzle

Well-known member
I was thinking using the edge reaction "move in opposite direction" then add slopes so there wont be any hang ups with the edge smushing the player against a solid tile. That will take a while for me to test out though since I've altered my scripts so much. Here are the slopes:

 

Jonny

Well-known member
I cant seem to get left pad to be greater than right pad and I've no idea why. The left pad can be smaller than right pad but if I make left greater seems to just go by whatever the right pad is.
 
Last edited:

SciNEStist

Well-known member
Not much progress with getting pad size to change. But I have updated the script again.

now it also updates the music choice each screen, and i added screenflags01 (it was only grabbing the first 8 flags before, now its getting all of them

I also noticed this topic was pinned, so I added some links to other common scrolling issue fixes

lemme know if there are issues!
 
Last edited:

DocNES

Member
@tbizzle I was able to work out a way to "push" the player along with the camera scrolling, and even "squish" the player if they get stuck behind a solid and forced off the screen edge.

edge reaction scripts werent working for me, so here is a tutorial:

https://www.nesmakers.com/index.php...-along-with-your-camera-scrolling-4-5-9.8055/
YES! I was hoping someone would be able to tackle this issue. I was really wanting to have a scrolling level, and now this makes it possible. :)
 

SciNEStist

Well-known member
YES! I was hoping someone would be able to tackle this issue. I was really wanting to have a scrolln level, and now this makes it possible. :)
I felt the same way. and sometimes if you want something done, you gotta do it yourself. I know I'm not the best coder around here, but sharing what others might find useful is important. Imagine how much further along NES development would be if people shared their tools/code with eachother since the 80s
 
Last edited:

Eddie1thompson

New member
hey, i used this tutorial for the scrolling platformer module and now whenever my character dies, the screen glitches out and i cant move or see my player. how would i fix this?
 

SciNEStist

Well-known member
I would need more info on whats happening (maybe a video?) , but one suggestion I have would be to make sure that EVERY screen has the warp out screen settings on it (not just the 1st screen in the level)
 

Eddie1thompson

New member
I would need more info on whats happening (maybe a video?) , but one suggestion I have would be to make sure that EVERY screen has the warp out screen settings on it (not just the 1st screen in the leve
I’ll try the warp out thing first and if I still can’t get it working I’ll send a video of the error here! Thank you for your reply! (I’m making this game as a project for my senior year of high school)
 

SciNEStist

Well-known member
Great! The benefit of letting people place different warp out settings each screen is self-evident, but the drawback is you have to set it on every....single.... screen, which is tedious.
 

Eddie1thompson

New member
Great! The benefit of letting people place different warp out settings each screen is self-evident, but the drawback is you have to set it on every....single.... screen, which is tedious.
Ah! it keeps happening, but much less frequently, but i got a video, maybe this can explain?
 

Attachments

  • ezgif.com-video-to-gif.gif
    ezgif.com-video-to-gif.gif
    1.4 MB · Views: 46
Top Bottom