Quantcast
Viewing all articles
Browse latest Browse all 11417

Creating a Random Throwing Direction

Hey there, Cascade here with my first tutorial!

I recently implemented a random direction function to generate a throw mechanic which will really stir up a boss fight and prevent velocity from sending you in one direction only.

In order to implement this properly, I strongly suggest you use the "throw" mechanic to create the initial velocity, for example:
Code:
- throw{velocity=4;velocityY=2}
Once you've set the velocity correctly for your throw mechanic, it's relatively simple to...

Creating a Random Throwing Direction

Viewing all articles
Browse latest Browse all 11417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>