Uh, thanks!
----- Original Message -----
From: "Thomas Ward" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 26, 2006 8:34 AM
Subject: Re: audyssey: Me first Jaws Script
> Hi, Sarah.
> Well, as far as math and programming goes it really depends on the
> application or program in question. When it comes to games there is some
> math involved. Some of it is as simple is adding and subtracting
> numbers, and calculating percentages, etc. If you are doing some real
> time game programming then a little knolege of trig helps for getting
> the distance to a target and finding out if your weapon is aimed at the
> target. Fortunately, such formulas are widely published all over the
> place and with some searching and googling you should be able to find
> them somewhere.
> Now, if you were planning a real time 3D game engine you would get in to
> some calculous. Especially, if you begin working with physics moddling
> and real life moddles.
> Algebra is sort of the basis for programming for example how about
> looking at a variable which holds a number.
>
> x = 5+5;
>
> Well, we know that that equals 10 right? Ok, that is an easy one, but
> lets look at how that might look in a program.
>
> public int AddNumbers(int x, int y)
> {
> return int z = x + y;
> }
>
> Ok, what we have is a function which looks like a very simple algebra
> problem. It adds x to y and returns z which is the sum of x and y. When
> called ht eprogram function might look like this:
>
> // Add two numbers.
> int number = AddNumbers(5, 9);
>
> // Now, let's print out the total.
> System.WriteLine("[0]", number);
>
> So sometimes programming is as easy as that. Of course, when games are
> concerned it does get quite involved with loading and playing sounds,
> calculating the distance between two objects, writing an AI for computer
> characters, etc...
>
>
>
>
>
>
> to leave send a blank Email to: [EMAIL PROTECTED]
> You can contact the list owners/moderators by Emailing
> [EMAIL PROTECTED]
> to go nomail send a blank message to: [EMAIL PROTECTED]
> change "nomail" to "normal" to resume messages.
> Yahoo! Groups Links
>
>
>
>
>
>
>
to leave send a blank Email to: [EMAIL PROTECTED]
You can contact the list owners/moderators by Emailing [EMAIL PROTECTED]
to go nomail send a blank message to: [EMAIL PROTECTED]
change "nomail" to "normal" to resume messages.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/blindgamers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/