How do you implement diagonal movement into an adventure module game?

Here is the link to the wedNESday tutorial for making an Adventure game. Done something cool with it? Modified it in some way? Want to ask the community about creating additional features for it? Post things Adventure Module here!
Post Reply
Nathonion
Posts: 9
Joined: Wed Nov 21, 2018 3:13 am

How do you implement diagonal movement into an adventure module game?

Post by Nathonion » Wed Nov 21, 2018 3:25 am

This is my first time using NESMaker (however, as I'm to understand this would apply to most everybody as it is fairly new), and I want to implement (at least) semi-fluid feeling controls, which would imply that the player can move diagonally. I attempted to implement this by duplicating existing movement code files and adjusting them to move the player diagonally, but no matter how hard I try the built-in physics system don't seem to let me do this, without creating new physics on my own. That, I don't dare attempt 1. because I'm not familiar with assembly, and 2. I'm sure there must be some easier way of doing this. Can someone please help me? Also, if this is the wrong place to post this, can someone direct me to the correct section of this forum, and if this has already been asked, can someone direct me to that? Thank you very much for any help! :D
User avatar
MistSonata
Posts: 315
Joined: Fri Feb 16, 2018 7:10 am

Re: How do you implement diagonal movement into an adventure module game?

Post by MistSonata » Wed Nov 21, 2018 4:05 am

Have you tried this? http://nesmakers.com/viewtopic.php?f=3&t=622&p=3953

It was made a while ago and might be a bit out of date, but it may help.
Nathonion
Posts: 9
Joined: Wed Nov 21, 2018 3:13 am

Re: How do you implement diagonal movement into an adventure module game?

Post by Nathonion » Wed Nov 21, 2018 4:25 am

Wow, thank you! I didn't realize someone would respond so quickly! This looks very promising! :D
Nathonion
Posts: 9
Joined: Wed Nov 21, 2018 3:13 am

Re: How do you implement diagonal movement into an adventure module game?

Post by Nathonion » Wed Nov 21, 2018 4:39 am

I just tested it, and it worked perfectly! Thanks again!
Post Reply