Previous Blog Next Blog
Prev/Next Blog
by date

Baseball Game

Baseball Game
Name:Colin Aitken 
Date Posted:May 14, 2008
Rating:Not Rated
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Colin Aitken

Blog post
I'm a noob, and I'm making a baseball game. So far i have that you can look around and throw the ball.
Plans for the Week:
1. Fix the hitting so that the AI can hit.
2. Allow the AI to pitch, and the Player to hit.

I'm hoping to get at least this much down, since its my friends present.

Recent Blog Posts
List:06/14/08 - Very Slow Progress on Baseball game
05/14/08 - Baseball Game

Submit ResourceSubmit your own resources!

Jeffrey Marshall   (May 15, 2008 at 00:02 GMT)
Cool. Is your baseball game played from the first person perspective?

Colin Aitken   (May 16, 2008 at 01:30 GMT)
Yes, it's first person

Matt Huston   (May 16, 2008 at 07:10 GMT)
AI is the trickiest part of sports game. For the base running, you can add Path Markers (like in Stronghold) for each of the bases. For the ball, you will want to make it a RigidShape and add an applyImpulse call on the swing. Not really sure about actually hitting the ball but I would maybe add a trigger to the homeplate that would check whether or not the ball has entered or exitted and if the player swung then apply the impulse.

Also, you might want to checkout the book, Game AI By Example, there is some information about sports AI. It is not a book on Torque and doesn't go specifically into Baseball either but it could help. (http://www.wordware.com/files/ai/)

Colin Aitken   (May 17, 2008 at 02:54 GMT)
Thanks Matt, I'll check it out.

You must be a member and be logged in to either append comments or rate this resource.