LiamBerube
@LiamBerube
0
I need help with a pause button because I am new to pygame and just someone to tell me the simplest way to do this so that it doesn't go way over my h
Python
MaciahLawson I'm pretty sure this is how you do it. (I haven't done pygame in a while so pls lemme know if this works)...
for e in pygame.event.get():
if e.type == pygame.QUIT: break
if e.type == pygame.KEYDOWN:
if e.key == pygame.K_p: state = PAUSE
if e.key == pygame.K_s: state = RUNNING...2 years ago
Use space to fly, mobile friendly just tap. High Score is saved when you X out of the window. auto-save coming in 1.0.1.
Python
Text based adventure game get to 50 kills and then beat the boss to win. If you find any bugs or have suggestions lmk.
Python
I made a bot that asks a sh*t ton of questions.
As per request of @JacobMcPherson1 who told me it's not a bot instead of calling it a question bot it
AIDANGREEN6 But... I was hoping to get a response based on my question.... I just kept getting asked more.... I was actually asked "do you ever wear headbands?" 12 times in a row...
Also, instead of while question_loop == 1, you could have just done while True.
2 years ago
What is Python Anyways?
Python is a programming language made for readability and is great for large projects such as :
Web development with flask
Cha
Follow the instructions/prompts on screen and get ready to have a laugh with friends, or by yourself.
Python
I made a basic chatbot. It's not really even a chatbot it just guides you through a conversation.
Don'ts:
Don't answer with anything other than letter
I am new to python and the console in this version with the infinite loop is very chaotic I tried adding
import time as t
t.sleep(1)
To make it only d
Python
Brendan23 @LiamBerube you can use os.system('clear') or sys.stdout.write("write what you want here") if you have any questions, pls ask me.2 years ago
I'm doing a project for school and whenever I try to run it in the environment it doesn't work.
HTML, CSS, JS
Baconman321 It works fine for me.
What do you mean by "the environment"? As in, the editor?2 years ago