Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 685 Bytes

File metadata and controls

33 lines (22 loc) · 685 Bytes

This library is currently in beta and can have major API changes

Cell Machine Levels

A library for manipulating modded cell machine level codes.

To install do:

pip3 install cell_machine_levels

Or just pip on some OSes

Level class

Currently supports the main 3 types (V1, V2, V3), support is going to be added for more than just these

Level creation example:

from cell_machine_levels import level
test = level.Level(10, 10, "test", level.WallEffect.wrap)
print(test.save("V3"))

Level importing example:

from cell_machine_levels import level
test = level.open("V3;a;a;;;test;2")
print(f"{test.name}: {test.size}, {test.wall_effect}")