Needs some testing

This commit is contained in:
brostosjoined 2024-01-17 23:09:18 +03:00
parent 1bce1d7d76
commit 4719c3e718
23 changed files with 2124 additions and 1626 deletions

View file

@ -68,10 +68,10 @@ class ForestMap(bs.Map):
def on_preload(cls) -> any:
data: dict[str, any] = {
'mesh': bs.getmesh('natureBackground'),
'tex': bui.gettexture('natureBackgroundColor'),
'tex': bs.gettexture('natureBackgroundColor'),
'collision_mesh': bs.getcollisionmesh('natureBackgroundCollide'),
'bgmesh': bs.getmesh('thePadBG'),
'bgtex': bui.gettexture('menuBG')
'bgtex': bs.gettexture('menuBG')
}
return data
@ -85,7 +85,7 @@ class ForestMap(bs.Map):
attrs={
'mesh': self.preloaddata['mesh'],
'color_texture': self.preloaddata['tex'],
'collide_mesh': self.preloaddata['collide_mesh'],
'collision_mesh': self.preloaddata['collision_mesh'],
'materials': [shared.footing_material]
}
)