Skip to main content

No project description provided

Project description

VertexEngine/Vertex

VertexEngine is a GUI and Game Engine for python applications, it works best if you use py installer

How to install Pyinstaller

Step 1. Type in: pip install pyinstaller

Step 2. Wait a few min, don't worry if it takes 1 hr or more, it will finish

Step 3. How to use pyinstaller type: python -m PyInstaller --onefile *.py

There are flags: --noconsole > disables the console when you run the app --onefile > compress all of the code into one file --icon > the *.ico file after you type it will be set as the app icon.

How to install VertexEngine/Vertex:

Step 1: Type in pip install VertexEngine

Step 2: Wait a few min, don't worry if it takes 1 hr or more, it will finish

Step 3: Where to start? Read the documentations. Also copy the following template:

from VertexEngine.engine import GameEngine from VertexEngine import VertexScreen from VertexEngine.audio import AudioManager from VertexEngine.scenes import Scene import pygame import sys from PyQt6.QtGui import QIcon from PyQt6.QtWidgets import QApplication

class Main(Scene): def init(self, engine): super().init(engine) self.width = engine.width self.height = engine.height

def update(self):
    pass

def draw(self, surface):
    VertexScreen.Draw.rect(VertexScreen.Draw, surface, (0, 255, 0), (-570, 350, 5000, 500))

if name == 'main': app = QApplication(sys.argv) # <- create app engine = GameEngine(fps=60, width=1920, height=1080, title="Screen.com/totally-not-virus") # <- initialize a1080p window at 60 FPS

engine.setWindowTitle('Screen.com/totally-not-virus') # <- name the app
engine.setWindowIcon(QIcon('snake.ico')) # <- icon
engine.show() # <- show window

main_scene = Main(engine) # <- intialize the scene
engine.scene_manager.add_scene('main', main_scene) # <- name scene
engine.scene_manager.switch_to('main') # <- switch to the main scene pls

app.exec()

The following template creates a window with a green rectangle (the ground.)

Pygame or PyQt6 systems are compatible with Vertex so you can use pygame collision system or PyQt6's UI system in VertexEngine.

Help

The documentation is in the following link: Project Documentation for help.

Dependencies

Vertex obviously has heavy dependencies since it's a game engine, the following requirements are:

Dependency Version
PyQt6 >=6.7
Pygame >=2.0
Python >=3.10

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

vertexengine-1.0.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

vertexengine-1.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file vertexengine-1.0.0.tar.gz.

File metadata

  • Download URL: vertexengine-1.0.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for vertexengine-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1952ea339f1a083587953e7ef5a70cc6e8595b88a32d9bef2884c69ef184d345
MD5 564efeeb0da17c330a2eed553dbc6d0a
BLAKE2b-256 2692efb63a752104ea8e415750fb0e94b7bcb393ffe3e121788fc60b5fd08709

See more details on using hashes here.

File details

Details for the file vertexengine-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vertexengine-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for vertexengine-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be4e579d55610deec4f89112f2128290462c31ecbb660f2020e2afd04c9daba5
MD5 d9c11bbc450796c56c2b6a0cf9274156
BLAKE2b-256 e460a0e9d793fd4c1e7bdf83381dbbfe6394b6ac11fc7a573e0067f2820c2c2c

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