WinColl 1.2.5__tar.gz → 1.2.6__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.5/WinColl.egg-info → wincoll-1.2.6}/PKG-INFO +2 -2
- {wincoll-1.2.5 → wincoll-1.2.6/WinColl.egg-info}/PKG-INFO +2 -2
- wincoll-1.2.6/WinColl.egg-info/requires.txt +1 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/wincoll.pot +4 -4
- {wincoll-1.2.5 → wincoll-1.2.6}/pyproject.toml +2 -2
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/wincoll_game.py +17 -0
- wincoll-1.2.5/WinColl.egg-info/requires.txt +0 -1
- {wincoll-1.2.5 → wincoll-1.2.6}/COPYING +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/MANIFEST.in +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/README.md +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/.bak.0.PKG-INFO +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/.bak.0.requires.txt +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/SOURCES.txt +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/dependency_links.txt +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/entry_points.txt +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/WinColl.egg-info/top_level.txt +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/.bak.0.wincoll.pot +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/de.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/el.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/es.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/fr.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/ka.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/nb.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/pt_BR.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/ro.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/sk.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/sr.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/sv.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/po/uk.po +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/setup.cfg +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/__init__.py +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/__main__.py +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/01 A gentle introduction.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/02 Hi! from Pav.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/03 On a Coconut Island.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/04 Not a rip-off.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/05 Long way round.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/06 Which key.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/07 Fuzzy.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/08 Spiral Galaxy.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/09 Escape from Pompeii.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/10 Riddle me this.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/11 Doctor Jones, I presume.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/12 Stairway to Hell.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/13 Round and round.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/14 Alchemy.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/15 Race to the top.tmx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Blob.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Brick.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Collect.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Diamond.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Die.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Die.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Earth.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/EndGame.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/EndLevel.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Gap.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Hero.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Key.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Rock.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Safe.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Slide.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/Unlock.wav +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/WinColl.tsx +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/app-icon.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/levels/title.png +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/de/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/el/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/es/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/fr/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/ka/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/nb/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/pt_BR/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/ro/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/sk/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/sr/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/sv/LC_MESSAGES/wincoll.mo +0 -0
- {wincoll-1.2.5 → wincoll-1.2.6}/wincoll/locale/uk/LC_MESSAGES/wincoll.mo +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: WinColl
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Simple rocks-and-diamonds game
|
|
5
5
|
Author-email: Reuben Thomas <rrt@sc3d.org>
|
|
6
6
|
License: GPL v3 or later
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: COPYING
|
|
16
|
-
Requires-Dist: chambercourt>=0.9.
|
|
16
|
+
Requires-Dist: chambercourt>=0.9.34
|
|
17
17
|
Dynamic: license-file
|
|
18
18
|
|
|
19
19
|
# WinColl
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: WinColl
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Simple rocks-and-diamonds game
|
|
5
5
|
Author-email: Reuben Thomas <rrt@sc3d.org>
|
|
6
6
|
License: GPL v3 or later
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: COPYING
|
|
16
|
-
Requires-Dist: chambercourt>=0.9.
|
|
16
|
+
Requires-Dist: chambercourt>=0.9.34
|
|
17
17
|
Dynamic: license-file
|
|
18
18
|
|
|
19
19
|
# WinColl
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
chambercourt>=0.9.34
|
|
@@ -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.6\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2026-06-
|
|
11
|
+
"POT-Creation-Date: 2026-06-25 22:24+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:65
|
|
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:73
|
|
28
28
|
msgid ""
|
|
29
29
|
"Collect all the diamonds on each level.\n"
|
|
30
30
|
"Get a key to turn safes into diamonds.\n"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "WinColl"
|
|
3
|
-
version = "1.2.
|
|
3
|
+
version = "1.2.6"
|
|
4
4
|
description = "Simple rocks-and-diamonds game"
|
|
5
5
|
license = {text = "GPL v3 or later"}
|
|
6
6
|
authors = [{name = "Reuben Thomas", email = "rrt@sc3d.org"}]
|
|
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
|
8
8
|
urls = {Homepage = "https://github.com/rrthomas/wincoll"}
|
|
9
9
|
requires-python = ">= 3.12"
|
|
10
10
|
dependencies = [
|
|
11
|
-
"chambercourt >= 0.9.
|
|
11
|
+
"chambercourt >= 0.9.34",
|
|
12
12
|
]
|
|
13
13
|
classifiers = [
|
|
14
14
|
"Environment :: X11 Applications",
|
|
@@ -50,6 +50,16 @@ class WincollGame(Game[Tile]):
|
|
|
50
50
|
self.die_image: pygame.Surface
|
|
51
51
|
self.die_sound: pygame.mixer.Sound
|
|
52
52
|
|
|
53
|
+
def init_screen(self) -> None:
|
|
54
|
+
super().init_screen()
|
|
55
|
+
# Window can be as wide as the screen, but must leave room for the
|
|
56
|
+
# level title.
|
|
57
|
+
self.left_margin = 4 * self.font_pixels
|
|
58
|
+
self.window_size = (
|
|
59
|
+
min(self.window_size[0] * self.window_scale, self.screen_size[0] - self.left_margin) // self.window_scale,
|
|
60
|
+
self.window_size[1],
|
|
61
|
+
)
|
|
62
|
+
|
|
53
63
|
@staticmethod
|
|
54
64
|
def description() -> str:
|
|
55
65
|
return _("Collect all the diamonds while digging through earth dodging rocks.")
|
|
@@ -103,6 +113,13 @@ Avoid falling rocks!
|
|
|
103
113
|
self.end_game_sound = pygame.mixer.Sound(str(self.find_asset("EndGame.wav")))
|
|
104
114
|
self.end_game_sound.set_volume(self.default_volume)
|
|
105
115
|
|
|
116
|
+
def restart_level(self) -> None:
|
|
117
|
+
super().restart_level()
|
|
118
|
+
self.window_pos = (
|
|
119
|
+
(self.surface.get_width() - self.left_margin - self.window_scaled_width) // 2 + self.left_margin,
|
|
120
|
+
self.window_pos[1],
|
|
121
|
+
)
|
|
122
|
+
|
|
106
123
|
def init_game(self) -> None:
|
|
107
124
|
super().init_game()
|
|
108
125
|
self.diamonds = 0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
chambercourt>=0.9.33
|
|
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
|
|
File without changes
|
|
File without changes
|