Next up on HexGame, rotating shapes when the R key is pressed ↪️
For now we only rotate in one direction but eventually we'll have a way to rotate left and right. The code is pretty simple, if the R key is pressed we change the shape based on the rotation.
#rustlang #gamedev
For now we only rotate in one direction but eventually we'll have a way to rotate left and right. The code is pretty simple, if the R key is pressed we change the shape based on the rotation.
#rustlang #gamedev
Comments