Sunday, March 26, 2006

Missile controllers have been implemented to a certain degree. However, there is a bug, which causes them to improperly spin in the flight. It seems that spin is always around side axis (perpendicular to the target and lying in the plane parallel to the ground).

There is a bug where deletion of a target is not handled properly. I think I'm closed to nailing that one, though.

A week ago, I've migrated code to OGRE 1.2RC1 from 1.0.x Overall, it came through without blocks, but with a few rough spots here and there.

First of all, crosshair does not appear anymore in Linux, but it appears in Windows builds. This remain untackled for now.

Second, mouse control is wacky on Linux. For some reason Ogre::InputManager::getMouseRelativeX() returns large numbers from time to time. Maybe something changed. I'll take a look at OGRE demos to see if anything different has appeared in them with mouse control.

Thursday, March 09, 2006

The framework for new missiles and their controllers have been finished. Crosshair have been added as well, which is the first time it's been added to the project. I wasn't planning to have them actually, but here is why I've added crosshair. The idea is that manual firing of missile is hard. To simplify aiming, I've decided to implement homing missiles. The crosshair will be used to point at the object you want to shoot, and the missile will follow the missile even if the object will be moving. Of course, homing missiles won't be perfect, and I expect plenty of cases when they will miss or hit an obstacle before reaching the target. This should make for some fine strategy and tactics.

Sunday, March 05, 2006

Here is a funny bug, I've uncovered from working with latest missile framework. (It's a rewrite of old clunky system.) Those look like really nasty parasites, don't they? Got some spray to ward them off? :D Or maybe it is a new weapon? :DDD

Wednesday, March 01, 2006

Recently, I took a long and hard look at the jet tank. What I saw was that flying controls and mechanics have taken a lot time, but have not progressed to a usable state. So, I decided to leave it for now, and move on to everything else. I will come back to flying tank later after the core of the game play is done.

Game logic. The first thing to tackle is a better missile - homing missile. You don't need to guess the arc of its motion anymore. You just point at the object you want it to go, and press/click fire. The missile homes in to the target, though it may miss if the object does something tricky, such as hiding behind an obstacle, or maybe shoot the missile down.

Once the homing missile is implemented, I will work on creating a crosshair for aiming, add ray casting according to the position and orientation of your camera. Then the whole missile feature will be done. You will able to aim and send homing missile anywhere you want them to go.

Though, I will have to add an option to a homing missile to simply go in some direction, if you missed everything on the map, such as clicked on the sky or something. I'll think about that. 8)