Skip to content

Commit 5c938fb

Browse files
committedDec 3, 2021
.
1 parent f31e3e5 commit 5c938fb

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed
 

‎Molang Logo.png

3.01 KB
Loading

‎Project Main.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
blockWidth = width/64
1212
print(blockHeight)#! print those values of how many blocks can fit widthwards and heightwards
1313
print(blockWidth)
14-
global blocks,xblocks,yblocks
14+
global blocks
1515
blocks = []
1616
#* other
1717
class block:
@@ -68,8 +68,6 @@ def __init__(self, name, type, image, xwidth, ywidth):
6868
draw.down()
6969
draw.goto(blockWidth*64,i*64)
7070
draw.up()
71-
72-
7371
#* functions
7472
def up():
7573
xcor = player.xcor()
@@ -212,8 +210,5 @@ def placeBlock(x,y,currentBlock):
212210
screen.onkeypress(slotThree,'3')
213211
screen.onkeypress(slotFour,'4')
214212
screen.onkeypress(slotFive,'5')
215-
216213
screen.listen()
217-
screen.mainloop()
218-
219-
214+
screen.mainloop()

‎controls.png

251 Bytes
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.