Now that I've had this brewing in my head for a couple weeks, I think I have a plan. I want to try to model a football field with players as vectors. Each player has a coordinate, a direction they're moving, a speed they're moving, and a direction they're looking. When players get within a certain distance of each other, interaction code kicks in and that's where blocks, tackles, pass deflections, etc get decided. Each player will basically have an AI so that they make decisions about where to move to based on what they can see.
I think if that works well, everything else will start to fall into place. One of the big things I want to do with this engine is have a visual representation of the field and the players' movements, and this will make that pretty simple.
My current plan is to start by making the model of a field and a single player on offense and defense. The player on offense will just try to run the ball into the endzone and the player on defense will try to tackle him. I'll also try to set up the visual representation of that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-12-28
I found this SIM to be interesting if you wanted ideas to contrast with GD:
Now that I've had this brewing in my head for a couple weeks, I think I have a plan. I want to try to model a football field with players as vectors. Each player has a coordinate, a direction they're moving, a speed they're moving, and a direction they're looking. When players get within a certain distance of each other, interaction code kicks in and that's where blocks, tackles, pass deflections, etc get decided. Each player will basically have an AI so that they make decisions about where to move to based on what they can see.
I think if that works well, everything else will start to fall into place. One of the big things I want to do with this engine is have a visual representation of the field and the players' movements, and this will make that pretty simple.
My current plan is to start by making the model of a field and a single player on offense and defense. The player on offense will just try to run the ball into the endzone and the player on defense will try to tackle him. I'll also try to set up the visual representation of that.
I found this SIM to be interesting if you wanted ideas to contrast with GD:
http://www.myfootballsim.com