14.01.2011, 14:16
1 Explanations
Well, I do not know much about trigonometry, and do not know how to apply it to the game, I would like that if possible, give me some examples of applications of the following functions, I know what's the point, just want to have an example of usage I can understand clearly what is happening in the code. Thank you in advance.
floatsin
floatcos
floatabs
floattan
floatroot
2 A question:
How to calculate the position for which the camera moves to the left and right like a platform game (Mario, Metal Slug, etc.).
Well, I do not know much about trigonometry, and do not know how to apply it to the game, I would like that if possible, give me some examples of applications of the following functions, I know what's the point, just want to have an example of usage I can understand clearly what is happening in the code. Thank you in advance.
floatsin
floatcos
floatabs
floattan
floatroot
2 A question:
How to calculate the position for which the camera moves to the left and right like a platform game (Mario, Metal Slug, etc.).