Socket
Socket
Sign inDemoInstall

visceng

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visceng

A fast 2D game engine for Python focused on normal-mapped lighting, optimized rendering, a simple API, and easy modding.


Maintainers
1

ViscEng

Custom 2D game engine adapted from my previous, cancelled game, known in development as "Visceral Velocity". This version of the engine has been rewritten from scratch to be more efficient, and more user-friendly.

Features

  • Comparatively fast rendering in pure Python using Pyglet (~2000 FPS on a large tilemap on a Ryzen 9 7900X, where a similar scene in Pygame would be ~90 FPS)
  • Simple and easy-to-use API for quickly getting repetitive things done
  • Built-in support for tilemaps using a custom format (and level editor)
  • 2D lighting, shadow-casting, normal mapping, and more
  • Easy modding support with everything exposed as pure Python to a modder
  • Simple multiplayer synchronization using a custom P2P protocol, with a broker server for NAT traversal

Installation

  1. Clone the repository
  2. Create a venv
    • Python 3.11 is required. If you have pyenv already, it will default to 3.11 for this directory.
  3. Install requirements
  4. Run python main.pyw to start the engine. Look at the scenes folder for some example scenes, and look at assets for the resources used in those scenes.

License

None yet.

Contributing

Feel free to contribute! Just fork the repository and make a pull request. If you have any questions, feel free to ask in the issues tab.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc