python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to code a menu bar across your Pygame project
I have been struggling with merging my code.
I am creating an arcade game on Python and have a main file where I have an image and clickable assets which link to a game I have imported.
Now I am worki...
SoniaK
Votes: 0
Answers: 1
Cannot Change Individual Elements in an Array
I am trying to make a tic-tac-toe game, and I currently have a 3x3 tiled board grid to represent the game. When a user clicks a square, the program sets board[x][y] to 1.
board = [[[0, 0, 0], [0, 0, 0...
FailingCoder
Votes: 0
Answers: 1
If statement isn't working in pygame, and my inventory isn't working because of it
I'm currently working on a game in pygame, and the first thing that I'm making is an inventory. I have a class for items, and a class for the slots that the items can go in:
class Item(pygame.sprite.S...
Mushroom
Votes: 0
Answers: 0