Change angles of diagonal movement

Status
Not open for further replies.

ashikai

Veteran
Veteran
Joined
Jun 2, 2015
Messages
456
Reaction score
343
First Language
English
Primarily Uses
N/A
(I guess this is less a request and more of a "is this possible"? but if it's possible I'd like to request it~)
The title makes this sound kinda weird and I guess it is.... but uh here goes.

Right now pressing two arrow keys to make the player move diagonally makes the player move at a 45° angle. Isometric tiles are made to follow 26.6° which... is a pretty huge difference. I've got an isometric game in the works, and walking down hallways is a bit of a challenge since if you try to walk diagonally you run into the wall a lot.

What I'd like is to be able to change the angle of the diagonal direction from 45° to 26.6° for the player (and for diagonal movements in events). Is this something anyone would like to try tackling? (Or heck, is it even possible to do in MV?)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,838
Reaction score
7,897
First Language
German
Primarily Uses
RMMV
The main problem here is the grid - all events and the player need to be positioned inside the grid by default, and move from one grid position to another.
And the diagonal position of the next grid position is 45°, going half that degree would place the actor between the grid, halfway on one and another tile.

So basically this will require you to disable the grid first - usually by going to a pixel movement system. And those have their own limitations and compatibility problems that need to be adressed befor you can mess with the move directions.
I suggest searching for a pixel movement plugin first, selecting one you can work with, and giving a link for this request as a modification to that pixel movement plugin - that should be the fastest way to a solution.
 

ashikai

Veteran
Veteran
Joined
Jun 2, 2015
Messages
456
Reaction score
343
First Language
English
Primarily Uses
N/A
Seemed kinda silly to make a new thread, so I hope it's ok I'm bumping this one.

I'm still looking for a way to change the diagonal angle degree for movement from 45° to 26.6°. Same plugin used, still not sure if this is possible. Happy to commission the script if needed. :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,853
Reaction score
14,041
First Language
English
Primarily Uses
RMMV
Left and right makes the player move one tile diagonally. If you're changing the angle, they would end up halfway between tiles. They would have to move two tiles in one direction, and one tile in another, to end up fully on a tile again. I think this would be pretty difficult, as you're not only changing player movement, but collision logic with the player and events as well.

If you want to commission, you should probably report the thread and ask for it to be moved to Classifieds - Requests.
 

ashikai

Veteran
Veteran
Joined
Jun 2, 2015
Messages
456
Reaction score
343
First Language
English
Primarily Uses
N/A
@Shaz okiedokie. I'll make a commission request and see if anyone's up for the challenge. :D

(thread can be closed)
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I feel like banging my head against a wall every time I want to find that post that shows all the plugin header codes. Then I think "next time I find it, I'm going to bookmark it". Then I think "wait a minute ... maybe I bookmarked it last time because it took me so long to find it". Check bookmarks, and there it is :)
... a few of my main characters standing around doing nothing lol. I mostly wanted to see them together on screen.
Today I drove through my city of 100,000+ people during rush hour and the streets were nearly empty. Just so I could go get my favorite burger. There a dental assistant (she said that's her other job, even though I didn't ask) took my order and handed me a burger. I know it's bad out there... But wow, she's either atrocious with her money, or "it really be like that".

Forum statistics

Threads
107,815
Messages
1,032,411
Members
139,965
Latest member
specscart
Top