WinColl 1.2.9__tar.gz → 1.2.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wincoll-1.2.9/WinColl.egg-info → wincoll-1.2.10}/PKG-INFO +1 -1
- {wincoll-1.2.9 → wincoll-1.2.10/WinColl.egg-info}/PKG-INFO +1 -1
- {wincoll-1.2.9 → wincoll-1.2.10}/po/wincoll.pot +4 -4
- {wincoll-1.2.9 → wincoll-1.2.10}/pyproject.toml +1 -1
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/wincoll_game.py +14 -36
- {wincoll-1.2.9 → wincoll-1.2.10}/COPYING +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/MANIFEST.in +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/README.md +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/WinColl.egg-info/SOURCES.txt +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/WinColl.egg-info/dependency_links.txt +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/WinColl.egg-info/entry_points.txt +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/WinColl.egg-info/requires.txt +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/WinColl.egg-info/top_level.txt +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/de.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/el.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/es.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/fr.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/ka.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/nb.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/pt_BR.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/ro.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/sk.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/sr.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/sv.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/po/uk.po +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/setup.cfg +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/__init__.py +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/__main__.py +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/01 A gentle introduction.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/02 Hi! from Pav.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/03 On a Coconut Island.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/04 Not a rip-off.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/05 Long way round.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/06 Which key.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/07 Fuzzy.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/08 Spiral Galaxy.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/09 Escape from Pompeii.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/10 Riddle me this.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/11 Doctor Jones, I presume.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/12 Stairway to Hell.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/13 Round and round.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/14 Alchemy.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/15 Race to the top.tmx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Blob.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Brick.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Collect.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Diamond.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Die.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Die.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Earth.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/EndGame.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/EndLevel.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Gap.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Hero.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Key.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Rock.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Safe.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Slide.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/Unlock.wav +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/WinColl.tsx +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/app-icon.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/levels/title.png +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/de/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/el/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/es/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/fr/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/ka/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/nb/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/pt_BR/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/ro/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/sk/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/sr/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/sv/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.9 → wincoll-1.2.10}/wincoll/locale/uk/LC_MESSAGES/wincoll.mo +0 -0
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: PACKAGE 1.2.
|
|
9
|
+
"Project-Id-Version: PACKAGE 1.2.10\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2026-07-
|
|
11
|
+
"POT-Creation-Date: 2026-07-14 15:33+0100\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -17,14 +17,14 @@ msgstr ""
|
|
|
17
17
|
"Content-Type: text/plain; charset=CHARSET\n"
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
|
19
19
|
|
|
20
|
-
#: wincoll/wincoll_game.py:
|
|
20
|
+
#: wincoll/wincoll_game.py:67
|
|
21
21
|
msgid "Collect all the diamonds while digging through earth dodging rocks."
|
|
22
22
|
msgstr ""
|
|
23
23
|
|
|
24
24
|
#. TRANSLATORS: Please keep this text wrapped to 40 characters. The font
|
|
25
25
|
#. used in-game is lacking many glyphs, so please test it with your
|
|
26
26
|
#. language and let me know if I need to add glyphs.
|
|
27
|
-
#: wincoll/wincoll_game.py:
|
|
27
|
+
#: wincoll/wincoll_game.py:75
|
|
28
28
|
msgid ""
|
|
29
29
|
"Collect all the diamonds on each level.\n"
|
|
30
30
|
"Get a key to turn safes into diamonds.\n"
|
|
@@ -50,20 +50,17 @@ class WincollGame(Game[Tile]):
|
|
|
50
50
|
self.diamonds: int
|
|
51
51
|
self.die_image: pygame.Surface
|
|
52
52
|
self.die_sound: pygame.mixer.Sound
|
|
53
|
+
self.game_window_max = (15, 15)
|
|
54
|
+
self.screen_extra_x_chars = 4
|
|
55
|
+
self.default_background_colour = Color(0, 0, 255)
|
|
53
56
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
self.
|
|
59
|
-
self.
|
|
60
|
-
|
|
61
|
-
self.window_size[0] * self.window_scale,
|
|
62
|
-
self.screen_size[0] - self.left_margin,
|
|
63
|
-
)
|
|
64
|
-
// self.window_scale,
|
|
65
|
-
self.window_size[1],
|
|
66
|
-
)
|
|
57
|
+
self.diamond_image: pygame.Surface
|
|
58
|
+
|
|
59
|
+
self.collect_sound: pygame.mixer.Sound
|
|
60
|
+
self.rock_sound: pygame.mixer.Sound
|
|
61
|
+
self.unlock_sound: pygame.mixer.Sound
|
|
62
|
+
self.end_level_sound: pygame.mixer.Sound
|
|
63
|
+
self.end_game_sound: pygame.mixer.Sound
|
|
67
64
|
|
|
68
65
|
@staticmethod
|
|
69
66
|
def description() -> str:
|
|
@@ -82,19 +79,6 @@ Avoid falling rocks!
|
|
|
82
79
|
""")
|
|
83
80
|
# fmt: on
|
|
84
81
|
|
|
85
|
-
screen_size = (640, 512)
|
|
86
|
-
window_size = (240, 240)
|
|
87
|
-
default_background_colour = Color(0, 0, 255)
|
|
88
|
-
window_scale = 2
|
|
89
|
-
|
|
90
|
-
diamond_image: pygame.Surface
|
|
91
|
-
|
|
92
|
-
collect_sound: pygame.mixer.Sound
|
|
93
|
-
rock_sound: pygame.mixer.Sound
|
|
94
|
-
unlock_sound: pygame.mixer.Sound
|
|
95
|
-
end_level_sound: pygame.mixer.Sound
|
|
96
|
-
end_game_sound: pygame.mixer.Sound
|
|
97
|
-
|
|
98
82
|
# Utility methods.
|
|
99
83
|
def reset_falling(self) -> None:
|
|
100
84
|
self.falling = False
|
|
@@ -118,15 +102,6 @@ Avoid falling rocks!
|
|
|
118
102
|
self.end_game_sound = pygame.mixer.Sound(str(self.find_asset("EndGame.wav")))
|
|
119
103
|
self.end_game_sound.set_volume(self.default_volume)
|
|
120
104
|
|
|
121
|
-
def restart_level(self) -> None:
|
|
122
|
-
super().restart_level()
|
|
123
|
-
self.window_pos = (
|
|
124
|
-
(self.surface.get_width() - self.left_margin - self.window_scaled_width)
|
|
125
|
-
// 2
|
|
126
|
-
+ self.left_margin,
|
|
127
|
-
self.window_pos[1],
|
|
128
|
-
)
|
|
129
|
-
|
|
130
105
|
def init_game(self) -> None:
|
|
131
106
|
super().init_game()
|
|
132
107
|
self.diamonds = 0
|
|
@@ -229,8 +204,11 @@ Avoid falling rocks!
|
|
|
229
204
|
|
|
230
205
|
def show_status(self) -> None:
|
|
231
206
|
super().show_status()
|
|
207
|
+
score_diamond = pygame.transform.scale(
|
|
208
|
+
self.diamond_image, (self.font_pixels, self.font_pixels)
|
|
209
|
+
)
|
|
232
210
|
self.surface.blit(
|
|
233
|
-
|
|
211
|
+
score_diamond,
|
|
234
212
|
(
|
|
235
213
|
(self.window_pos[0] - self.font_pixels) // 2,
|
|
236
214
|
int(1.5 * self.font_pixels),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|