py-mmlv/testing_grounds.py
2023-10-18 00:52:36 -04:00

37 lines
928 B
Python

# A Mega Man Maker MMLV Library/Module By Timothy J. (GameFeverOnline, www.youtube.com/@GameFeverOnline)
import mmlv_library as mmlv
import time
"""
_|_ _ __|_o._ _ _ .__ ._ _| _
|_(/__> |_|| |(_| (_||(_)|_|| |(_|_>
_| _|
"""
mmlv.read_file()
#
# # print(mmlv.get_user())
# #
# # mmlv.set_level_name("sample")
# # mmlv.set_user("Python")
# # print(count)
# # mmlv.connect_screen("v", 2, 1)
# # mmlv.set_background(1,mmlv.max_room_y, "cut")
#print(mmlv.get_block_contents(1,2))
#print(mmlv.is_block_used(1,2))
# n = 1000
# t0 = time.time()
# # for i in range(n): mmlv.get_block_contents(1,2, True)
# for x in range(mmlv.max_x+1):
# for y in range(mmlv.max_y+1):
# if mmlv.is_block_used(x,y):
# print(mmlv.get_block_contents(x, y))
# t1 = time.time()
#
# total_n = t1-t0
# print(total_n)
mmlv.set_player(1,1, player_type="pm")
mmlv.write_changes("sample.mmlv")
#del_tile(1,1)