Arctan and object targeting

The little smurfs (purfs?) can target things. I have them following the avatar. I'm using a low resolution atan function for now and I'll fix it later if I have time. I tried to do the full angular resolution but I'm not debugging that.

The last gamejam I did was in college. I tried to do a chip-8 game then but had this crazy idea that I'd do wireframe 3d graphics for it. I wrote all these vector drawing functions for lines. triangles, filed and empty circular arcs etc and then realized I was pushing just a few pixels per frame and got bored and did something else.

I think it will be a sort of smurf themed dune game with mushrooms or something.ludum3.png