Monster Jump 4.5.9 / 4.5.6

vanderblade

Active member
Hey all,

I can't believe my search for a monster jump AI came back with basically nothing here. All I found was a post from Dale for the former version of NESMaker. That code doesn't work with the newer version. I am in the middle of trying to adapt the player jump code to work with monsters, but if anybody has a monster AI jump they are willing to share that uses the base platformer physics script, I'm sure all would appreciate it.

If I find the solution, I'll post here.

Cheers.
 

vanderblade

Active member
Dale and Cutter came to the rescue.

Here are two methods:

Code:
  LDA #$00
  SEC
  SBC #$04  ;; <-- jump value
  STA Object_v_speed_hi,x

Code:
LDA #252
STA Object_v_speed_hi,x

I tried both and both work.
 

tbizzle

Active member
Dale and Cutter came to the rescue.

Here are two methods:

Code:
  LDA #$00
  SEC
  SBC #$04  ;; <-- jump value
  STA Object_v_speed_hi,x

Code:
LDA #252
STA Object_v_speed_hi,x

I tried both and both work.
What script would you paste this into?
 

latetera

Member
Hello everyone! I did it and it works, but now my player does the same, jumping out of control. Does anyone know why this happens? I am not using this Ai behavior in my player. Btw my monsters are going out of the screen all the way up and i have a solid collision set in the roof. How can i fix this one too?
jumping.gif
thanx :)
 

tbizzle

Active member
Hello everyone! I did it and it works, but now my player does the same, jumping out of control. Does anyone know why this happens? I am not using this Ai behavior in my player. Btw my monsters are going out of the screen all the way up and i have a solid collision set in the roof. How can i fix this one too?
View attachment 5081
thanx :)
Have you had any luck trying to fix this???
 

latetera

Member
I fund the error! i writen over blank.asm accidentally so the scrip was working somwhere else :/
Now it works!
sorry for that
 
Top Bottom