mirror of
https://gitlab.com/GameFeverOnline/py-mmlv.git
synced 2025-12-18 17:57:42 -04:00
Added set object
This commit is contained in:
parent
a894caba0a
commit
e55abe2c92
4 changed files with 365644 additions and 59 deletions
|
|
@ -12,16 +12,23 @@ mmlv.read_file()
|
|||
print(mmlv.get_user())
|
||||
mmlv.set_level_name("sample")
|
||||
mmlv.set_user("Python")
|
||||
count = 0
|
||||
#for column in range(max_y+1):
|
||||
# count += 1
|
||||
#
|
||||
# for tile in range(max_x+1):
|
||||
# count += 1
|
||||
# set_tile(tile,column)
|
||||
#set_room_active(max_room_x,max_room_y)
|
||||
#set_tile(1,1)
|
||||
# count = 0
|
||||
# four = 0
|
||||
# for column in range(mmlv.max_y+1):
|
||||
# four += 1
|
||||
# count += 1
|
||||
# print(column)
|
||||
# if four == 4:
|
||||
# four = 0
|
||||
# for tile in range(mmlv.max_x+1):
|
||||
# count += 1
|
||||
# #print(str(tile)+"tile")
|
||||
# mmlv.set_tile(tile,column)
|
||||
#mmlv.set_room_active(mmlv.max_room_x,mmlv.max_room_y)
|
||||
|
||||
print(count)
|
||||
# print(count)
|
||||
mmlv.connect_screen("v", 2, 1)
|
||||
mmlv.set_room_active(2, 0)
|
||||
mmlv.set_room_active(2, 1)
|
||||
mmlv.write_changes("sample.mmlv")
|
||||
#del_tile(1,1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue