Closed Kolhax closed 1 year ago
a quick github search reveals this api with even more stars than this project: https://github.com/nekitdev/gd.py
I'm focusing only on C# for this library. @Illirick is right, if you want to use another language, I recommend finding another library. Like gd.py by nekitdev
the problem with this one ( GD.py ) is that it seems like I can't create levels with it
I see that gd.py can parse levels. Maybe @nekitdev can write an example how to create levels using his library?
Here's some documentation I found about it: https://gdpy.readthedocs.io/en/latest/game_api.html#level-editing
Creating levels with gd.py is rather simple:
from gd.api import Editor, Object
from iters.ordered_set import ordered_set
from iters.utils import unary_tuple
editor = Editor()
groups = orsered_set(unary_tuple(1))
object = Object(id=1, x=300.0, y=300.0, groups=groups)
editor.add_objects(object)
Thanks you for reply
Hi, i love your api, but i am lot lot more comfortable with python3 do you know if u plan to make one for python or do you know anyone that make a copy of this work in python?