Skip to content
Sign upLog in

Deleting a Block

Profile icon
51LV3RC0D3R

So I am creating a game in pygame
I was wondering how to delete the block in class Level_01.

DudeHexafandra

You are viewing a single comment. View All
Profile icon
51LV3RC0D3R

@ZhongRietveld
I tried it and I think I get what you are doing, but the problem is that I am writing my

level.pop(1)

in

def main():

and it says that level is undefined.