Working on the ridiculous task of making an American football simulation game. I've given up hope on Nintendo ever making a Mario American Football game so I figured I'd slap together my own for fun just for my own personal use so I don't get slapped down by Nintendo (rightfully so). For now, I only want to have it run CPU vs CPU games because lately I've gotten a kick out of simulating a full season of CPU vs CPU Mario Baseball games and tracking stats and post-season awards. Now...
Working on the ridiculous task of making an American football simulation game. I've given up hope on Nintendo ever making a Mario American Football game so I figured I'd slap together my own for fun just for my own personal use so I don't get slapped down by Nintendo (rightfully so). For now, I only want to have it run CPU vs CPU games because lately I've gotten a kick out of simulating a full season of CPU vs CPU Mario Baseball games and tracking stats and post-season awards. Now that NFL season is afoot in the U.S. and I'm in football mode, I would love to do the same with football. Down the road, it would be cool to be able to play actual games, but that's if I can even get just a simulation CPU vs CPU to work first.
I'll probably ask for advice here as I get stuck (because I certainly will MANY times) rather than posting multiple threads.
My first hurdle right now is just getting an event to chase another event in a realistic way. I have a basic set up where one player runs with the ball and runs towards the right of the screen where the endzone is and have a common event that plays when the playstarts switch is on that takes each of the five defensive players and has them chase after the player with the ball with a move route for them of
$gameMap.event(3).moveTowardCharacter($gameMap.event(2));
This almost works except the defensive players don't move diagonally. I have this diagonal movement plugin installed:
Adds diagonal movement and diagonal sprites support!
hakuenstudio.itch.io
but they seem to still only move in the four cardinal directions and it looks silly and inefficient.