Skip to main content

pygame but remade, easy window/player/tile handling

Project description

CRYSTALWINDOW!!!

A tiny but mighty Pygame framework that gives u a full window system, rendering, and GUI power — all packed into one file. No setup pain. No folder chaos. Just import, and there, instant window.

  • Quick Start pip install crystalwindow

Then in ur Python script:

from CrystalWindow import Window

create window

win = Window(800, 600, "My Cool Game")

main loop

while win.running: win.check_events() win.fill((0, 0, 50)) win.update()

That’s it. Run it, and boom — instant working window.

Features

  • Built-in window manager
  • Built-in image & icon loader (with default base64 logo)
  • File-safe startup (even inside PyInstaller)
  • Works offline — no extra libs
  • Minimal and clean syntax

It has a Default Logo

The file includes a variable named DEFAULT_LOGO_BASE64 — a lil encoded PNG used when no icon is found.

Use it like: Window(800, 600, "My Window", icon=MyIcon.png)

THERE WE GO — u can show it, set it as a window icon, or meme it if u want.

Example Integration

You can use it as part of ur project (like a game, an editor, or a tool):

from CrystalWindow import Window

win = Window(800, 600, "My Window", icon=MyIcon.png)

while win.running: win.check_events() win.fill((10, 10, 20)) win.update()

Credits

Made by: Crystal Friendo
Framework: CrystalWindow
Powered by: Pygame
License: Free to use, modify, and vibe with

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crystalwindow-1.4.9.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crystalwindow-1.4.9.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file crystalwindow-1.4.9.1.tar.gz.

File metadata

  • Download URL: crystalwindow-1.4.9.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for crystalwindow-1.4.9.1.tar.gz
Algorithm Hash digest
SHA256 5f592c11e27387b1ac0597a4b6b1adc5791c8b9885eda838e8dde1d1a6d151d2
MD5 0463a3f832ec2ffee10e452a312daa68
BLAKE2b-256 c9316ccf9d61c5291f90b778573ca16494abdfe647d7b621b687d35c683b1a77

See more details on using hashes here.

File details

Details for the file crystalwindow-1.4.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for crystalwindow-1.4.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 045efe9422a82ac45c9ecbc28b475747f5e7676828a8a993f2084eb6b25cccb3
MD5 6a219af50cfa9e72080be2628d529bd3
BLAKE2b-256 3d1dd4c135045397a4953a1bc2f4de5f0d22f4438ac22a6937748e188a297b78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page