So no more flying players in my new game

Reading time ~1 minute

I finally realized I could simply track when the player hit a horizontal surface and set a ‘onGround’ flag, and then turn that off when you jump. then each jump attempt checks the flag, if it’s not set it won’t let you jump. Obviously, I tried a much more complicated method first. So no more flying players in my new game! (at least unless I add jet pack or something)

How I'm starting my React apps now

tl;dr, clone []( IntroductionFor this setup, I have node v...… Continue reading

Tin Khan

Published on October 03, 2016

A Comeback for Another Drink

Published on September 25, 2016