No "moveright" action in object details - metrovania 4.5.6

AntwonVinnie

New member
Hey guys. I once again can't find the answer to this problem on any of the tutorials. I want to make a bi scrolling game so I am using the metrovania mod. Does anyone know why when I go to Game Objects > Player > Object Details > Actions, and when I click on the action dropdown, all I see is "Null" "MoveRondom" "StopMoving" "MoveLeft" "AI_Behavior04" etc. WHERE IS "MoveRight"!?!?!? I have been able to animate my player just fine in every other module. how will my player move right if there is no move right option. In the tutorial there is not 1 mention of animations so I'm stuck. If anyone knows what to do please let me know :) Thanks!
 

vanderblade

Active member
I think you're going about this the wrong way. Moving right should be tied to an input script. Then you should have an action step that displays the walk animation. You should also set up the walk animation to show the right-facing animation when facing right and the left-facing animation with facing left. I haven't used the Metroidvania mod, but the principle remains the same.

If you want a monster or NPC to move right, that's when you'd want a move right action script.
 

AntwonVinnie

New member
I think you're going about this the wrong way. Moving right should be tied to an input script. Then you should have an action step that displays the walk animation. You should also set up the walk animation to show the right-facing animation when facing right and the left-facing animation with facing left. I haven't used the Metroidvania mod, but the principle remains the same.

If you want a monster or NPC to move right, that's when you'd want a move right action script.
So what do I do if I want a monster to move right but I’m not seeing the move right option?
 

vanderblade

Active member
For a monster to move right, you'll need an AI script.

Something like:

Code:
   TXA
   STA temp
   StartMoving temp, #RIGHT

This should just make your monster move right.

or

Code:
;;;; Choose out of 4 directions, UDLR.
    TXA   
    STA tempA
    LDA #%00000010  ;; "right"
    TAY
    LDA DirectionTableOrdered,y
    STA tempB
    LDA FacingTableOrdered,y
    STA tempC
    StartMoving tempA, tempB, #$00
    ChangeFacingDirection tempA, tempC

This should make your monster move right and change their sprite to right-facing.

In either case, you'll have to assign the script to AI Behavior in Script Settings.

I recommend watching ALL the tutorials posted for each mod, even if it's not the mod you're working on, since you'll learn a lot about how NESMaker works. Cheers.
 

vanderblade

Active member
Even the best of us -- and I'm a novice myself -- have a lot to learn. Keep at it. Trust me, the tutorials will help a lot. Take notes.
 

retroarcade

New member
Hi guys.
Thanks to this post I've manage to reverse direction and change animation accordingly to my monsters but only when they reach the edge of the screen.
I'd like that my monsters react to the position of the player. Any suggestion?
 
Top Bottom