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 & 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.0

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crystalwindow-1.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e6202e51d0a948225ce687224bfafa153d6a0147c92596cbb2ec645a07d0858b
MD5 86b746a8c555bec95c738aa4bbd1bc21
BLAKE2b-256 9a5a71af213407c911c7a19e0cc274b11b5b8ea83d05f409cddf4012bf9fa0e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crystalwindow-1.5.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1667784768cec51a18c3617a9a7b8dea4c1177333cd26dde6551cf1a59e5f319
MD5 0bb0dedf46a2c678aab0d3f29c9bda31
BLAKE2b-256 67ff29bbfd36f292fe6e317289dcfbe68a6fbd8bca605013d415b6dc98e21975

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