hacktober-race
hacktober-race copied to clipboard
Put player's face in the game.
So I've stubbed out some code for this in the UI Player.js
drawGithubImage() { imageMode(CENTER); image(this.img, this.x, this.y, 30, 30); }
We're going to auth via github, but at the moment I've just got random images in there:
I want these images to be circles and potentially fill the player circle leaving just the edging.
So all you need to do in this is do some funky stuff with p5js to not render some pixels to make it a circle!
Hi, I would like to try to make the images round and fill the circle.
Looking at this at the moment and have it pulling from github. Do we have anywhere to get the username from or is that not possible yet?
@caleballen we will do when we have the OAuth up and running, I've pretty much written the code, I just need to merge it in.
That's out of scope for this ticket though, this one is purely about making an image (any image, it doesn't matter) circle so it fits in!