-
tried implementing time so it would be self sufficient
while 1==1: #if sec > 10000:
#if sec < 20000:
#trtl.goto(0,0)
#trtl.pensize(100)
#trtl.pendown() -
started working on code for movement
movement so far: import turtle as trtl
import random as randint
import skybox as sky
trtl= movement setup screen.onkeypress() -
added a possible code that moves the users mouse
this is something i may potentially addthings i want to do with this is: randomly have the screen scroll or have it move where the player is pointing every 1000 seconds import pyautogui
pyautogui.scroll(100) -
added a minute and second clock
time=0
while 1<2:
time = time+1
seconds = time // 10000
if seconds == 60:
time=0
minutes = minutes+1
if minutes == 25:
minutes = 0
if minutes >= 7:
if minutes <= 19:
daynight = "day"
if minutes < 7:
daynight = "night"
if minutes > 19:
daynight = "night" -
changed some of the code to work with minutes instead of inputs
mainly lines 64-215