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

How do you make your Own Game with Crystal-Window???

open a new .py file and then do this:

from crystalwindow import Window  # <- imports everything from crystalwindow (in this case its Window)

win = Window(800, 600, "Crystal Demo") # <- Window settup.: Window(width, height, name, icon=MyIcon.ico)
win.run() # <- Runs the game
win.quit # <- Closes the game (for RAM nd CPU)

Thats it. Run it, and boom instant working window.

Features

  • Built-in window manager
  • Built-in image n 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.run()
    win.quit

Credits

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

Project details


Release history Release notifications | RSS feed

This version

1.5.5

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.5.5.tar.gz (10.5 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.5.5-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for crystalwindow-1.5.5.tar.gz
Algorithm Hash digest
SHA256 42d28950891189385bda3ded9b45ea7f6397528d459fe122138a1146c2eb6d73
MD5 005007107a9b3b53a76300c718150804
BLAKE2b-256 0d25d77844a16a8f9e58024f83fc17a9f754f6dde1db1b82d3ace8cd19ee0ca1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crystalwindow-1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for crystalwindow-1.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 84fea45f6e6ac81c4fe7506427a135ee9ba5f74ddbc89ee147d8006be653416a
MD5 7c25f0e5a4b0e6b9081f640a3540e330
BLAKE2b-256 20ae15a542845cfa030253b1a340491c46e35104f2f79b007b7451de654b40ef

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