Message in window overlaps when updating HELP() [on hold]












-1












$begingroup$


The question is how do I get the text that prints not to overlap



def msgwintexts(text, font):
msgwinsurfs = font.render(text, True, black)
return msgwinsurfs, msgwinsurfs.get_rect()
def displayscore(text):
Bigmsgs = pygame.font.Font('freesansbold.ttf', 18)
msgwinsurfs, msgwinrects = msgwintexts(text,Bigmsgs)
msgwinrects.center = ((100),(100))
window.blit(msgwinsurfs, msgwinrects)
pygame.display.update()
def score():
point = 1
while point > 0:
time.sleep(1)
point = point + 1
displayscore('Score: ' + str(point))









share|improve this question







New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



put on hold as off-topic by Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612 6 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    $begingroup$
    Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
    $endgroup$
    – Sᴀᴍ Onᴇᴌᴀ
    6 hours ago
















-1












$begingroup$


The question is how do I get the text that prints not to overlap



def msgwintexts(text, font):
msgwinsurfs = font.render(text, True, black)
return msgwinsurfs, msgwinsurfs.get_rect()
def displayscore(text):
Bigmsgs = pygame.font.Font('freesansbold.ttf', 18)
msgwinsurfs, msgwinrects = msgwintexts(text,Bigmsgs)
msgwinrects.center = ((100),(100))
window.blit(msgwinsurfs, msgwinrects)
pygame.display.update()
def score():
point = 1
while point > 0:
time.sleep(1)
point = point + 1
displayscore('Score: ' + str(point))









share|improve this question







New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$



put on hold as off-topic by Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612 6 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    $begingroup$
    Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
    $endgroup$
    – Sᴀᴍ Onᴇᴌᴀ
    6 hours ago














-1












-1








-1





$begingroup$


The question is how do I get the text that prints not to overlap



def msgwintexts(text, font):
msgwinsurfs = font.render(text, True, black)
return msgwinsurfs, msgwinsurfs.get_rect()
def displayscore(text):
Bigmsgs = pygame.font.Font('freesansbold.ttf', 18)
msgwinsurfs, msgwinrects = msgwintexts(text,Bigmsgs)
msgwinrects.center = ((100),(100))
window.blit(msgwinsurfs, msgwinrects)
pygame.display.update()
def score():
point = 1
while point > 0:
time.sleep(1)
point = point + 1
displayscore('Score: ' + str(point))









share|improve this question







New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




The question is how do I get the text that prints not to overlap



def msgwintexts(text, font):
msgwinsurfs = font.render(text, True, black)
return msgwinsurfs, msgwinsurfs.get_rect()
def displayscore(text):
Bigmsgs = pygame.font.Font('freesansbold.ttf', 18)
msgwinsurfs, msgwinrects = msgwintexts(text,Bigmsgs)
msgwinrects.center = ((100),(100))
window.blit(msgwinsurfs, msgwinrects)
pygame.display.update()
def score():
point = 1
while point > 0:
time.sleep(1)
point = point + 1
displayscore('Score: ' + str(point))






python pygame






share|improve this question







New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









VisionsCreatesVisionsCreates

1




1




New contributor




VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






VisionsCreates is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612 6 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612 6 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Ludisposed, Sᴀᴍ Onᴇᴌᴀ, Vogel612

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    $begingroup$
    Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
    $endgroup$
    – Sᴀᴍ Onᴇᴌᴀ
    6 hours ago














  • 1




    $begingroup$
    Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
    $endgroup$
    – Sᴀᴍ Onᴇᴌᴀ
    6 hours ago








1




1




$begingroup$
Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
$endgroup$
– Sᴀᴍ Onᴇᴌᴀ
6 hours ago




$begingroup$
Welcome to Code Review! Unfortunately this post is off-topic for this site. Please read What topics can I ask about here? - note that it states "If you are looking for feedback on a specific working piece of code...then you are in the right place!" Also, when posting your question, there should have been text on the side that read "Your question must contain code that is already working correctly..." When you have fixed the code, please update it here and it can be reviewed."
$endgroup$
– Sᴀᴍ Onᴇᴌᴀ
6 hours ago










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

Touch on Surface Book