Hi Muhammed,
What you need to do is start small and simple.
Have one punch only, or one gun only for example.
The more realistic you have them work the more difficult the programming.
Some games such as Dungeons and Dragons don't require you to aim your gun.
It does a dice roll and based on your skill number and the distance to your target and the results of that roll you either hit the target or not.
This is the easiest way to handle a weapon.
If you want realism, you need to aim right at the target and determine if a shot a little to the left or right of center will also be a hit. Then you need to calculate the trajectory of the bullet based on the muzzle velocity and distance to the target, wind direction and gravity. Of course you would have to determine how deadly the bullet was based on the kinetic energy size and composition of the bullet.
As you can tell, reality is a lot harder to convert to a computer game.
smiles,
Phil

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to