game tag

43 questions


2 answers
130 views
0
How Python Decrypts Encrypted Files and Reads

I would like to decrypt the python (pygame) pre-encrypted file for processing.By decrypting it and writing it out to a file, I was able to restore it to the state before encryption.I'm worried that if...

2 years ago

1 answers
81 views
0
The pygame program in python does not recognize the class slider instructions.

I'm a super beginner studying Python at Python Game Programming Basic Mathematics and Physics.As stated in the subject book (textbook), when I entered the code below and ran it on Run Module, an error...

2 years ago

1 answers
83 views
0
Unable to load pygame image

import pygamefrom pygame.locals import*import sysdefmain(): (w,h) = (400,400) (x,y) = (200,200) pygame.init() screen=pygame.display.set_mode(w,h), 0,32) screen=pygame.display.get_surface() pygame.disp...

2 years ago

1 answers
82 views
0
Image Transparency Processing in Pygame

I am currently producing software on Pygame.I would like to ask your opinion on image transmission processing.I would like to fade out the image with the window created in Pygame.Is there any good way...

2 years ago

1 answers
77 views
0
Unable to play music file in pygame

Pygame.mixer is unable to play the downloaded music file on the web.importosimport pygamepygame.init()sound=pygame.mixer.Sound(C:/Users/syosh/Desktop/pyworks/data/ball_collided.wav)sound=pygame.mixer....

2 years ago

1 answers
122 views
0
Unable to open image in pygame

import pygamefrom pygame.locals import*import syspygame.init()screen=pygame.display.set_mode(480,360))pygame.display.set_caption(Move the main character)player=pygame.image.load(annpannmann.png).conve...

2 years ago

1 answers
84 views
0
Error in Pygame code: 'int' object has no attribute 'rect'

I'd like to write a winning code.This is a program in which the player returns to its initial position when it hits en1 moving by operating the player with the cross key.I would like to say If player ...

2 years ago

2 answers
78 views
0
I am in trouble because I cannot display the image with image.load("") on python pygame.

I am currently studying python programming to enjoy learning while making games.I am troubled that I cannot do image.load() in this document.I would like to enter the following code (pythonlogo.jpg), ...

2 years ago

1 answers
97 views
0
I'd like to know about the And Engine.

I developed a game app this time, and I learned that I can use And Engine by applying it to Android Studio, so I want to study And Engine, so I'll ask you a question.First, I want to know what the And...

2 years ago

2 answers
115 views
0
I made a baseball game, but I can't find the error.

I made it like below, and it works well to the first function that prevents duplicate numbers.For example, if you enter 123 and you have at least one strike,If you repeatedly enter 123 several times, ...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.