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.1

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crystalwindow-1.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0db2d8616dd97ea288964801dbeb15cb736b89084ff76d49cd599759395d2f20
MD5 603975956c9011a849afeafd10faa77c
BLAKE2b-256 113f6af57004ae6acf233443003a7d331cf82a8ef67e50f853887364de18549c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crystalwindow-1.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a05c7766b8cd41ca2dfe8d0739fc3c62705ea424f492c3944236e91fc5841886
MD5 d0adf629ab9b3ce44a0cd63d48733eab
BLAKE2b-256 b5aadbd59f7e1db1628595ea7934ccb7fa34c87090d928d3e5a58ab7a98dd091

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