Skip to main content

Polygon-based interconnected tiles to model an environment and mobile objects inside.

Project description

TiledLand: Polygon-based simulation engine.

The main idea is to model a plan world as a collection of convex-polygons objects. The world is mainly composed of an environnement and items and agents distributed inside it with convex-based interconnected tiles for the environment.

Its is more a sandbox project to test approaches than an optimized, ready-to-use and well documented toolbox.

The project relies on Cairo library for rendering example, pyyaml to read yaml configuration files and hacka for distributed game programming.

Not what are you looking for ?

You can look at concurrent/complementary projects:

  • Box2d a 2d physics game engine
  • pygame a python-based game engine
  • raylib a simple cross language game engine
  • shapely to manipulate in python geometric objects in the cartesian plane (based on GEOS)
  • cgal another Computational Geometry Algorithms Library (c++)

Install

The Tiled-Land project can be installed with pip.

pip install tiledland

For in-dev version, refer to github repository : imt-mobisyst/tiled-land.

Get started

The demo directory include simple examples for TiledLand. Most of the demonstrations generate a scene, rendered in a shot-demo.png file.

In VisualStudio Code terminal for instance:

cd demo
python3 01-grid-scene.py 
code shot-demo.png
python3 02-hexa-world.py
python3 03-loading-gridmap.py 

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

tiledland-0.1.1.tar.gz (30.3 kB view details)

Uploaded Source

File details

Details for the file tiledland-0.1.1.tar.gz.

File metadata

  • Download URL: tiledland-0.1.1.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for tiledland-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0b4c2ce65c58778ba76a8625304954195299c6ed589ba31580edef432383e55e
MD5 55dc70aa138a2584bbe4cf65286060aa
BLAKE2b-256 9bf77e9b11af6218671efa080720b5a72dd1625b710bf1ea1cd9d4aaecdf50a8

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