create and edit modd.io games in 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:
Quick Script Example
view the examples/froge directory in the github repository to view the entire 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.5.tar.gz
(80.3 kB
view hashes)
Built Distributions
pymodd-1.0.5-cp311-none-win_amd64.whl
(370.6 kB
view hashes)
pymodd-1.0.5-cp311-none-win32.whl
(362.5 kB
view hashes)
pymodd-1.0.5-cp310-none-win_amd64.whl
(370.6 kB
view hashes)
pymodd-1.0.5-cp310-none-win32.whl
(362.5 kB
view hashes)
pymodd-1.0.5-cp39-none-win_amd64.whl
(370.6 kB
view hashes)
pymodd-1.0.5-cp39-none-win32.whl
(362.5 kB
view hashes)
pymodd-1.0.5-cp38-none-win_amd64.whl
(370.5 kB
view hashes)
pymodd-1.0.5-cp38-none-win32.whl
(362.7 kB
view hashes)
Close
Hashes for pymodd-1.0.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10547061120c0f5b8bc930b710006b6b91e651f36fb60ad830a41558f14c94f1 |
|
MD5 | a5cf19a62cf267903f0860ed1e8bfc89 |
|
BLAKE2b-256 | e121dd17a0ec72adf93714f93331dd3177d26edcffe0243c371aa6e3309b5e86 |
Close
Hashes for pymodd-1.0.5-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea93cec0e912e3b5544f061ae224a6942546e0f33d362ea731fd22ea828f97f |
|
MD5 | 71341e500ff92dd219d14a7ceb820298 |
|
BLAKE2b-256 | ea2c25001715d20dbce63deae75ac51af84d24067c2633426333c28d7b0306d2 |
Close
Hashes for pymodd-1.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07a05bcd09e345faeff1392ec4bcaa6509ab5100e129ec464a3c020355d5727 |
|
MD5 | b2328e4efecae05c90ffda4569997cb1 |
|
BLAKE2b-256 | ebfef5fd8b20c9563cb93e3d5a0497fa88e96074df0cbd0bd8a97a14dc8f57ce |
Close
Hashes for pymodd-1.0.5-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399a0b504f07acbbb75f8b9d2afcf31a6708fabe72a3ed5e18e234f75622218b |
|
MD5 | 73543fe321e695b08d7eb85d916818e5 |
|
BLAKE2b-256 | c151fea8eab7c4f8671793bb0eff816bfc2fe5f3e67b30dd4eecd8924340720f |
Close
Hashes for pymodd-1.0.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5ab3341356f5667b71616bd2bdbd342797b1824577f3eb7651dfe7b7f35c5e |
|
MD5 | 5db4c32e11b7b4f305e847932442abf7 |
|
BLAKE2b-256 | ee09f4b70f23e91b374dafa045117365c72a0fd2f2908be4253dff20b2bdf27d |
Close
Hashes for pymodd-1.0.5-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1588a25979b39f4b7d600ff5e135337a8c5a3ea6874ecf06c4a81c883ed9779a |
|
MD5 | ab6e86cc77a9f02cd583667b6a571ba0 |
|
BLAKE2b-256 | 95df59540723f88fd86f7f407c57b83b7d95f9e04c8293eb940863f846ccaa5a |
Close
Hashes for pymodd-1.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491e635e4c1e1db72604d0cfeaf6d1c990da39885dc45d576cc4b220255ec0b0 |
|
MD5 | 43b7ee19b7ec90b546ee0e699743db92 |
|
BLAKE2b-256 | 024472d899779a4e2feb89513cf67e6aeb91f2b13fb9747083e88302ce0e1887 |
Close
Hashes for pymodd-1.0.5-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbffcd35e75657a8d058c0958fa6dbefa7cde49eeb7178653d012b531789c280 |
|
MD5 | b42698fe26d99d3237b765035ad610d2 |
|
BLAKE2b-256 | 7ac6cea6bda63c2b443c7c58202de2e1c3b5df2ecdd16cf7c9cf6fd3dc2a9c19 |
Close
Hashes for pymodd-1.0.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb8ce509ffd205efc96d7461076cdc895b99939c5c7925cc42a7c8b4ae44552 |
|
MD5 | 487c81ce661a478243e3c0df2ae9b3ba |
|
BLAKE2b-256 | da980aa00ba31e89883b529f7ede51c6503e24499d34311902ab531ddb309344 |
Close
Hashes for pymodd-1.0.5-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e168178873f4fd3da127b6c9a558757c3f83183e1b314676ac52fabb2a417327 |
|
MD5 | 8c8455cc108095f07c9478ddcc9373da |
|
BLAKE2b-256 | 8e6acde90cb04498035c41d23c69a00f0eabac4be7ae819f1c3dd342bb7ba628 |
Close
Hashes for pymodd-1.0.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84595250dcaa9726b609d3834eaa4f13eb34b9f86aa0ddba935bbafdd77e89f1 |
|
MD5 | 454db40c49cb83aa7fef2e6fa0c8a1ab |
|
BLAKE2b-256 | 61716b56413970276959b71cf89b746d6af4fd0943dbf82065baa6f0783cc632 |
Close
Hashes for pymodd-1.0.5-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30020055937457bad69ebddb2ccd5aa2c169eba582f44cba546f8d11f85b85fd |
|
MD5 | 4e090e261276b9ebd77ef0020128424c |
|
BLAKE2b-256 | a4cc2570bd4c57e1929195f74a825348427cdb93213e7e54db3f657746cdbabf |