ID:996459
 
(See the best response by NNAAAAHH.)
I want to make a sidescroller game, that is why I wanted to know how to make the default movement West and East. Thank you if you could help me
Best response
I think I so.
I only want the West and East keys to work, I want to disable North and South
In response to OXuchihaXO
Remove the macros from the list of macros, or cancel movement on those directions in Move()
In response to NNAAAAHH
More specifically, through returning 0 via client/Move() when the NORTH or SOUTH keys are pressed:
client/Move(loc, dir)  //  Called when a player is trying to move

if(dir & (NORTH|SOUTH)) // bit operation checking if the NORTH key was pressed [calling either NORTH, NORTHEAST or NORTHWEST] and likewise for the SOUTH
return 0
return..() // Do default procedure if any other keys are pressed (aka EAST/WEST)