Skip to main content

A library for Geometry Dash level generation using .gmd files

Project description

Dashcode

Discord

Dashcode is a specialized Python library for the programmatic generation of Geometry Dash levels (compatible with version 2.2+). It allows developers to build complex level structures, triggers, and gameplay mechanics entirely through code.

Key Features

  • Class-Based Architecture: All functionality is encapsulated within the Dashcode class for a clean developer experience.
  • Full Trigger Support: Easily manage Group IDs, Alpha, Toggle, Rotate, and Camera Zoom parameters.
  • Verified Mapping: Includes corrected IDs for critical items like the Checkpoint (2063) and TouchTrigger logic.
  • Extensible Logic: Fully customizable object and parameter dictionaries via setobjects() and setparams().
  • Direct GMD Export: Encode and package your level data into a ready-to-import .gmd file format.
  • Timelines: You can make a list of actions and objects like spawn or create to build easier using build_timeline()
  • Variables: Add variables using ItemIds with add_variable() or change the variable in level using set_variable() or activate groups if {variable} is {value} with if_variable() or just get it with get_variable()
  • Prefabs: You can add prefabs to your level using addprefab(), check documentation for more info

Examples

Check the /examples in wiki for advanced usage of: Object placement Prefabs Timelines

Installation

pip install dashcode

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

dashcode-1.5.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

dashcode-1.5.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file dashcode-1.5.0.tar.gz.

File metadata

  • Download URL: dashcode-1.5.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for dashcode-1.5.0.tar.gz
Algorithm Hash digest
SHA256 a5ddd073fd4b0d7c6d117a03473830a4225778115666d230050ae5ee84988a83
MD5 48860609becfe1d17022a02766ccaa4d
BLAKE2b-256 37931265a9a60b560552414e1150cfefdd7b0536643f66f58d5f0c8b0270f3c7

See more details on using hashes here.

File details

Details for the file dashcode-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: dashcode-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for dashcode-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf99c5df9cae4c52e5e0251d21ab3eaac3a0098507096b5302e226c15d0e8148
MD5 eb589d3dbdf0340b826769817c857adc
BLAKE2b-256 62d519b0d46243b129899a5bc23a6537d31c72d1ca9018c4b322b6e4950d5257

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