crystalwindow 1.4.9__tar.gz → 1.8__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.
@@ -0,0 +1,192 @@
1
+ Metadata-Version: 2.4
2
+ Name: crystalwindow
3
+ Version: 1.8
4
+ Summary: Easier Pygame!, Made by Crystal!!
5
+ Author: CrystalBallyHereXD
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.1
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: pygame>=2.3.0
11
+ Dynamic: author
12
+ Dynamic: classifier
13
+ Dynamic: description
14
+ Dynamic: description-content-type
15
+ Dynamic: requires-dist
16
+ Dynamic: requires-python
17
+ Dynamic: summary
18
+
19
+ # CRYSTALWINDOW!!!
20
+
21
+ A tiny but mighty Pygame framework that gives u a full window system, GUI magic, physics, and file power — all packed into one clean lil module.
22
+
23
+ No setup pain. No folder chaos.
24
+ Just import it. Boom. Instant game window. 🎮
25
+
26
+ # Quick Start
27
+ pip install crystalwindow
28
+
29
+
30
+ then make a new .py file:
31
+
32
+ from crystalwindow import Window # imports everything from crystalwindow (in this case its Window)
33
+
34
+ win = Window(800, 600, "Crystal Demo") # setup: Window(width, height, name, icon=MyIcon.ico)
35
+ win.run() # runs the window loop
36
+ win.quit() # closes it (for RAM n CPU)
37
+
38
+
39
+ Run it. and boom, instant working window.
40
+ Yes, THAT easy.
41
+
42
+ # Whats Inside
43
+
44
+ Built-in window manager
45
+
46
+ Built-in GUI (buttons, sliders, toggles, labels)
47
+
48
+ Built-in gravity + physics engine
49
+
50
+ Tilemap system (place & save blocks!)
51
+
52
+ Image loader (with default base64 logo)
53
+
54
+ Safe startup (works even inside PyInstaller)
55
+
56
+ No external dependencies (only pygame)
57
+
58
+ Works offline
59
+
60
+ Minimal syntax
61
+
62
+ Full debug overlay
63
+
64
+ # Window System
65
+ from crystalwindow import *
66
+
67
+ win = Window(800, 600, "My Game", icon="MyIcon.png")
68
+
69
+ def loop(win):
70
+ win.fill((10, 10, 30))
71
+ # draw or update stuff here
72
+
73
+ win.run(loop)
74
+ win.quit()
75
+
76
+ # Features
77
+ * handles events
78
+ * tracks keys + mouse
79
+ * supports fullscreen
80
+ * safe to close anytime
81
+
82
+ # Player Example
83
+ player = Player(100, 100)
84
+
85
+ def loop(win):
86
+ player.update(win.keys)
87
+ player.draw(win.screen)
88
+ move(dx, dy) -> moves player
89
+ take_damage(x) -> takes damage
90
+ heal(x) -> heals
91
+ draw(surface) -> renders sprite
92
+
93
+ # TileMap
94
+ tilemap = TileMap(32)
95
+ tilemap.add_tile(5, 5, "grass")
96
+ tilemap.save("level.json")
97
+ add_tile(x, y, type)
98
+ remove_tile(x, y)
99
+ draw(surface)
100
+ save(file) / load(file)
101
+
102
+ # GUI System
103
+ btn = Button(20, 20, 120, 40, "Click Me!", lambda: print("yo"))
104
+ gui = GUIManager()
105
+ gui.add(btn)
106
+
107
+
108
+ Use built-in stuff like:
109
+
110
+ Button(x, y, w, h, text, onclick)
111
+ Label(x, y, text)
112
+ Toggle(x, y, w, h, text, default=False)
113
+ Slider(x, y, w, min, max, default)
114
+
115
+ # Gravity
116
+ g = Gravity(0.5)
117
+ g.update(player)
118
+
119
+
120
+ makes objects fall realistically. ez.
121
+
122
+ # FileHelper
123
+ save_json("data.json", {"coins": 99})
124
+ data = load_json("data.json")
125
+
126
+
127
+ Also supports:
128
+
129
+ save_pickle / load_pickle
130
+
131
+ FileDialog("save") (tkinter dialog popup)
132
+
133
+ # DrawHelper
134
+ DrawHelper.text(win.screen, "Hello!", (10,10), (255,255,255), 24)
135
+ DrawHelper.rect(win.screen, (100,0,200), (50,50,100,60))
136
+
137
+
138
+ perfect for ui & quick visuals
139
+
140
+ # Debug Tools
141
+ debug = DebugOverlay()
142
+ debug.toggle() # show or hide FPS
143
+ debug.draw(win.screen, {"hp": 100, "fps": win.clock.get_fps()})
144
+
145
+ # Example Game
146
+ from crystalwindow import *
147
+
148
+ win = Window(800, 600, "My Cool Game")
149
+ player = Player(100, 100)
150
+ gravity = Gravity()
151
+
152
+ def update(win):
153
+ win.fill((25, 25, 40))
154
+ player.update(win.keys)
155
+ gravity.update(player)
156
+ player.draw(win.screen)
157
+
158
+ win.run(update)
159
+ win.quit()
160
+
161
+ # Default Logo
162
+
163
+ There is a lil encoded PNG inside the file called:
164
+
165
+ DEFAULT_LOGO_BASE64
166
+
167
+
168
+ Its used when no icon is given.
169
+ Set ur own like:
170
+
171
+ Window(800, 600, "My Window", icon="MyIcon.png")
172
+
173
+
174
+ or do whatever you want.. i guess.
175
+
176
+ # Example Integration
177
+ from crystalwindow import Window
178
+
179
+ win = Window(800, 600, "My Window", icon="MyIcon.png")
180
+
181
+ while win.running:
182
+ win.check_events()
183
+ win.fill((10, 10, 20))
184
+ win.run()
185
+ win.quit()
186
+
187
+ # Credits
188
+
189
+ Made by: CrystalBallyHereXD
190
+ Framework: CrystalWindow
191
+ Powered by: Pygame
192
+ License: Free to use, modify, and vibe with it!
@@ -0,0 +1,174 @@
1
+ # CRYSTALWINDOW!!!
2
+
3
+ A tiny but mighty Pygame framework that gives u a full window system, GUI magic, physics, and file power — all packed into one clean lil module.
4
+
5
+ No setup pain. No folder chaos.
6
+ Just import it. Boom. Instant game window. 🎮
7
+
8
+ # Quick Start
9
+ pip install crystalwindow
10
+
11
+
12
+ then make a new .py file:
13
+
14
+ from crystalwindow import Window # imports everything from crystalwindow (in this case its Window)
15
+
16
+ win = Window(800, 600, "Crystal Demo") # setup: Window(width, height, name, icon=MyIcon.ico)
17
+ win.run() # runs the window loop
18
+ win.quit() # closes it (for RAM n CPU)
19
+
20
+
21
+ Run it. and boom, instant working window.
22
+ Yes, THAT easy.
23
+
24
+ # Whats Inside
25
+
26
+ Built-in window manager
27
+
28
+ Built-in GUI (buttons, sliders, toggles, labels)
29
+
30
+ Built-in gravity + physics engine
31
+
32
+ Tilemap system (place & save blocks!)
33
+
34
+ Image loader (with default base64 logo)
35
+
36
+ Safe startup (works even inside PyInstaller)
37
+
38
+ No external dependencies (only pygame)
39
+
40
+ Works offline
41
+
42
+ Minimal syntax
43
+
44
+ Full debug overlay
45
+
46
+ # Window System
47
+ from crystalwindow import *
48
+
49
+ win = Window(800, 600, "My Game", icon="MyIcon.png")
50
+
51
+ def loop(win):
52
+ win.fill((10, 10, 30))
53
+ # draw or update stuff here
54
+
55
+ win.run(loop)
56
+ win.quit()
57
+
58
+ # Features
59
+ * handles events
60
+ * tracks keys + mouse
61
+ * supports fullscreen
62
+ * safe to close anytime
63
+
64
+ # Player Example
65
+ player = Player(100, 100)
66
+
67
+ def loop(win):
68
+ player.update(win.keys)
69
+ player.draw(win.screen)
70
+ move(dx, dy) -> moves player
71
+ take_damage(x) -> takes damage
72
+ heal(x) -> heals
73
+ draw(surface) -> renders sprite
74
+
75
+ # TileMap
76
+ tilemap = TileMap(32)
77
+ tilemap.add_tile(5, 5, "grass")
78
+ tilemap.save("level.json")
79
+ add_tile(x, y, type)
80
+ remove_tile(x, y)
81
+ draw(surface)
82
+ save(file) / load(file)
83
+
84
+ # GUI System
85
+ btn = Button(20, 20, 120, 40, "Click Me!", lambda: print("yo"))
86
+ gui = GUIManager()
87
+ gui.add(btn)
88
+
89
+
90
+ Use built-in stuff like:
91
+
92
+ Button(x, y, w, h, text, onclick)
93
+ Label(x, y, text)
94
+ Toggle(x, y, w, h, text, default=False)
95
+ Slider(x, y, w, min, max, default)
96
+
97
+ # Gravity
98
+ g = Gravity(0.5)
99
+ g.update(player)
100
+
101
+
102
+ makes objects fall realistically. ez.
103
+
104
+ # FileHelper
105
+ save_json("data.json", {"coins": 99})
106
+ data = load_json("data.json")
107
+
108
+
109
+ Also supports:
110
+
111
+ save_pickle / load_pickle
112
+
113
+ FileDialog("save") (tkinter dialog popup)
114
+
115
+ # DrawHelper
116
+ DrawHelper.text(win.screen, "Hello!", (10,10), (255,255,255), 24)
117
+ DrawHelper.rect(win.screen, (100,0,200), (50,50,100,60))
118
+
119
+
120
+ perfect for ui & quick visuals
121
+
122
+ # Debug Tools
123
+ debug = DebugOverlay()
124
+ debug.toggle() # show or hide FPS
125
+ debug.draw(win.screen, {"hp": 100, "fps": win.clock.get_fps()})
126
+
127
+ # Example Game
128
+ from crystalwindow import *
129
+
130
+ win = Window(800, 600, "My Cool Game")
131
+ player = Player(100, 100)
132
+ gravity = Gravity()
133
+
134
+ def update(win):
135
+ win.fill((25, 25, 40))
136
+ player.update(win.keys)
137
+ gravity.update(player)
138
+ player.draw(win.screen)
139
+
140
+ win.run(update)
141
+ win.quit()
142
+
143
+ # Default Logo
144
+
145
+ There is a lil encoded PNG inside the file called:
146
+
147
+ DEFAULT_LOGO_BASE64
148
+
149
+
150
+ Its used when no icon is given.
151
+ Set ur own like:
152
+
153
+ Window(800, 600, "My Window", icon="MyIcon.png")
154
+
155
+
156
+ or do whatever you want.. i guess.
157
+
158
+ # Example Integration
159
+ from crystalwindow import Window
160
+
161
+ win = Window(800, 600, "My Window", icon="MyIcon.png")
162
+
163
+ while win.running:
164
+ win.check_events()
165
+ win.fill((10, 10, 20))
166
+ win.run()
167
+ win.quit()
168
+
169
+ # Credits
170
+
171
+ Made by: CrystalBallyHereXD
172
+ Framework: CrystalWindow
173
+ Powered by: Pygame
174
+ License: Free to use, modify, and vibe with it!
@@ -0,0 +1,192 @@
1
+ Metadata-Version: 2.4
2
+ Name: crystalwindow
3
+ Version: 1.8
4
+ Summary: Easier Pygame!, Made by Crystal!!
5
+ Author: CrystalBallyHereXD
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.1
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: pygame>=2.3.0
11
+ Dynamic: author
12
+ Dynamic: classifier
13
+ Dynamic: description
14
+ Dynamic: description-content-type
15
+ Dynamic: requires-dist
16
+ Dynamic: requires-python
17
+ Dynamic: summary
18
+
19
+ # CRYSTALWINDOW!!!
20
+
21
+ A tiny but mighty Pygame framework that gives u a full window system, GUI magic, physics, and file power — all packed into one clean lil module.
22
+
23
+ No setup pain. No folder chaos.
24
+ Just import it. Boom. Instant game window. 🎮
25
+
26
+ # Quick Start
27
+ pip install crystalwindow
28
+
29
+
30
+ then make a new .py file:
31
+
32
+ from crystalwindow import Window # imports everything from crystalwindow (in this case its Window)
33
+
34
+ win = Window(800, 600, "Crystal Demo") # setup: Window(width, height, name, icon=MyIcon.ico)
35
+ win.run() # runs the window loop
36
+ win.quit() # closes it (for RAM n CPU)
37
+
38
+
39
+ Run it. and boom, instant working window.
40
+ Yes, THAT easy.
41
+
42
+ # Whats Inside
43
+
44
+ Built-in window manager
45
+
46
+ Built-in GUI (buttons, sliders, toggles, labels)
47
+
48
+ Built-in gravity + physics engine
49
+
50
+ Tilemap system (place & save blocks!)
51
+
52
+ Image loader (with default base64 logo)
53
+
54
+ Safe startup (works even inside PyInstaller)
55
+
56
+ No external dependencies (only pygame)
57
+
58
+ Works offline
59
+
60
+ Minimal syntax
61
+
62
+ Full debug overlay
63
+
64
+ # Window System
65
+ from crystalwindow import *
66
+
67
+ win = Window(800, 600, "My Game", icon="MyIcon.png")
68
+
69
+ def loop(win):
70
+ win.fill((10, 10, 30))
71
+ # draw or update stuff here
72
+
73
+ win.run(loop)
74
+ win.quit()
75
+
76
+ # Features
77
+ * handles events
78
+ * tracks keys + mouse
79
+ * supports fullscreen
80
+ * safe to close anytime
81
+
82
+ # Player Example
83
+ player = Player(100, 100)
84
+
85
+ def loop(win):
86
+ player.update(win.keys)
87
+ player.draw(win.screen)
88
+ move(dx, dy) -> moves player
89
+ take_damage(x) -> takes damage
90
+ heal(x) -> heals
91
+ draw(surface) -> renders sprite
92
+
93
+ # TileMap
94
+ tilemap = TileMap(32)
95
+ tilemap.add_tile(5, 5, "grass")
96
+ tilemap.save("level.json")
97
+ add_tile(x, y, type)
98
+ remove_tile(x, y)
99
+ draw(surface)
100
+ save(file) / load(file)
101
+
102
+ # GUI System
103
+ btn = Button(20, 20, 120, 40, "Click Me!", lambda: print("yo"))
104
+ gui = GUIManager()
105
+ gui.add(btn)
106
+
107
+
108
+ Use built-in stuff like:
109
+
110
+ Button(x, y, w, h, text, onclick)
111
+ Label(x, y, text)
112
+ Toggle(x, y, w, h, text, default=False)
113
+ Slider(x, y, w, min, max, default)
114
+
115
+ # Gravity
116
+ g = Gravity(0.5)
117
+ g.update(player)
118
+
119
+
120
+ makes objects fall realistically. ez.
121
+
122
+ # FileHelper
123
+ save_json("data.json", {"coins": 99})
124
+ data = load_json("data.json")
125
+
126
+
127
+ Also supports:
128
+
129
+ save_pickle / load_pickle
130
+
131
+ FileDialog("save") (tkinter dialog popup)
132
+
133
+ # DrawHelper
134
+ DrawHelper.text(win.screen, "Hello!", (10,10), (255,255,255), 24)
135
+ DrawHelper.rect(win.screen, (100,0,200), (50,50,100,60))
136
+
137
+
138
+ perfect for ui & quick visuals
139
+
140
+ # Debug Tools
141
+ debug = DebugOverlay()
142
+ debug.toggle() # show or hide FPS
143
+ debug.draw(win.screen, {"hp": 100, "fps": win.clock.get_fps()})
144
+
145
+ # Example Game
146
+ from crystalwindow import *
147
+
148
+ win = Window(800, 600, "My Cool Game")
149
+ player = Player(100, 100)
150
+ gravity = Gravity()
151
+
152
+ def update(win):
153
+ win.fill((25, 25, 40))
154
+ player.update(win.keys)
155
+ gravity.update(player)
156
+ player.draw(win.screen)
157
+
158
+ win.run(update)
159
+ win.quit()
160
+
161
+ # Default Logo
162
+
163
+ There is a lil encoded PNG inside the file called:
164
+
165
+ DEFAULT_LOGO_BASE64
166
+
167
+
168
+ Its used when no icon is given.
169
+ Set ur own like:
170
+
171
+ Window(800, 600, "My Window", icon="MyIcon.png")
172
+
173
+
174
+ or do whatever you want.. i guess.
175
+
176
+ # Example Integration
177
+ from crystalwindow import Window
178
+
179
+ win = Window(800, 600, "My Window", icon="MyIcon.png")
180
+
181
+ while win.running:
182
+ win.check_events()
183
+ win.fill((10, 10, 20))
184
+ win.run()
185
+ win.quit()
186
+
187
+ # Credits
188
+
189
+ Made by: CrystalBallyHereXD
190
+ Framework: CrystalWindow
191
+ Powered by: Pygame
192
+ License: Free to use, modify, and vibe with it!
@@ -2,15 +2,15 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="crystalwindow", # this is the name ppl will pip install
5
- version="1.4.9", # update when u change stuff
5
+ version="1.8", # update when u change stuff
6
6
  packages=find_packages(include=["CrystalWindow", "CrystalWindow.*"]),
7
7
  include_package_data=True,
8
8
  install_requires=["pygame>=2.3.0"], # cuz ur lib uses pygame
9
9
  author="CrystalBallyHereXD",
10
- description="pygame but remade, easy window/player/tile handling",
10
+ description="Easier Pygame!, Made by Crystal!!",
11
11
  long_description=open("README.md").read(),
12
12
  long_description_content_type="text/markdown",
13
- python_requires='>=3.8',
13
+ python_requires='>=3.1',
14
14
  classifiers=[
15
15
  "Programming Language :: Python :: 3",
16
16
  "Operating System :: OS Independent",
@@ -1,77 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: crystalwindow
3
- Version: 1.4.9
4
- Summary: pygame but remade, easy window/player/tile handling
5
- Author: CrystalBallyHereXD
6
- Classifier: Programming Language :: Python :: 3
7
- Classifier: Operating System :: OS Independent
8
- Requires-Python: >=3.8
9
- Description-Content-Type: text/markdown
10
- Requires-Dist: pygame>=2.3.0
11
- Dynamic: author
12
- Dynamic: classifier
13
- Dynamic: description
14
- Dynamic: description-content-type
15
- Dynamic: requires-dist
16
- Dynamic: requires-python
17
- Dynamic: summary
18
-
19
- 🧊 CrystalWindow (Single-File Edition)
20
-
21
- A tiny but mighty Pygame framework that gives u a full window system, rendering, and GUI power — all packed into one file.
22
- No setup pain. No folder chaos. Just import, and boom 💥, instant window.
23
-
24
- 🚀 Quick Start
25
- pip install crystalwindow
26
-
27
- Then in ur Python script:
28
-
29
- from CrystalWindow import Window
30
-
31
- # create window
32
- win = Window(800, 600, "My Cool Game")
33
-
34
- # main loop
35
- while win.running:
36
- win.check_events()
37
- win.fill((0, 0, 50))
38
- win.update()
39
-
40
-
41
- 🌀 That’s it. Run it, and boom — instant working window.
42
-
43
- 🧩 Features
44
-
45
- ✅ Built-in window manager
46
- ✅ Built-in image & icon loader (with default base64 logo)
47
- ✅ File-safe startup (even inside PyInstaller)
48
- ✅ Works offline — no extra libs
49
- ✅ Minimal and clean syntax
50
-
51
- 💾 Default Logo
52
-
53
- The file includes a variable named DEFAULT_LOGO_BASE64 — a lil encoded PNG used when no icon is found.
54
-
55
- Use it like: Window(800, 600, "My Window", icon=MyIcon.png)
56
-
57
- Boom 💥 — u can show it, set it as a window icon, or meme it if u want.
58
-
59
- 🧠 Example Integration
60
-
61
- You can use it as part of ur project (like a game, an editor, or a tool):
62
-
63
- from CrystalWindow import Window
64
-
65
- win = Window(800, 600, "My Window", icon=MyIcon.png)
66
-
67
- while win.running:
68
- win.check_events()
69
- win.fill((10, 10, 20))
70
- win.update()
71
-
72
- 🧊 Credits
73
-
74
- 💻 Made by: Crystal Friendo
75
- 🌀 Framework: CrystalWindow
76
- 🎨 Powered by: Pygame
77
- ✨ License: Free to use, modify, and vibe with
@@ -1,59 +0,0 @@
1
- 🧊 CrystalWindow (Single-File Edition)
2
-
3
- A tiny but mighty Pygame framework that gives u a full window system, rendering, and GUI power — all packed into one file.
4
- No setup pain. No folder chaos. Just import, and boom 💥, instant window.
5
-
6
- 🚀 Quick Start
7
- pip install crystalwindow
8
-
9
- Then in ur Python script:
10
-
11
- from CrystalWindow import Window
12
-
13
- # create window
14
- win = Window(800, 600, "My Cool Game")
15
-
16
- # main loop
17
- while win.running:
18
- win.check_events()
19
- win.fill((0, 0, 50))
20
- win.update()
21
-
22
-
23
- 🌀 That’s it. Run it, and boom — instant working window.
24
-
25
- 🧩 Features
26
-
27
- ✅ Built-in window manager
28
- ✅ Built-in image & icon loader (with default base64 logo)
29
- ✅ File-safe startup (even inside PyInstaller)
30
- ✅ Works offline — no extra libs
31
- ✅ Minimal and clean syntax
32
-
33
- 💾 Default Logo
34
-
35
- The file includes a variable named DEFAULT_LOGO_BASE64 — a lil encoded PNG used when no icon is found.
36
-
37
- Use it like: Window(800, 600, "My Window", icon=MyIcon.png)
38
-
39
- Boom 💥 — u can show it, set it as a window icon, or meme it if u want.
40
-
41
- 🧠 Example Integration
42
-
43
- You can use it as part of ur project (like a game, an editor, or a tool):
44
-
45
- from CrystalWindow import Window
46
-
47
- win = Window(800, 600, "My Window", icon=MyIcon.png)
48
-
49
- while win.running:
50
- win.check_events()
51
- win.fill((10, 10, 20))
52
- win.update()
53
-
54
- 🧊 Credits
55
-
56
- 💻 Made by: Crystal Friendo
57
- 🌀 Framework: CrystalWindow
58
- 🎨 Powered by: Pygame
59
- ✨ License: Free to use, modify, and vibe with
@@ -1,77 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: crystalwindow
3
- Version: 1.4.9
4
- Summary: pygame but remade, easy window/player/tile handling
5
- Author: CrystalBallyHereXD
6
- Classifier: Programming Language :: Python :: 3
7
- Classifier: Operating System :: OS Independent
8
- Requires-Python: >=3.8
9
- Description-Content-Type: text/markdown
10
- Requires-Dist: pygame>=2.3.0
11
- Dynamic: author
12
- Dynamic: classifier
13
- Dynamic: description
14
- Dynamic: description-content-type
15
- Dynamic: requires-dist
16
- Dynamic: requires-python
17
- Dynamic: summary
18
-
19
- 🧊 CrystalWindow (Single-File Edition)
20
-
21
- A tiny but mighty Pygame framework that gives u a full window system, rendering, and GUI power — all packed into one file.
22
- No setup pain. No folder chaos. Just import, and boom 💥, instant window.
23
-
24
- 🚀 Quick Start
25
- pip install crystalwindow
26
-
27
- Then in ur Python script:
28
-
29
- from CrystalWindow import Window
30
-
31
- # create window
32
- win = Window(800, 600, "My Cool Game")
33
-
34
- # main loop
35
- while win.running:
36
- win.check_events()
37
- win.fill((0, 0, 50))
38
- win.update()
39
-
40
-
41
- 🌀 That’s it. Run it, and boom — instant working window.
42
-
43
- 🧩 Features
44
-
45
- ✅ Built-in window manager
46
- ✅ Built-in image & icon loader (with default base64 logo)
47
- ✅ File-safe startup (even inside PyInstaller)
48
- ✅ Works offline — no extra libs
49
- ✅ Minimal and clean syntax
50
-
51
- 💾 Default Logo
52
-
53
- The file includes a variable named DEFAULT_LOGO_BASE64 — a lil encoded PNG used when no icon is found.
54
-
55
- Use it like: Window(800, 600, "My Window", icon=MyIcon.png)
56
-
57
- Boom 💥 — u can show it, set it as a window icon, or meme it if u want.
58
-
59
- 🧠 Example Integration
60
-
61
- You can use it as part of ur project (like a game, an editor, or a tool):
62
-
63
- from CrystalWindow import Window
64
-
65
- win = Window(800, 600, "My Window", icon=MyIcon.png)
66
-
67
- while win.running:
68
- win.check_events()
69
- win.fill((10, 10, 20))
70
- win.update()
71
-
72
- 🧊 Credits
73
-
74
- 💻 Made by: Crystal Friendo
75
- 🌀 Framework: CrystalWindow
76
- 🎨 Powered by: Pygame
77
- ✨ License: Free to use, modify, and vibe with
File without changes
File without changes