Phil,
You should contact the people
who do the tutorials or documentation and have them give better examples. A
clearer way with more examples which explain all the variables inside all events
and commands in Python and Pygame. I find the documents use the same 3 words all
the time but are meaningless unless a detail of what is being said is shown;
class, instance, method, class
instantiation...Blah, Blah, Blah!! Eventually you do not know what there
talking about because they keep on repeating the same words to explain
themselves, thus all is lost in the reading.
I am giving you an example of
just one page of the W3 schools and how they do there page formats. The better
one to get a hint on is the _javascript_ tutorial where they gave examples which
are not only displayed but you can click on to edit, modify and even run so you
can see what the function does and even change it to see what it does to the
edited version. The perfect interactive tutorial which allows you on line to
learn and even play with the examples to learn more by doing and experimenting.
This would be the best way to
have the web site displayed with both learning and learning tools.
Below I first give you the link
to all the tutorials and you can select from there. The PHP one I just picked
the page for the math function and all its possibilities. All functions have a
link to show examples. In _javascript_ there would also be an HTML page to test
it out.
To even try and find all the
variables for the Pygame functions and what is used you have to search and
search and see who may have done it or use the Dict function to expose it but
even then there is no explanation on how to use that to expose functions and
there content...
Bruce
W3Schools PHP BasicPHP HOME PHP Intro PHP Install PHP Syntax PHP Variables PHP String PHP Operators PHP If...Else PHP Switch PHP Arrays PHP Looping PHP Functions PHP Forms PHP $_GET PHP $_POST PHP Advanced PHP Date PHP Include PHP File PHP File Upload PHP Cookies PHP Sessions PHP E-mail PHP Secure E-mail PHP Error PHP Exception PHP Filter PHP Database MySQL Introduction MySQL Connect MySQL Create MySQL Insert MySQL Select MySQL Where MySQL Order By MySQL Update MySQL Delete PHP ODBC PHP XML XML Expat Parser XML DOM XML SimpleXML PHP and AJAX AJAX Introduction XMLHttpRequest AJAX Suggest AJAX XML AJAX Database AJAX responseXML AJAX Live Search AJAX RSS Reader AJAX Poll PHP Reference PHP Array PHP Calendar PHP Date PHP Directory PHP Error PHP Filesystem PHP Filter PHP FTP PHP HTTP PHP Libxml PHP Mail PHP Math PHP Misc PHP MySQL PHP SimpleXML PHP String PHP XML PHP Zip PHP Quiz PHP Quiz Selected Reading Web Statistics Web Glossary Web Hosting Web Quality W3Schools Forum Helping W3Schools pixels PHP Math Functions previous next PHP Math Introduction The math functions can handle values within the range of integer and float types. Installation The math functions are part of the PHP core. There is no installation needed to use these functions. PHP Math Functions PHP: indicates the earliest version of PHP that supports the function. Function Description PHP abs() Returns the absolute value of a number 3 acos() Returns the arccosine of a number 3 acosh() Returns the inverse hyperbolic cosine of a number 4 asin() Returns the arcsine of a number 3 asinh() Returns the inverse hyperbolic sine of a number 4 atan() Returns the arctangent of a number as a numeric value between -PI/2 and PI/2 radians 3 atan2() Returns the angle theta of an (x,y) point as a numeric value between -PI and PI radians 3 atanh() Returns the inverse hyperbolic tangent of a number 4 base_convert() Converts a number from one base to another 3 bindec() Converts a binary number to a decimal number 3 ceil() Returns the value of a number rounded upwards to the nearest integer 3 cos() Returns the cosine of a number 3 cosh() Returns the hyperbolic cosine of a number 4 decbin() Converts a decimal number to a binary number 3 dechex() Converts a decimal number to a hexadecimal number 3 decoct() Converts a decimal number to an octal number 3 deg2rad() Converts a degree to a radian number 3 exp() Returns the value of Ex 3 expm1() Returns the value of Ex - 1 4 floor() Returns the value of a number rounded downwards to the nearest integer 3 fmod() Returns the remainder (modulo) of the division of the arguments 4 getrandmax() Returns the maximum random number that can be returned by a call to the rand() function 3 hexdec() Converts a hexadecimal number to a decimal number 3 hypot() Returns the length of the hypotenuse of a right-angle triangle 4 is_finite() Returns true if a value is a finite number 4 is_infinite() Returns true if a value is an infinite number 4 is_nan() Returns true if a value is not a number 4 lcg_value() Returns a pseudo random number in the range of (0,1) 4 log() Returns the natural logarithm (base E) of a number 3 log10() Returns the base-10 logarithm of a number 3 log1p() Returns log(1+number) 4 max() Returns the number with the highest value of two specified numbers 3 min() Returns the number with the lowest value of two specified numbers 3 mt_getrandmax() Returns the largest possible value that can be returned by mt_rand() 3 mt_rand() Returns a random integer using Mersenne Twister algorithm 3 mt_srand() Seeds the Mersenne Twister random number generator 3 octdec() Converts an octal number to a decimal number 3 pi() Returns the value of PI 3 pow() Returns the value of x to the power of y 3 rad2deg() Converts a radian number to a degree 3 rand() Returns a random integer 3 round() Rounds a number to the nearest integer 3 sin() Returns the sine of a number 3 sinh() Returns the hyperbolic sine of a number 4 sqrt() Returns the square root of a number 3 srand() Seeds the random number generator 3 tan() Returns the tangent of an angle 3 tanh() Returns the hyperbolic tangent of an angle 4 PHP Math Constants PHP: indicates the earliest version of PHP that supports the constant. Constant Description PHP M_E Returns e (approx. 2.718) 4 M_EULER Returns Euler's constant (approx. 0.577) 4 M_LNPI Returns the natural logarithm of PI (approx. 1.144) 4 M_LN2 Returns the natural logarithm of 2 (approx. 0.693) 4 M_LN10 Returns the natural logarithm of 10 (approx. 2.302) 4 M_LOG2E Returns the base-2 logarithm of E (approx. 1.442) 4 M_LOG10E Returns the base-10 logarithm of E (approx. 0.434) 4 M_PI Returns PI (approx. 3.14159) 3 M_PI_2 Returns PI/2 (approx. 1.570) 4 M_PI_4 Returns PI/4 (approx. 0.785) 4 M_1_PI Returns 1/PI (approx. 0.318) 4 M_2_PI Returns 2/PI (approx. 0.636) 4 M_SQRTPI Returns the square root of PI (approx. 1.772) 4 M_2_SQRTPI Returns 2/square root of PI (approx. 1.128) 4 M_SQRT1_2 Returns the square root of 1/2 (approx. 0.707) 4 M_SQRT2 Returns the square root of 2 (approx. 1.414) 4 M_SQRT3 Returns the square root of 3 (approx. 1.732) 4 previous next ----- Original Message -----
From: Phil Hassey
To: pygame
Sent: Saturday, October 20, 2007 10:50
PM
Subject: [pygame] pygame.org website
update
I've been pretty busy lately (with Galcon!) But I've had a handful of requests and fixes piling up for the pygame.org website ... I decided to plan an afternoon this coming week to get around to it. So if anyone has noticed anything that is awful about the website, or has a really cool (but easy to implement ;) idea for it, do tell me and I'll consider it for my TODO list. Also, if you have e-mailed me about anything, feel free to remind me... it probably wouldn't hurt. Thanks! Phil ___ |