Skip to content

Commit

Permalink
#22 Part 5.2, adding comments, I remember what's going on @Gizmotronn
Browse files Browse the repository at this point in the history
  • Loading branch information
IrisDroidology committed Apr 29, 2020
1 parent aa734e4 commit 5691f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Applets/TWT/pygame1.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def draw(self,win): # argument of the window
if self.walkCount + 1 >= 27: # frame rate
self.walkCount = 0

if not(self.standing):
if not(self.standing): # if the character is not standing still, he will be facing to the left, or to the right, depending on the direction he moved in first. // This is so that the bullets "know" where to go as well as for just aesthetics and neatness
if left:
win.blit(walkLeft[self.walkCount//3], (self.x,self.y))
self.walkCount += 1
Expand Down

0 comments on commit 5691f16

Please sign in to comment.