pygame error video system not initialized что делать

Python-сообщество

Уведомления

#1 Апрель 13, 2016 16:17:47

video system not initialized

video system not initialized

Pygame нет, но попробуй вот так код поправить :

Отредактировано Lestoroer (Апрель 13, 2016 16:30:15)

#3 Апрель 13, 2016 16:26:20

video system not initialized

Traceback (most recent call last):
File “

”, line 2, in
for event in pygame.event.get():
pygame.error: video system not initialized

не знаю как отступы сделать.. Полная ошибка выглядит так..

Отредактировано kapaky (Апрель 13, 2016 16:27:20)

#4 Апрель 13, 2016 16:30:43

video system not initialized

”, line 2, in for event in pygame.event.get():pygame.error: video system not initializedне знаю как отступы сделать.. Полная ошибка выглядит так..

#5 Апрель 13, 2016 16:43:41

video system not initialized

pygame.display.set_caption(‘My Game’)
screen.fill(WHITE)
если вобще убрать эти строчки, та же ошибка

#6 Апрель 13, 2016 17:55:11

video system not initialized

все перепробовал, даже от имени администратора запускал. Та же ошибка.
мне кажется что, когда я скачивал “pygame” он был не полный. Если такое бывает.?

#7 Апрель 16, 2016 10:26:50

video system not initialized

может после, когда сам во всем разберусь, то объясню, почему именно так. Но пока работает следующая схема.

Источник

‘pygame.error: video system not initialized’

My first game, more precisely, its initial appearance (without especially beautiful icons, avatars, backgrounds and objects), was almost ready, and started perfectly, until I wanted to add a start menu, in which it would be possible to change the game parameters and, in fact, launch its button ‘Start’. However, after a few changes to make the menu appear, it turned out that I had some kind of problems with int game () and a black screen. I deleted the previously made changes and tried to start the game without a menu, which it originally was, but the black screen still followed me, and i saw this thing:

Tired of looking for answers on foreign and local forums, I decided to contact the inhabitants of stackover. I really hope for your help. Here, in fact, is the code itself (which I compressed as much as I could):

By the way, I’m not sure I have saw all the questions on the forums and the answers I could, so I might have missed some solution. So, I do not deny that my question may be similar to the others on this site, do not consider it a copy-paste or flood.

pygame error video system not initialized что делать. Смотреть фото pygame error video system not initialized что делать. Смотреть картинку pygame error video system not initialized что делать. Картинка про pygame error video system not initialized что делать. Фото pygame error video system not initialized что делать

pygame error video system not initialized что делать. Смотреть фото pygame error video system not initialized что делать. Смотреть картинку pygame error video system not initialized что делать. Картинка про pygame error video system not initialized что делать. Фото pygame error video system not initialized что делать

1 Answer 1

This entire part can be changed

You can make a lot of changes to your code

pygame error video system not initialized что делать. Смотреть фото pygame error video system not initialized что делать. Смотреть картинку pygame error video system not initialized что делать. Картинка про pygame error video system not initialized что делать. Фото pygame error video system not initialized что делать

Not the answer you’re looking for? Browse other questions tagged python python-3.x pygame or ask your own question.

Related

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.11.12.40742

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *