Hah, it's funny that I'm posting this a day before my precalculus exam (which includes trig). Because, I have this nice little script package that I created to use in my games :P
Yes.You can use it for your games too.Advanced Angles ScriptsRight click and save as would you kindly. It comes with helpful argument descriptions and examples. The realdir script has millions of uses. The correctdir script can be used in platform game or topdown game AI etc. even collision correction. These are probably the most useful and flexible scripts you will ever find so dl now! Please. Since everyone else is posting videos um… this is one from one a' my friends. [object width="425" height="344"][param name="movie" value="http://www.youtube.com/v/IcZmlzZWQvM&hl=en"][/param><embed src="http://www.youtube.com/v/IcZmlzZWQvM&hl=en" type="application/x-shockwave-flash" width="425" height="344"][/embed][/object]Crap how do I embed on this site?Right… good times.So then.That RPG tutorial is coming along nicely… kinda.I have the first part D-O-N-E-N-U-H-U-H-U-H-U-H-H-H-H-H-H But. I can't put it up anywhere but my new website which I'm working on for now. (it's seems like it would help for some quick publicity)But you see, my website will not be up for a little while. So I'll keep on working on the next parts to the tutorial. Btw, it happens to cover
Platform RPG?
Sure, it's easy to add another type because I can just tell them to use an engine or give some simple base code. RPG elements should be free of perpective constraints. I'm just taking each perspective into account to make sure everything works.
I made an example ages ago for angle change.
For the whole 'real angle' thing you could just get away with a single line of code:return ((arg mod 360)+360*(sign(arg)==-1));Blast. I was hoping no one would comment with something about accelerating and deccelerating angle change XD