MERCH!
Giant Bomb - a website about video games and the people that make them

Variable Player Controlled Toss Height

by fobwashed

Another really short vid just for my private record keeping. I reviewed my item toss code, and didn't like it. So I rewrote it. It works a lot smoother now, and is much cheaper as far as the amount of lines it has to go through to get it done. As an added bonus, the code is really freaking clean which I like. While I wanted to work on it again just because it was messy, the real reason behind i...

Another really short vid just for my private record keeping.

I reviewed my item toss code, and didn't like it. So I rewrote it. It works a lot smoother now, and is much cheaper as far as the amount of lines it has to go through to get it done. As an added bonus, the code is really freaking clean which I like.

While I wanted to work on it again just because it was messy, the real reason behind it was to implement player controlled angled projectiles. Now, depending on how far the trigger is depressed, the player can control how high or low they throw the item. Next thing I have to do is add in the necessary code to have it work properly with the various platforms. I think I'm going to have to whip up a testing area again so that I can make sure everything I'm doing will work properly with all the old platforming code. Anyway, that's it for now.