Skip to main content

Integrates Imgui with Raylib

Project description

Imraylib

Integrates Imgui with Raylib.

The integration does not directly connect Imgui with Raylib. This permits you to selectively filter events to prevent them being sent to Imgui.

For example: if you had a number of different Imgui interfaces or possibly even one rendered inside a first-person game. You don't want them receiving events until the player begins interacting with the specific Imgui interface.

If you don't care about this, there is a convenience function send_all_events which will send all Raylib data to Imgui and "just work".

Installation

pip install imraylib

Until raylibpy merges the raylibpy-3.7 branch to master, you must manually install it from Git.

Dependencies

Example

See example/demo.py for an example

BSD 3-Clause License

Copyright (c) 2021, Adam Griffiths All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

imraylib-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: imraylib-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for imraylib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3559bd3209fc440398634e3883127be714120120a94e34f1ad29d497d7a7dc29
MD5 bfb43a72decbcd18c3dfeb70ae726eee
BLAKE2b-256 9f6e15550fbdaa3386ac79e895b988d999cdcd4240713b82d0e51faf6165cf03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page