A package for creating modd.io games using python!
Project description
pymodd is a python package for creating and editing modd.io games in python
Features
edit global and entity scripts
organize folders and scripts with a mapping file
edit environment variables
a command to generate and compile a pymodd project
Documentation
The pymodd wiki is located at github.com/jeff5343/pymodd/wiki
A brief outline of the wiki:
Quick Script Example
view the examples/froge directory for an example of a pymodd project
@script(triggers=[Trigger.EVERY_SECOND])
def every_second():
if NumberOfUnitsOfUnitType(UnitType.FROG) < 5:
create_unit_for_player_at_position_with_rotation(UnitType.FROG, Variable.AI, RandomPositionInRegion(EntireMapRegion()), 0)
else:
if NumberOfUnitsOfUnitType(UnitType.FROG_BOSS) == 0:
if Variable.BOSS_TIMER <= 0:
create_unit_for_player_at_position_with_rotation(UnitType.FROG_BOSS, Variable.AI, RandomPositionInRegion(EntireMapRegion()), 0)
update_ui_target_for_player_for_miliseconds(UiTarget.CENTER, 'BOSS SPAWNED', Undefined(), 5000)
decrease_variable_by_number(Variable.BOSS_TIMER, 1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymodd-1.0.0.tar.gz
(79.2 kB
view hashes)
Built Distributions
pymodd-1.0.0-cp311-none-win_amd64.whl
(373.1 kB
view hashes)
pymodd-1.0.0-cp311-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.0-cp310-none-win_amd64.whl
(373.1 kB
view hashes)
pymodd-1.0.0-cp310-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.0-cp39-none-win_amd64.whl
(373.1 kB
view hashes)
pymodd-1.0.0-cp39-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.0-cp38-none-win_amd64.whl
(372.8 kB
view hashes)
pymodd-1.0.0-cp38-none-win32.whl
(361.6 kB
view hashes)
Close
Hashes for pymodd-1.0.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de45e2f992311f001c5d52ee2deaa21dc24974afa091f4bd043387c1c44a42a2 |
|
MD5 | 03495f1b5b7c28594807b9875be0c8c9 |
|
BLAKE2b-256 | c4b76a90b421196bd2c9985d233a878a03ca6ffa895a63eeee5e0cfd6d266d53 |
Close
Hashes for pymodd-1.0.0-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e738e5abcc1dcf8c3e681a76ff92f9a9bbfaab5e217111234b834e334bcaf424 |
|
MD5 | f1519c33ff29918ac80348a0ddc9b8c1 |
|
BLAKE2b-256 | 170d686a90d19fdfac43615fbd20f9f7ad415bfe122a7f6ab8450e0a5db6df57 |
Close
Hashes for pymodd-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667e7428be5a0e2ce487514c581f4004d0513e6184f1fd89601bc19bce591147 |
|
MD5 | d086c3dedbddad915ff81a6ea35a07e7 |
|
BLAKE2b-256 | a6b7942e2a23324dd5fa2ca78b29aa8294f027a8c9aad471ecc2e2a92fe38543 |
Close
Hashes for pymodd-1.0.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b96aadcc62f046820238abc290e902f9ceb0be3c7de58f4b978a94515c79bc |
|
MD5 | 00ef5f5b95d46c80e2ff6c3f2ac413a9 |
|
BLAKE2b-256 | afe48e8eabaac999aaf104104e522b829c7b9b48512ad1fa15c5ed8a27187bae |
Close
Hashes for pymodd-1.0.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44474e1e983bf8ee5d2ada3b7dba3ee572976e670a98b890f77c7c6245186ea3 |
|
MD5 | a71cd50c4c63ed51372e0636b38c5f5d |
|
BLAKE2b-256 | f6eb749a6dd40016af327647c6290194d646cae1f72cfb0640ea2a39b774c57a |
Close
Hashes for pymodd-1.0.0-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a5e58d86478cc01137861c689ace8f1df504dd76b221dd18a562d188802edfd |
|
MD5 | 43d6c550f1f43070f5deb58e395e9d7f |
|
BLAKE2b-256 | 47a3dc8ac191556258dba9b80e94f2198a50ff5dfab2ffd46f2e5a54a62eccac |
Close
Hashes for pymodd-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0affabd1902a31f957f7dfb2d2749d97719a04e251b013f40e5875042d7f9c |
|
MD5 | 1ba2f8fb73073816acaf4c995ab13520 |
|
BLAKE2b-256 | 2c4dfa7e005aceee820e9c5e959a0571ce8ae6c9c6b1f98addea06b223411864 |
Close
Hashes for pymodd-1.0.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceeed1e0c5f7320fab9685abf3239262a512bff480dd340484039899467f7722 |
|
MD5 | ba07823c4c2446d1d2895942d7590da9 |
|
BLAKE2b-256 | f37308720773dd0c384fe26a49abe70a93e26c1057cdc60fa7d232baebac7995 |
Close
Hashes for pymodd-1.0.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447123aae01e98db18e556c005a9e56f334ec393d2e0083d6fbcae66e3462893 |
|
MD5 | 063ec577b10a823ac84861f298ce6b13 |
|
BLAKE2b-256 | af66ebde83dcc4977d4ef1e16bfe93741ab9e683afa57cacf9e030029c7dcb0d |
Close
Hashes for pymodd-1.0.0-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4cda9257dce0c28d7cfdf605a99e8aae8d6f4a6165ec2297480ec9e24ab555b |
|
MD5 | 4a2c67d9942408ee6520f0d07edb45bf |
|
BLAKE2b-256 | 999ba4e8c58f106b21df832728a7c7669b8b87c0735122c1abe205fc52328d8e |
Close
Hashes for pymodd-1.0.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379daf4c608bc77b65bf4964f1d1e58f71d6971eb6a6ea3484826d004caf1911 |
|
MD5 | 09433d2eab1f748e76ce547e9edd9665 |
|
BLAKE2b-256 | b5a164dd08c673f48213659688f8951362447b8c233a3de094fdb6f34f74e509 |
Close
Hashes for pymodd-1.0.0-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbcc373b7ab26e5c6269acc8dea09e634d94f2467e2fa92dc4a0b15ac5c6a8fd |
|
MD5 | 0a62df4dbac9f37ef5750418dafb55f9 |
|
BLAKE2b-256 | 08601b2dd2ed3a5794166232c2cd4d409cdf70650088a7d1bcab9a7d65db0263 |