Browse Source

fix commit

master
skrabanek 5 days ago
parent
commit
ff8260f224
  1. BIN
      assets/2D Pixel Dungeon Asset Pack v2.0.zip
  2. BIN
      assets/Cowboy Sting.mp3
  3. BIN
      assets/Cyberpunk Moonlight Sonata v2.mp3
  4. BIN
      assets/Cyberpunk Moonlight Sonata.mp3
  5. BIN
      assets/Dentaneosuchus Hunt.mp3
  6. BIN
      assets/Enemy_Animations_Set.zip
  7. BIN
      assets/Lord of the Rangs.mp3
  8. BIN
      assets/Piano Between.mp3
  9. BIN
      assets/Sauropod Spotting.mp3
  10. BIN
      assets/Tiny RPG Character Asset Pack v1.03b -Free Soldier&Orc.zip
  11. BIN
      assets/TremLoadingloopl.wav
  12. BIN
      assets/Who Likes to Party.mp3
  13. BIN
      assets/kenney_music-jingles.zip
  14. BIN
      assets/kenney_rpg-audio(1).zip
  15. BIN
      assets/kenney_rpg-audio.zip
  16. BIN
      assets/kenney_ui-audio.zip
  17. BIN
      assets/loading screen.wav
  18. BIN
      assets/mystical_theme.mp3
  19. 15
      pygame/01_pexeso.py
  20. 10
      pygame/02_flappy_bird.py
  21. 4
      pygame/03_chytani_jablek.py
  22. 4
      pygame/04_pong_dva_hraci.py
  23. 4
      pygame/05_skakacka_gravitace.py
  24. 4
      pygame/06_vesmirna_strilecka.py
  25. 10
      pygame/07_had.py
  26. 11
      pygame/fix_syntax.py
  27. 25
      pygame/patch.py
  28. 29
      pygame/patch_safe.py
  29. BIN
      renpy/renpy_example_01/pythonw_14-49_01-06-26_wmPN.png
  30. BIN
      renpy/renpy_example_02/game/cache/bytecode-312.rpyb
  31. BIN
      renpy/renpy_example_02/game/cache/py3analysis.rpyb
  32. BIN
      renpy/renpy_example_02/game/cache/screens.rpyb
  33. 7
      renpy/renpy_example_02/game/cache/shaders.txt
  34. BIN
      renpy/renpy_example_02/game/gui.rpyc
  35. BIN
      renpy/renpy_example_02/game/options.rpyc
  36. BIN
      renpy/renpy_example_02/game/saves/_tracesave-1-LT1.save
  37. BIN
      renpy/renpy_example_02/game/saves/_tracesave-2-LT1.save
  38. BIN
      renpy/renpy_example_02/game/saves/auto-1-LT1.save
  39. BIN
      renpy/renpy_example_02/game/saves/auto-2-LT1.save
  40. BIN
      renpy/renpy_example_02/game/saves/auto-3-LT1.save
  41. BIN
      renpy/renpy_example_02/game/saves/auto-4-LT1.save
  42. BIN
      renpy/renpy_example_02/game/saves/auto-5-LT1.save
  43. BIN
      renpy/renpy_example_02/game/saves/auto-6-LT1.save
  44. BIN
      renpy/renpy_example_02/game/saves/auto-7-LT1.save
  45. 1
      renpy/renpy_example_02/game/saves/navigation.json
  46. BIN
      renpy/renpy_example_02/game/saves/persistent
  47. BIN
      renpy/renpy_example_02/game/saves/sync/_tracesave-1-LT1.save
  48. BIN
      renpy/renpy_example_02/game/saves/sync/_tracesave-2-LT1.save
  49. BIN
      renpy/renpy_example_02/game/saves/sync/auto-1-LT1.save
  50. BIN
      renpy/renpy_example_02/game/saves/sync/auto-2-LT1.save
  51. BIN
      renpy/renpy_example_02/game/saves/sync/auto-3-LT1.save
  52. BIN
      renpy/renpy_example_02/game/saves/sync/auto-4-LT1.save
  53. BIN
      renpy/renpy_example_02/game/saves/sync/auto-5-LT1.save
  54. BIN
      renpy/renpy_example_02/game/saves/sync/persistent
  55. BIN
      renpy/renpy_example_02/game/screens.rpyc
  56. BIN
      renpy/renpy_example_02/game/script.rpyc
  57. BIN
      renpy/renpy_example_02/game/tl/None/common.rpymc
  58. 45
      renpy/renpy_example_02/log.txt
  59. 70
      renpy/renpy_example_02/traceback.txt
  60. BIN
      renpy/renpy_example_03/game/cache/bytecode-312.rpyb
  61. BIN
      renpy/renpy_example_03/game/cache/py3analysis.rpyb
  62. BIN
      renpy/renpy_example_03/game/cache/screens.rpyb
  63. 9
      renpy/renpy_example_03/game/cache/shaders.txt
  64. BIN
      renpy/renpy_example_03/game/gui.rpyc
  65. BIN
      renpy/renpy_example_03/game/options.rpyc
  66. BIN
      renpy/renpy_example_03/game/saves/_tracesave-1-LT1.save
  67. BIN
      renpy/renpy_example_03/game/saves/auto-1-LT1.save
  68. 1
      renpy/renpy_example_03/game/saves/navigation.json
  69. BIN
      renpy/renpy_example_03/game/saves/persistent
  70. BIN
      renpy/renpy_example_03/game/saves/sync/_tracesave-1-LT1.save
  71. BIN
      renpy/renpy_example_03/game/saves/sync/auto-1-LT1.save
  72. BIN
      renpy/renpy_example_03/game/saves/sync/persistent
  73. BIN
      renpy/renpy_example_03/game/screens.rpyc
  74. BIN
      renpy/renpy_example_03/game/script.rpyc
  75. 28
      renpy/renpy_example_03/log.txt
  76. 9
      renpy/renpy_example_03/progressive_download.txt
  77. 70
      renpy/renpy_example_03/traceback.txt

BIN
assets/2D Pixel Dungeon Asset Pack v2.0.zip

Binary file not shown.

BIN
assets/Cowboy Sting.mp3

Binary file not shown.

BIN
assets/Cyberpunk Moonlight Sonata v2.mp3

Binary file not shown.

BIN
assets/Cyberpunk Moonlight Sonata.mp3

Binary file not shown.

BIN
assets/Dentaneosuchus Hunt.mp3

Binary file not shown.

BIN
assets/Enemy_Animations_Set.zip

Binary file not shown.

BIN
assets/Lord of the Rangs.mp3

Binary file not shown.

BIN
assets/Piano Between.mp3

Binary file not shown.

BIN
assets/Sauropod Spotting.mp3

Binary file not shown.

BIN
assets/Tiny RPG Character Asset Pack v1.03b -Free Soldier&Orc.zip

Binary file not shown.

BIN
assets/TremLoadingloopl.wav

Binary file not shown.

BIN
assets/Who Likes to Party.mp3

Binary file not shown.

BIN
assets/kenney_music-jingles.zip

Binary file not shown.

BIN
assets/kenney_rpg-audio(1).zip

Binary file not shown.

BIN
assets/kenney_rpg-audio.zip

Binary file not shown.

BIN
assets/kenney_ui-audio.zip

Binary file not shown.

BIN
assets/loading screen.wav

Binary file not shown.

BIN
assets/mystical_theme.mp3

Binary file not shown.

15
pygame/01_pexeso.py

@ -93,7 +93,7 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Kromě výplně nakreslíme ještě bílý obrys (rámeček) o tloušťce 3 pixely, ať to lépe vypadá
pygame.draw.rect(okno, BILA, self.rect, 3)
def hlavni_smycka():
async def hlavni_smycka():
# --- PŘÍPRAVA HRY ---
# 1. Připravíme si seznam barev. Chceme 8 párů, takže každou barvu z BARVY_PARU potřebujeme dvakrát.
barvy_do_hry = BARVY_PARU * 2
@ -198,8 +198,9 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
else:
# ŠPATNĚ! Barvy se liší.
# Aby hráč vůbec stihl zaregistrovat barvu druhé karty, musíme na chvíli zmrazit hru
# wait(1000) hru zastaví přesně na 1000 milisekund (1 sekundu)
pygame.time.wait(1000)
# PŘIDÁNO PRO WEB: Ve webovém prostředí nesmíme použít pygame.time.wait(), protože by zmrazil prohlížeč.
# Místo toho asynchronně uspíme smyčku, což umožní prohlížeči vykreslit druhou kartu.
await asyncio.sleep(1)
# A pak obě karty otočíme zase lícem dolů (šedá strana nahoru)
prvni_vybrana.odkryta = False
@ -211,13 +212,13 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Rychlost smyčky: Řekneme hodinám, že chceme, aby smyčka běžela maximálně tolikrát za vteřinu, jak určuje FPS
hodiny.tick(FPS)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
await asyncio.sleep(0)
# PRIDANO PRO WEB
await asyncio.sleep(0)
# Tohle říká Pythonu: Pokud tento soubor spouštíš jako hlavní program (ne jen importuješ),
# Tohle říká Pythonu: Pokud tento soubor spouštíš jako hlavní program (ne jen importuješ),
# tak teprve tehdy spusť hlani_smycka()
if __name__ == "__main__":
hlavni_smycka()
await hlavni_smycka()
# PŘIDÁNO PRO WEB: Spuštění asynchronní hry

10
pygame/02_flappy_bird.py

@ -45,7 +45,7 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Jinak ho plácneme normálně za jeho levý horní roh
okno.blit(plocha, (x, y))
def hlavni_smycka():
async def hlavni_smycka():
# --- PROMĚNNÉ PTÁKA ---
# Toto jsou proměnné, které se v čase mění, proto nejsou VELKÝMI PÍSMENY
ptak_x = 50 # Zleva je pták relativně blízko okraji
@ -187,15 +187,15 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Pojistka pro správnou rychlost. Počká se milisekundu tak, abychom dodrželi stanovené FPS.
hodiny.tick(FPS)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
await asyncio.sleep(0)
# PRIDANO PRO WEB
await asyncio.sleep(0)
# Toto funguje tak, že hru spouštíme donekonečna. Když hráč zemře a dá mezerník,
# Toto funguje tak, že hru spouštíme donekonečna. Když hráč zemře a dá mezerník,
# funkce 'hlavni_smycka()' skončí (return), ale díky tomuto cyklu 'while True'
# se obratem zavolá od znova z čistého stolu a se skórem nula.
if __name__ == "__main__":
while True:
hlavni_smycka()
await hlavni_smycka()
# PŘIDÁNO PRO WEB: Spuštění asynchronní hry

4
pygame/03_chytani_jablek.py

@ -136,10 +136,10 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# A tohle vynutí pauzu natolik dlouhou, abychom za vteřinu nepřekročili 60 smyček (60 FPS)
hodiny.tick(60)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
# PRIDANO PRO WEB
await asyncio.sleep(0)
# Pokud 'bezime' skočí na False a vyskočíme ze smyčky 'while', musíme bezpečně zhasnout!
# Pokud 'bezime' skočí na False a vyskočíme ze smyčky 'while', musíme bezpečně zhasnout!
pygame.quit()
sys.exit()

4
pygame/04_pong_dva_hraci.py

@ -188,10 +188,10 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Pauza na udržení stabilních 60 FPS
hodiny.tick(60)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
# PRIDANO PRO WEB
await asyncio.sleep(0)
# Konec programu
# Konec programu
pygame.quit()
sys.exit()

4
pygame/05_skakacka_gravitace.py

@ -166,10 +166,10 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# .flip() překlopí to, co jsme nakreslili v paměti na obrazovku k hráči
pygame.display.flip()
hodiny.tick(60) # Cílíme na hladkých 60 FPS (Frames Per Second)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
# PRIDANO PRO WEB
await asyncio.sleep(0)
pygame.quit()
pygame.quit()
sys.exit()

4
pygame/06_vesmirna_strilecka.py

@ -182,10 +182,10 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Obraz je spočítán. Posíláme do HDMI portu na monitor! (.flip)
pygame.display.flip()
hodiny.tick(60)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
# PRIDANO PRO WEB
await asyncio.sleep(0)
pygame.quit()
pygame.quit()
sys.exit()

10
pygame/07_had.py

@ -35,7 +35,7 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Veškerou logiku hry teď poprvé schováme do tzv. Hlavní Funkce.
# Proč? Jakmile funkce skončí (kvůli výhře/prohře), velmi jednoduše se tímto trikem dá celá hra resetovat,
# jelikož stačí funkci zavolat odznova.
def hlavni_smycka():
async def hlavni_smycka():
# --- POČÁTEČNÍ STAV HRY ---
# Nejdůležitější princip této hry! Tělo hada není jeden objekt, je to SEZNAM SOUŘADNIC (pole v poli).
@ -164,10 +164,10 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Omezení rychlosti
hodiny.tick(FPS)
# PŘIDÁNO PRO WEB: Dáme prohlížeči šanci překreslit obrazovku
await asyncio.sleep(0)
# PRIDANO PRO WEB
await asyncio.sleep(0)
# Úplný spodek skriptu Pythonu
# Úplný spodek skriptu Pythonu
# Tento 'if' ověřuje, jestli Python zapnul tento soubor napřímo jako první.
if __name__ == "__main__":
@ -175,7 +175,7 @@ async def main(): # PŘIDÁNO PRO WEB: Zabalíme celou hru do asynchronní funk
# Jakmile uvnitř `hlavni_smycka` zavoláme 'return' kvůli Game Over + stisku Mezerníku,
# funkce se zničí, a tento while True ji opět vzkřísí z prachu k novému životu s čistým listem skóre.
while True:
hlavni_smycka()
await hlavni_smycka()
# PŘIDÁNO PRO WEB: Spuštění asynchronní hry

11
pygame/fix_syntax.py

@ -0,0 +1,11 @@
import os
import glob
os.chdir(r'C:\gitprojekty_skola\python_gamejam_examples\pygame')
for f in glob.glob('*.py'):
if f.startswith('patch'): continue
with open(f, 'r', encoding='utf-8') as file:
content = file.read()
content = content.replace('async def hlavni_smycka():', 'async def hlavni_smycka():')
with open(f, 'w', encoding='utf-8') as file:
file.write(content)

25
pygame/patch.py

@ -0,0 +1,25 @@
import os
import glob
import re
os.chdir(r'C:\gitprojekty_skola\python_gamejam_examples\pygame')
for f in glob.glob('*.py'):
with open(f, 'r', encoding='utf-8') as file:
content = file.read()
# 1. async def
content = re.sub(r'(\s*)def hlavni_smycka\(\):', r'\1async def hlavni_smycka():', content)
# 2. Add await to hlavni_smycka() calls
content = re.sub(r'(\s+)hlavni_smycka\(\)', r'\1await hlavni_smycka()', content)
# 3. Fix asyncio.sleep(0)
# Odstranime stary await asyncio.sleep(0) a jeho komentar
content = re.sub(r'[ \t]*# PØIDÁNO PRO WEB: Dáme prohlížeèi šanci pøekreslit obrazovku\s+await asyncio\.sleep\(0\)\s*', '\n', content)
# Pridame ho tesne za hodiny.tick(...) se stejnym odsazenim
content = re.sub(r'([ \t]*)(.*hodiny\.tick.*)', r'\1\2\n\1# PØIDÁNO PRO WEB: Dáme prohlížeèi šanci pøekreslit obrazovku\n\1await asyncio.sleep(0)', content)
with open(f, 'w', encoding='utf-8') as file:
file.write(content)
print(f'Opraveno: {f}')

29
pygame/patch_safe.py

@ -0,0 +1,29 @@
import os
import glob
import re
os.chdir(r'C:\gitprojekty_skola\python_gamejam_examples\pygame')
for f in glob.glob('*.py'):
if f == 'patch.py':
continue
with open(f, 'r', encoding='utf-8') as file:
content = file.read()
# 1. async def
content = re.sub(r'(\s*)def hlavni_smycka\(\):', r'\1async async def await hlavni_smycka():', content)
# 2. Add await to await hlavni_smycka() calls
content = re.sub(r'(\s+)hlavni_smycka\(\)', r'\1await await hlavni_smycka()', content)
# 3. Fix asyncio.sleep(0)
# Match the old comment containing WEB without needing special chars
content = re.sub(r'[ \t]*#.*WEB.*\s+await asyncio\.sleep\(0\)\s*', '\n', content)
# Pridame ho tesne za hodiny.tick(...) se stejnym odsazenim
# PRIDANO PRO WEB
await asyncio.sleep(0)
content = re.sub(r'([ \t]*)(.*hodiny\.tick.*)', r'\1\2\n\1# PRIDANO PRO WEB\n\1await asyncio.sleep(0)', content)
with open(f, 'w', encoding='utf-8') as file:
file.write(content)
print(f'Opraveno: {f}')

BIN
renpy/renpy_example_01/pythonw_14-49_01-06-26_wmPN.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
renpy/renpy_example_02/game/cache/bytecode-312.rpyb

Binary file not shown.

BIN
renpy/renpy_example_02/game/cache/py3analysis.rpyb

Binary file not shown.

BIN
renpy/renpy_example_02/game/cache/screens.rpyb

Binary file not shown.

7
renpy/renpy_example_02/game/cache/shaders.txt

@ -0,0 +1,7 @@
renpy.dissolve renpy.dissolve
renpy.geometry renpy.solid
renpy.geometry renpy.texture
renpy.texture
renpy.solid
renpy.ftl
renpy.dissolve renpy.geometry

BIN
renpy/renpy_example_02/game/gui.rpyc

Binary file not shown.

BIN
renpy/renpy_example_02/game/options.rpyc

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/_tracesave-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/_tracesave-2-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-2-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-3-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-4-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-5-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-6-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/auto-7-LT1.save

Binary file not shown.

1
renpy/renpy_example_02/game/saves/navigation.json

File diff suppressed because one or more lines are too long

BIN
renpy/renpy_example_02/game/saves/persistent

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/_tracesave-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/_tracesave-2-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/auto-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/auto-2-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/auto-3-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/auto-4-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/auto-5-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_02/game/saves/sync/persistent

Binary file not shown.

BIN
renpy/renpy_example_02/game/screens.rpyc

Binary file not shown.

BIN
renpy/renpy_example_02/game/script.rpyc

Binary file not shown.

BIN
renpy/renpy_example_02/game/tl/None/common.rpymc

Binary file not shown.

45
renpy/renpy_example_02/log.txt

@ -0,0 +1,45 @@
2026-06-01 12:47:48 UTC
Windows-11-10.0.22631-SP0
Ren'Py 8.5.3.26051504
Early init took 62 ms
Loading error handling took 24 ms
Loading script took 114 ms
Loading save slot metadata took 24 ms
Loading persistent took 0 ms
Running init code took 47 ms
Loading analysis data took 3 ms
Analyze and compile ATL took 1 ms
Reloading save slot metadata took 6 ms
Dump and make backups took 48 ms
Cleaning cache took 0 ms
Making clean stores took 0 ms
Initial gc took 42 ms
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: b"Couldn't load nvlib." (can be ignored)
Creating interface object took 5 ms
Init translation took 0 ms
Cleaning stores took 0 ms
Load screen analysis took 17 ms
Analyze screens took 2 ms
Save screen analysis took 0 ms
Save pyanalysis took 0 ms
Save bytecode took 0 ms
Running _start took 1 ms
Interface start took 266 ms
Initializing gl2 renderer:
primary display bounds: (0, 0, 1920, 1080)
swap interval: 1 frames
Windowed mode.
Vendor: 'ATI Technologies Inc.'
Renderer: 'AMD Radeon(TM) Graphics'
Version: '4.6.0 Compatibility Profile Context 26.1.1.251211'
Display Info: <Info({'bitsize': 32, 'bytesize': 4, 'masks': (16711680, 65280, 255, 0), 'shifts': (16, 8, 0, 0), 'losses': (0, 0, 0, 8), 'current_w': 1920, 'current_h': 1080, 'refresh_rate': 60, 'hw': False, 'wm': True, 'video_mem': 268435456, 'blit_hw': False, 'blit_hw_CC': False, 'blit_hw_A': False, 'blit_sw': False, 'blit_sw_CC': False, 'blit_sw_A': False})>
Screen sizes: virtual=(1280, 720) physical=(1280, 720) drawable=(1280, 720)
Maximum texture size: 4096x4096
Cleaning stores took 0 ms
Load screen analysis took 15 ms
Analyze screens took 0 ms
Running _start took 1 ms

70
renpy/renpy_example_02/traceback.txt

@ -0,0 +1,70 @@
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 54, in script
"Pokračuješ dál v cestě."
AttributeError: 'Layout' object has no attribute 'yesno_prompt'
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "game/script.rpy", line 54, in script
"Pokračuješ dál v cestě."
File "renpy/ast.py", line 2935, in execute
Say.execute(self)
~~~~~~~~~~~^^^^^^
File "renpy/ast.py", line 994, in execute
renpy.exports.say(who, what, *args, **kwargs)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/exports/sayexports.py", line 129, in say
who(what, *args, **kwargs)
~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 1565, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 1220, in do_display
display_say(who, what, self.do_show, **display_args)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 902, in display_say
rv = renpy.ui.interact(mouse="say", type=type, roll_forward=roll_forward)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/ui.py", line 306, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 2163, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 3096, in interact_core
self.quit_event()
~~~~~~~~~~~~~~~^^
File "renpy/display/core.py", line 1716, in quit_event
renpy.display.behavior.run(renpy.config.quit_action)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/behavior.py", line 411, in run
return action(*args, **kwargs)
~~~~~~^^^^^^^^^^^^^^^^^
File "renpy/common/00action_menu.rpy", line 271, in __call__
layout.yesno_screen(layout.QUIT, Quit(False))
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/00layout.rpy", line 517, in yesno_screen
elif renpy.invoke_in_new_context(layout.invoke_yesno_prompt, None, message):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/game.py", line 285, in invoke_in_new_context
return callable(*args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^
File "renpy/common/00layout.rpy", line 472, in invoke_yesno_prompt
rv = layout.yesno_prompt(*args)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Layout' object has no attribute 'yesno_prompt'
Windows-11-10.0.22631-SP0 AMD64
Ren'Py 8.5.3.26051504
Mon Jun 1 14:25:11 2026

BIN
renpy/renpy_example_03/game/cache/bytecode-312.rpyb

Binary file not shown.

BIN
renpy/renpy_example_03/game/cache/py3analysis.rpyb

Binary file not shown.

BIN
renpy/renpy_example_03/game/cache/screens.rpyb

Binary file not shown.

9
renpy/renpy_example_03/game/cache/shaders.txt

@ -0,0 +1,9 @@
renpy.dissolve renpy.dissolve
renpy.alpha renpy.solid
renpy.geometry renpy.texture
renpy.ftl
renpy.texture
renpy.geometry renpy.solid
renpy.alpha renpy.geometry renpy.solid
renpy.dissolve renpy.geometry
renpy.solid

BIN
renpy/renpy_example_03/game/gui.rpyc

Binary file not shown.

BIN
renpy/renpy_example_03/game/options.rpyc

Binary file not shown.

BIN
renpy/renpy_example_03/game/saves/_tracesave-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_03/game/saves/auto-1-LT1.save

Binary file not shown.

1
renpy/renpy_example_03/game/saves/navigation.json

File diff suppressed because one or more lines are too long

BIN
renpy/renpy_example_03/game/saves/persistent

Binary file not shown.

BIN
renpy/renpy_example_03/game/saves/sync/_tracesave-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_03/game/saves/sync/auto-1-LT1.save

Binary file not shown.

BIN
renpy/renpy_example_03/game/saves/sync/persistent

Binary file not shown.

BIN
renpy/renpy_example_03/game/screens.rpyc

Binary file not shown.

BIN
renpy/renpy_example_03/game/script.rpyc

Binary file not shown.

28
renpy/renpy_example_03/log.txt

@ -0,0 +1,28 @@
2026-06-10 09:33:04 UTC
Windows-11-10.0.22631-SP0
Ren'Py 8.5.3.26051504
Early init took 52 ms
Loading error handling took 22 ms
Loading script took 108 ms
Loading save slot metadata took 20 ms
Loading persistent took 0 ms
Running init code took 45 ms
Loading analysis data took 4 ms
Analyze and compile ATL took 1 ms
Reloading save slot metadata took 2 ms
Dump and make backups took 43 ms
Cleaning cache took 0 ms
Making clean stores took 1 ms
Initial gc took 42 ms
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: b"Couldn't load nvlib." (can be ignored)
Creating interface object took 3 ms
Init translation took 0 ms
Cleaning stores took 0 ms
Load screen analysis took 17 ms
Analyze screens took 1 ms
Save screen analysis took 0 ms
Save pyanalysis took 0 ms
Save bytecode took 0 ms

9
renpy/renpy_example_03/progressive_download.txt

@ -0,0 +1,9 @@
# RenPyWeb progressive download rules - first match applies
# '+' = progressive download, '-' = keep in game.zip (default)
# See https://www.renpy.org/doc/html/build.html#classifying-and-ignoring-files for matching
#
# +/- type path
- image game/gui/**
+ image game/**
+ music game/audio/**
+ voice game/voice/**

70
renpy/renpy_example_03/traceback.txt

@ -0,0 +1,70 @@
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 46, in script
p "Díky Pythonu jsme ti právě náhodně přidali [nahodne_cislo] bodů!"
AttributeError: 'Layout' object has no attribute 'yesno_prompt'
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "game/script.rpy", line 46, in script
p "Díky Pythonu jsme ti právě náhodně přidali [nahodne_cislo] bodů!"
File "renpy/ast.py", line 2935, in execute
Say.execute(self)
~~~~~~~~~~~^^^^^^
File "renpy/ast.py", line 994, in execute
renpy.exports.say(who, what, *args, **kwargs)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/exports/sayexports.py", line 129, in say
who(what, *args, **kwargs)
~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 1565, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 1220, in do_display
display_say(who, what, self.do_show, **display_args)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/character.py", line 902, in display_say
rv = renpy.ui.interact(mouse="say", type=type, roll_forward=roll_forward)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/ui.py", line 306, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 2163, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 3096, in interact_core
self.quit_event()
~~~~~~~~~~~~~~~^^
File "renpy/display/core.py", line 1716, in quit_event
renpy.display.behavior.run(renpy.config.quit_action)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/behavior.py", line 411, in run
return action(*args, **kwargs)
~~~~~~^^^^^^^^^^^^^^^^^
File "renpy/common/00action_menu.rpy", line 271, in __call__
layout.yesno_screen(layout.QUIT, Quit(False))
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/00layout.rpy", line 517, in yesno_screen
elif renpy.invoke_in_new_context(layout.invoke_yesno_prompt, None, message):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/game.py", line 285, in invoke_in_new_context
return callable(*args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^
File "renpy/common/00layout.rpy", line 472, in invoke_yesno_prompt
rv = layout.yesno_prompt(*args)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Layout' object has no attribute 'yesno_prompt'
Windows-11-10.0.22631-SP0 AMD64
Ren'Py 8.5.3.26051504
Mon Jun 1 14:26:48 2026
Loading…
Cancel
Save