Skip to main content

An Offical CLI library for VertexEngine.

Project description

VertexEngine-CLI

VertexEngine CLI adds CLI support to VertexEngine.

Change Logs (1.2.0) NEW!:

1.2.0

  • Added a lot of new commands! (type python -m vertex help for help)
  • Some bug fixes!

1.2rc2:

  • Fixed 25 critical crash bugs!
  • Discord in 10 DAYS!

1.1:

  • Added 2 new commands!: vertex remove {filepath} vertex upload {flags}

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-CLI

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

About Me ❔

I Am a solo developer in Diliman, Quezon City that makes things for fun :) 77 Rd 1, 53 Rd 3 Bg-Asa QC Email: FinalFacility0828@gmail.com

📄 License

VertexEngine/Vertex is Managed by the MIT License. This license allows others to tweak the code. However, I would like my name be in the credits if you choose this as your starting ground for your next library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vertexengine_cli-1.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distributions

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

vertexengine_cli-1.2.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

vertexengine_cli-1.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file vertexengine_cli-1.2.0.tar.gz.

File metadata

  • Download URL: vertexengine_cli-1.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for vertexengine_cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0bff79dfa2167d878cc3510e10ca6b7ae640dbe42c6fa29573533f87d1e06a74
MD5 dd2d485a9f59fd1cb667a47a3fa32b1c
BLAKE2b-256 ac800420530b35a734e101b97f61027c4f7721c87520d6734c5974642625b783

See more details on using hashes here.

File details

Details for the file vertexengine_cli-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vertexengine_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c75c465fa36a404e436d9f71ce9587950f3919634a8a6440aebbac3989dcb6
MD5 0adb486414c43a229bb591ceaaffdc58
BLAKE2b-256 45d285f26c062fbeb25e71abfdba0dc3c3582eda6a8c25d9204fecbd7e3b7998

See more details on using hashes here.

File details

Details for the file vertexengine_cli-1.2-py3-none-any.whl.

File metadata

  • Download URL: vertexengine_cli-1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for vertexengine_cli-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e22a6521cf265ba399f5d40f830d10dd730275ffc148386aafba53c73aa0534f
MD5 d9af9977df94d1509cccccb6421bb680
BLAKE2b-256 80f58fb042c6f888782b186f22098648f43aedb585a39c51615ec95c3918a2ba

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