A Person

@Sn0987 (1)
C stands for cheese. You like programming in cheese? Ok bye
Sn0987
Sn0987
shared a Post
6 months ago
2
OutRun By Sohaab in pygame
Share
Avoid all the obstacles and try to get a highscore!
OutRun! By Sohaab
Pygame
Read full post
Sn0987
Sn0987
shared a Post
1 year ago
1
Repl.it says it is not opening device.
Ask
So i wrote eveything correctly checked my browser and setting why isnt it working? It says not opening device.
Mygame
Love2D
CSharpIsGud
CSharpIsGud It works fine, it just won't be able to play any sound since repl vms don't even have any sound drivers installed1 year ago
programmeruser
programmeruser It works fine for me.1 year ago
Sn0987
Sn0987
shared a Post
1 year ago
1
How do i keep my character in screen.
Ask
So i have been using pygame and wonder how to keep my character in screen since it keeps on going out of bound. Any help would be appreciated. Thanks:
Experimentwithsprite
Pygame
maxina
maxina You would just add another conditional to your if statement where if you press on a key, only move that way if y is also not touching the boundary. Here is an example: import pygame pygame.init() win = pygame.display.set_mode((500,500)) pygame.display.set_caption("First Game") x = 50 y = 50 width = 40 height = 60 vel = 5 isJump = False jumpCount = 10 run = True while run: pygame.time.delay(100) for event in pygame.event.get(): if event.type == pygame.QUIT: run 1 year ago
littlepenguin
littlepenguin Some people have the same probs so here: https://stackoverflow.com/questions/14387587/pygame-how-do-i-stop-a-sprite-from-leaving-the-edge-of-the-window1 year ago
Sn0987
Sn0987
shared a Post
1 year ago
1
Why isnt my rectangle showing?
Ask
I why isnt my rectangle not showing ignore other files except main.lua and player.lua please.
Pong
Love2D
programmeruser
programmeruser You didn't require the second file in the main file, that's why.1 year ago
Sn0987
Sn0987
shared a Post
4 months ago
1
Gameboom Jump! Made with pygame and you will like it.
Share
About Gameboom Jump: Its about jumping and dodging spikes and trying to get good score! Controls: a and d to move left and right, you could also use
Gameboom Jump
Pygame
Sn0987
Sn0987
shared a Post
6 months ago
1
why isnt my background image showing
Ask
There is no error and the code looks right so why isnt it showing