filename it's working better now

This commit is contained in:
Timothy GFO 2023-08-30 23:34:24 -04:00
parent 39afe2f6eb
commit 84447ac3cb

View file

@ -6,6 +6,10 @@ It could also work by calling a function, say place_tile(tilename, x, y) and the
"""
import configparser, os
config = configparser.ConfigParser()
def filename(filename):
config.read(filename)
def conv_coordinates(x16, y16):
if x16 < 1 or y16 < 1:
x = x16 / 16
@ -20,7 +24,7 @@ def conv_coordinates_x16(x, y):
y16 = y * 16
return [x16, y16]
""""
"""
def set_tile
def read_tile
def set_name
@ -29,6 +33,9 @@ def set_background
def set_active
"""
def get_options():
filename("mmlv.mmlv")
options = config.options("Level")
return options
print(get_options())