Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Throwing  (Read 12456 times)

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Throwing
« on: December 12, 2003, 07:37:00 pm »

The throwing code is done.  I had a bug at first where it chose the larger of the two possible angles, but it was mathematically satisfying to see the sword go waaaaaay up and then come back down right on the rabbit.
Now the guy just throws the sword more or less straight at a target.

Next steps are missiles weapons and finishing the projectile code to make these things meaningful (in terms of damage and hitting the ground, etc.)

Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Throwing
« Reply #1 on: January 05, 2004, 11:00:00 pm »

I have most of the necessary elements for a bow item coded.  I just need to differentiate the artificial bend in a bow from natural curves, and I need to make the game realize that the artificial bend is stable because of the string tied to the notches in the bow.  Hopefully I'll be hunting rabbits in a few days...  I guess I need to worry about arrows and why they are going to be good items to shoot with a bow.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Throwing
« Reply #2 on: January 07, 2004, 01:34:00 am »

I've coded the elements for bending the bow.  I need to display the string and make the bow held properly (the bow should be held at the center, not nearer to one end like a club).  Then I'll add shooting, ammo stacks and projectile damage.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Throwing
« Reply #3 on: January 07, 2004, 11:31:00 pm »

I have no idea what materials were chosen...  silver with a diamond string maybe.  Now I just need to make the rabbits fear it.

Logged
The Toad, a Natural Resource:  Preserve yours today!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Throwing
« Reply #4 on: January 10, 2004, 12:38:00 am »

I'm slogging through the necessary steps,  updating attack interface and the action performance code.  I don't expect any real difficulties, up until I try to get projectiles to actually stick into the ground and rabbits, rather than ignore them, as they currently do.
Logged
The Toad, a Natural Resource:  Preserve yours today!