This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Camera3D | |
# How fast the camera speeds up to the moveSpeed and slows down to zero. | |
@export var acceleration = 50.0 | |
# The top speed of the camera. | |
@export var moveSpeed = 8.0 | |
# The speed of the mouse input. | |
@export var mouseSpeed = 300.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import sys | |
import pyglet | |
filename = sys.argv[1] | |
window = pyglet.window.Window(1920,1080) | |
image = pyglet.resource.image(filename) |