Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: My code does not work as expected (pygame)
Post: My code does not work as expected (pygame)

Hello, I am trying to make a game in pygame and after i optimised my code it stopped working. It is creating a window but it is black . Thank you for helping. Here is my code: import pygame import ...
rohes_kaugummi Homework 1 1,571 Aug-25-2021, 08:50 PM
    Thread: I have an error and I do not know why
Post: RE: I have an error and I do not know why

Yes, thank you
rohes_kaugummi General Coding Help 4 2,037 Jul-12-2021, 08:34 PM
    Thread: I have an error and I do not know why
Post: RE: I have an error and I do not know why

I want to add sprites to my game. At first I wanted to do multipel frames in one animation but i got lazy and did not make additional frames. if left: game_window.blit(walkleft(walkcount//3),(x,y...
rohes_kaugummi General Coding Help 4 2,037 Jul-12-2021, 07:55 PM
    Thread: I have an error and I do not know why
Post: I have an error and I do not know why

Hello, i am trying to make a platformer game but every time I press a key the following error message: File "D:\python project\pygametest\pygametest.py", line 39, in redrawwindow game_window.bli...
rohes_kaugummi General Coding Help 4 2,037 Jul-12-2021, 03:05 PM
    Thread: I have a syntax error!
Post: RE: I have a syntax error!

(Jun-22-2021, 09:52 PM)Yoriz Wrote: d = int(input("Type 1 to continue:" )Line 31 has two open brackets and only 1 close bracket. Thanks, I didn't notice.
rohes_kaugummi General Coding Help 3 2,440 Jun-23-2021, 01:38 PM
    Thread: I have a syntax error!
Post: I have a syntax error!

Hello, i have been trying to make a guess the number game as a beginner project. I am very new to coding and wrote the following code: import random import sys a = (random.randint(1,10)) #print (a)...
rohes_kaugummi General Coding Help 3 2,440 Jun-22-2021, 09:21 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020