Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Making your game general

Name: Anonymous 2018-08-08 9:11

ITT we discuss how to collaboratively design our games.

Name: Anonymous 2018-11-23 6:56

>>425
See the video I uploaded in >>426. You don't need to buy Photoshop just to rotate a fucking image.

For GIMP:
Want to rotate something 200 degrees? It's -160.

Here, I will make a simple Python script so you understand:

#!/usr/bin/env python3
userDegrees = int(input("Enter degrees for rotation: "))
if userDegrees == 360 or userDegrees == 0:
print("No rotation necessary")
elif userDegrees < 360 and userDegrees > 180:
#example: 200 becomes -160
finalDegrees = userDegrees - 360
print("Rotate it by " + str(finalDegrees) + " degrees")
elif userDegrees <= 180 and userDegrees > 0:
print("Rotate it by " + str(userDegrees) + " degrees")
elif userDegrees < 0 and userDegrees >= -180:
finalDegrees = userDegrees + 360
print("negative testing: " + str(finalDegrees))
else:
print("range error")
print("this is not the most efficient way to write it but I am drunk")


Please note: rotation is only the same if the layer sizes are the same! There can be issues when you duplicate a layer. Be sure to do Layer -> Autocrop Layer to avoid issues. If you have the layer set to your image size, it will be rotated with respect to the image in its entirety rather than the center of the layer or selection you are trying to rotate. But maybe you want that, I don't know. But be aware of how the layer size, even if it's transparent and unused, will change how a layer or selection rotates.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List