HaxeFlixel / flixel-demos

Collection of demos for HaxeFlixel
https://haxeflixel.com/demos
425 stars 290 forks source link

Revamp tutorial #329

Open Geokureli opened 7 months ago

Geokureli commented 7 months ago

replaces the old angle-based movement code with simpler boolean logic code, and replaced velocity.setPolarDegrees with velocity.scale(SPEED/magnitude)

@SeiferTim I'd like your thoughts on this

SeiferTim commented 7 months ago

I'm good with this. The only reason I used my method was to avoid the 'go faster when diagonal' and in a way that the reader would understand... which I think your logic solves.

Geokureli commented 5 months ago

FYI this turned into a full blown rewrite and reskin