May-29-2018, 07:12 PM
(This post was last modified: May-29-2018, 07:12 PM by fierygaming.)
(May-29-2018, 05:28 PM)Larz60+ Wrote: you show code as :
while True: p1.getMouse() choice=entry1.getText() if choice=="f": choices.undraw() entry1.undraw() error.undraw() Fight() break else: error.setTextColor('white') error.setSize(24) error.draw(p1)needs to be indented
while True: p1.getMouse() choice=entry1.getText() if choice=="f": choices.undraw() entry1.undraw() error.undraw() Fight() break else: error.setTextColor('white') error.setSize(24) error.draw(p1)The code may still be bad, but you need this indentation
on import you only need:
from graphics import* from pygame import*But I wouldn't do it this way (for future reference) better to import what you specifically need
Ohhhh..... Yay all my stuff is indented properly I just forgot to do it here so that not the issue. im really confused now, I have done this before and im looking back on it and im doing the same here as i did there and there are no issues. But yet there is issues here for some reason.