{ "info": { "author": "Electron Studio", "author_email": "github@electronstudio.co.uk", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Richlib\n\nA simplified API for Raylib for use in education and to enable beginners to create 3d games.\n\nCurrent state: working, but untested alpha, API may change.\n\n## Use\n\nRichlib is just a few classes that sit on top of Raylib Python CFFI. Once you have imported Richlib you automatically get all of raylib.static\nand raylib.pyray\nand you could just copy any Raylib Python example code you find. Then if you want to use Richlib's classes as well as Raylib you can.\n\nThe normal way of using Richlib is not to write your own main game loop. Instead, you set some variables to tell Richlib how you'd like\nyour game to be:\n\n from richlib import *\n\n WIDTH=800\n HEIGHT=640\n CAMERA=rl.CAMERA_FIRST_PERSON\n DATA_DIR=\"examples/models/resources/models/\"\n\n cube = Cube((0, 10, 0), (10, 20, 10), 'blue')\n\nThen you define some specially named methods:\n\n def draw():\n clear()\n cube.draw()\n\n def update():\n cube.x = cube.x + 1\n if cube.x > 100:\n cube.x = -100\n\nThen you tell Richlib to run your methods in its game loop:\n\n run()\n\n## Differences from Pygame Zero\n\n1. We don't have a special mode in the Mu editor like Pygame Zero does, and therefore it is necessary to add an `import` line to the start of\nevery program, and a `run()` line to the end.\n\n2. The underlying API, Raylib, is not object oriented like Pygame is. The stuff added by Richlib is object oriented but you\nmight notice there is no proper equivalent of the `screen` object because Raylib doesn't have one.\n\n3. 3D games are inherently more complex than 2D, e.g. there is no equivalent of the camera object for the 2d programmer\nto worry about.\n\n4. To mitigate (3) as much as possible we do automate some stuff that you might expect to do manually in Pygame Zero.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/electronstudio/richlib", "keywords": "", "license": "LGPLv3+", "maintainer": "", "maintainer_email": "", "name": "richlib", "package_url": "https://pypi.org/project/richlib/", "platform": "", "project_url": "https://pypi.org/project/richlib/", "project_urls": { "Homepage": "https://github.com/electronstudio/richlib" }, "release_url": "https://pypi.org/project/richlib/0.0.6/", "requires_dist": [ "raylib (>=2.5.0.post4)", "cffi (>=1.12.3)" ], "requires_python": "", "summary": "Pygame Zero like API to teach 3d games programming based on Raylib", "version": "0.0.6" }, "last_serial": 5512945, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cdac293bcdddd9e71a4572f06b5d5526", "sha256": "2696a48174deaf99d234f4a5909401bfd7092331e21624a330204277fd108787" }, "downloads": -1, "filename": "richlib-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cdac293bcdddd9e71a4572f06b5d5526", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9480, "upload_time": "2019-06-26T03:41:35", "url": "https://files.pythonhosted.org/packages/c7/87/3267d5e1cca40d58d20871f1d02fef655ef325b14b3b53108273efea3ae1/richlib-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0eb14c9f59953cdd99831bd41e0689ca", "sha256": "eaa2ddcbd264be79259032d16ae7f5aa26faa81eb8be5fe34634a9cc89377e40" }, "downloads": -1, "filename": "richlib-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0eb14c9f59953cdd99831bd41e0689ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5970, "upload_time": "2019-06-26T03:41:37", "url": "https://files.pythonhosted.org/packages/85/66/0d07c9e320e7aeb3743f3e7fa4a5ac80f1b4c5046d8cb41863445547e429/richlib-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "cc3d2edbc4526438a7a12d5912122f0f", "sha256": "fe84f8425bd356c29d6e38e9eaa5fc905f9e652ee915aa2d8799b70804d1405d" }, "downloads": -1, "filename": "richlib-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "cc3d2edbc4526438a7a12d5912122f0f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448083, "upload_time": "2019-06-26T03:46:36", "url": "https://files.pythonhosted.org/packages/d4/94/e5f1d1706d94e64492f955f23c7f76662f5e2112b4bd8dd1f5d04c73b6ec/richlib-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "587826cdce135f8419619d899d337bd2", "sha256": "cc213f31aed5fb86cdf1f984b3babc0c8c547e54fb233521fc2cc13665d45d1a" }, "downloads": -1, "filename": "richlib-0.0.2.tar.gz", "has_sig": false, "md5_digest": "587826cdce135f8419619d899d337bd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22464174, "upload_time": "2019-06-26T03:47:02", "url": "https://files.pythonhosted.org/packages/af/df/054132ecbd6bdc614977d13eee8b01fb8e50540d6336b26317cd4c46ee73/richlib-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2454293486a557118ec604d904451986", "sha256": "b3ae85e14408ec7197f8c9a475a973e28360fb9019c88c6d7f3e5e301095f980" }, "downloads": -1, "filename": "richlib-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "2454293486a557118ec604d904451986", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448565, "upload_time": "2019-07-03T08:19:59", "url": "https://files.pythonhosted.org/packages/a5/2d/7693aec06ef02e2f162335834ad4b044d7bb424c264221e87c20ecfc5572/richlib-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c0ce3b1f5292e4850ff4992b0ddd937", "sha256": "291af2f9617cb69044999c7cd882f5cbe28d42deefbb4c055715472197b314b6" }, "downloads": -1, "filename": "richlib-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6c0ce3b1f5292e4850ff4992b0ddd937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22464654, "upload_time": "2019-07-03T08:20:25", "url": "https://files.pythonhosted.org/packages/0b/1d/3a69b5616f8048c0aceb116cc7a18feac1c89a690af04e24ec2b8d26eedd/richlib-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d6bffa8f6e97d458977377b7051fa73e", "sha256": "d204bd57276de48757b00222129425dd33dfbacc55d3c9867874bfdce54dad59" }, "downloads": -1, "filename": "richlib-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d6bffa8f6e97d458977377b7051fa73e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448581, "upload_time": "2019-07-03T08:30:37", "url": "https://files.pythonhosted.org/packages/a4/bb/82e97e56b9339f7e9ed04da396003ea35dbba79d270a616022cb9e367e90/richlib-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4347a7f90adc5ffa712cfbf4ac0c21b8", "sha256": "20c212c745e3dd322c4a36e273c0e32d947d71d1d02b834f0ba022e154b395a9" }, "downloads": -1, "filename": "richlib-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4347a7f90adc5ffa712cfbf4ac0c21b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22464679, "upload_time": "2019-07-03T08:31:03", "url": "https://files.pythonhosted.org/packages/34/f5/dbdf788c5c7fa35485738ab3ae83aa2c8bef175ad810ae860adb288e860a/richlib-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8e1d83b164ea71444a8f005125e988f3", "sha256": "79c09e3787721841597f6f8bd5a737a9e63201bca3444f9efa99f8eb2934a437" }, "downloads": -1, "filename": "richlib-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "8e1d83b164ea71444a8f005125e988f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448593, "upload_time": "2019-07-03T09:33:09", "url": "https://files.pythonhosted.org/packages/19/6f/e2cc40bc28d9df246305b18b95ede55ff8cd8a6e255191822f62574b5d31/richlib-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3d02e536c7579edb3c9c42b764ce4fbb", "sha256": "0e8e83945a34b647237c7ec1accfbc747a5909fd912a72fbd7fb37970a52e286" }, "downloads": -1, "filename": "richlib-0.0.5.tar.gz", "has_sig": false, "md5_digest": "3d02e536c7579edb3c9c42b764ce4fbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22464694, "upload_time": "2019-07-03T09:33:36", "url": "https://files.pythonhosted.org/packages/99/cc/c016cc81a22e088833c94b699bc649678453e3bda0ad32d91228574076b4/richlib-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "1664c5586cab528230d0e1dda22b95d7", "sha256": "cfabfe6cdf9cacbf098d31bddd571e8aff253d8c43e7947e94328ec204b03d18" }, "downloads": -1, "filename": "richlib-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "1664c5586cab528230d0e1dda22b95d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448848, "upload_time": "2019-07-10T16:29:13", "url": "https://files.pythonhosted.org/packages/85/f3/1394813e67e9f3de5e7a0464813562869c4444ad9b09fff858b484640d8d/richlib-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ef5be4cad3c9672dbcb25708da7365c", "sha256": "b5d4ae08be824c536ce3cc2427cb4463e08167e68b370e5cecd9a1af5df7e2d5" }, "downloads": -1, "filename": "richlib-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1ef5be4cad3c9672dbcb25708da7365c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19617779, "upload_time": "2019-07-10T16:29:37", "url": "https://files.pythonhosted.org/packages/f4/b3/7cda0ab468268e0281dc6cb3307f491422a4cf3e069a859ccd5e6c40e18f/richlib-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1664c5586cab528230d0e1dda22b95d7", "sha256": "cfabfe6cdf9cacbf098d31bddd571e8aff253d8c43e7947e94328ec204b03d18" }, "downloads": -1, "filename": "richlib-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "1664c5586cab528230d0e1dda22b95d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22448848, "upload_time": "2019-07-10T16:29:13", "url": "https://files.pythonhosted.org/packages/85/f3/1394813e67e9f3de5e7a0464813562869c4444ad9b09fff858b484640d8d/richlib-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ef5be4cad3c9672dbcb25708da7365c", "sha256": "b5d4ae08be824c536ce3cc2427cb4463e08167e68b370e5cecd9a1af5df7e2d5" }, "downloads": -1, "filename": "richlib-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1ef5be4cad3c9672dbcb25708da7365c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19617779, "upload_time": "2019-07-10T16:29:37", "url": "https://files.pythonhosted.org/packages/f4/b3/7cda0ab468268e0281dc6cb3307f491422a4cf3e069a859ccd5e6c40e18f/richlib-0.0.6.tar.gz" } ] }