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)) # <- This makes it so you can fill the screen color
    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.8

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.8.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.8-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crystalwindow-1.5.8.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.8.tar.gz
Algorithm Hash digest
SHA256 bff46da2bdba663421b096e86b62c911384c1ed843bb8d59af2458808e6dfd47
MD5 2c5a82934f69ef3b7e521995401e83fc
BLAKE2b-256 4a1560f381cffe1cab32d019521f8e47f9de2719027ebc783877bd240d8b9a97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crystalwindow-1.5.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 058063d493e1aa513aa8b37af03e75959846523e7e76340029b7c63022e4f1b8
MD5 c85e97401b25070d6a6d6fd82a15950d
BLAKE2b-256 86229d832e4ece5d7b973242b78b6393ba59b7f6d2cad3f194abf4b6f38daa62

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