Hello!
I need help modifying how the movement system works. What I want is to replace the horizontal and vertical movement, with ONLY diagonal movement.
This being:
UP = UPPER_RIGHT
LEFT = UPPER_LEFT
RIGHT = LOWER_RIGHT
DOWN = LOWER_LEFT
There are tons of scripts to add diagonal movement, but not to change it to only diagonal.
Is there a way to change the basic system of VX Ace so it affects both player and events?
Thank you so much for your help!
Replace H&V movement with diagonal movement
● ARCHIVED · READ-ONLY
-
-
Are you planning on using isometric map? Or are you still using vertical / horizontal grid perspective like default?
-
I'm sticking with the V/H grid perspective but with a parallax map to give the isometric feel.
-
That way you will never reach some certain grids. Are you sure about that?
-
You're right, it will be like the bishop in chess.
Is there other way to acomplish this? I was going to use an isometric engine called Layy Meta Engine, it comes with Gubid's Tactical Battle System. But it doesn't look right at all, the screen shakes when walking and it doesn't have a light and dark system to give the maps the right feel.
Dou you by any chance know of a script to rotate the camera in a isometric perspective? -
I haven't tested this, but give it a go ... in a new slot, above Main.
Code:class Game_Player < Game_Character def move_by_input return if !movable? || $game_map.interpreter.running? case Input.dir4 when 2: move_diagonal(2, 4) when 4: move_diagonal(8, 4) when 6: move_diagonal(2, 6) when 8: move_diagonal(8, 6) end end end
If there are problems as mentioned above, you can just remove it again. -
Thanks @Shaz , but i'll keep searching for an alternative. I'll need a script to rotate the camera or make the maps isometric. Do I have to change the title of the thread, or keep it?
-
If you are now searching for something different, you should probably ask for this thread to be closed (by reporting your first post) and create a new one.
-
Thanks, I'll do that.
-
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.