George Clingerman:Go for it. That's why I release the source code and provide all the assets to the community. I WANT you guys to take the basics and start mixing, matching and combining to form your own projects. I like seeing it when people take what I started with and take it all kinds of new directions. So yes, definitely, take what you've done and share it!
hehe.. I'll upload what i've done soon!
----------------------------------
I dont know if you can help me here but i'll try and exaplin it. I'am trying to check for a collision if a fireball hits another " Sqaure Guy" then delete him. ( the person who got shot )
I found in your car game that you've used the bounding box:
private
bool CheckCollision(Hazard theHazard)
{
BoundingBox aHazardBox =
new BoundingBox(new Vector3(theHazard.Position.X, theHazard.Position.Y, 0), new Vector3(theHazard.Position.X + (mHazard.Width * .4f), theHazard.Position.Y + ((mHazard.Height - 50) * .4f), 0));
BoundingBox aCarBox =
new BoundingBox(new Vector3(mCarPosition.X, mCarPosition.Y, 0), new Vector3(mCarPosition.X + (mCar.Width * .2f), mCarPosition.Y + (mCar.Height * .2f), 0));
if (aHazardBox.Intersects(aCarBox) == true)
{
mCurrentState = State.Crash;
mCarsRemaining -= 1;
if (mCarsRemaining < 0)
{
mCurrentState = State.GameOver;
mExitCountDown = 10;
}
return true;
}
return false;
}
Can you convert that to the wizard? like if Fireball Hits Sprite2, then Delete Sprite 2? I'll have a go.....