1
Next:
Setting up the Vector2 for 2D games.
If you are having trouble with your code try and copy the code from the source file below.
Source: http://www.farrisarts.com/demo/backup/rectangle.js
Twitter ► http://brentfarris.com/twitter
Website ► http://brentfarris.com
GitHub ► http://brentfarris.com/github
source
8 comments
would be so much easier if javascript supported operator overloading
What is the purpose of Vector2?
also, it doesnt matter which way round they are, because if it becomes negative, when it gets squared, it will always be positive, unless you are dealing with imaginary numbers
do you even pythagoras bro 🙂
the letter too small i can"t read it. more bigger plz thank u
Thanks for the feedback! 🙂
I realize how right you are, I have created a simple demonstration video to explain myself/reason for Vector2 in the framework and how it can be used 🙂
DfIvnMJJVrg
Let me know your thoughts!
Hey glad you like it! :). Thanks for the support, let me know if you have any questions or suggestions. 🙂
This series of tutorials is awesome! Thank you very much for making it!
Comments are closed.