Jonny
Well-known member
This is a very short and simple tutorial solely because I've been searching for the ideal way to do this but couldn't find one.
I thought there might be some new users trying to do this same thing and struggling to find info like I was.
Note: In earlier versions of NesMaker this was done in the simplejump script, but going though older posts there seems to be issues with that method.
Please comment if there's an easier or better way to do this. I'm sure it's been done a million times before in 4.5.X but, like I say, I could'nt find any 'how to' info.
I made this work by adding a condition (check) to the physics script before it changes the OneWay Tile to a solid...
Find where +isOneWaySolid is defined (somewhere around line 570 or after) and add this before the Object_v_speed stuff...
I thought there might be some new users trying to do this same thing and struggling to find info like I was.
Note: In earlier versions of NesMaker this was done in the simplejump script, but going though older posts there seems to be issues with that method.
Please comment if there's an easier or better way to do this. I'm sure it's been done a million times before in 4.5.X but, like I say, I could'nt find any 'how to' info.
I made this work by adding a condition (check) to the physics script before it changes the OneWay Tile to a solid...
Find where +isOneWaySolid is defined (somewhere around line 570 or after) and add this before the Object_v_speed stuff...
Code:
;;; UPDATED CORRECTION - Thanks Dale ;;;
LDA gamepad
AND #%00100000 ;; DOWN GAMEPAD PRESS ;;
BNE +doPressDown
;; DOWN NOT PRESSED ;;
JMP +doneDownPress
+doPressDown:
;; DOWN IS PRESSED ;;
JMP +notSolid ;; DONT MAKE SOLID ;;
+doneDownPress:
Last edited: