Update plugins as per new style

This commit is contained in:
Rikko 2023-08-03 20:25:29 +05:30
parent 8a558e6a29
commit ba4bde5a55
6 changed files with 13 additions and 9 deletions

View file

@ -178,6 +178,7 @@
} }
], ],
"versions": { "versions": {
"1.0.1": null,
"1.0.0": { "1.0.0": {
"api_version": 7, "api_version": 7,
"commit_sha": "2fda676", "commit_sha": "2fda676",
@ -241,6 +242,7 @@
} }
], ],
"versions": { "versions": {
"2.0.1": null,
"2.0.0": { "2.0.0": {
"api_version": 8, "api_version": 8,
"commit_sha": "48f9302", "commit_sha": "48f9302",
@ -805,4 +807,4 @@
} }
} }
} }
} }

View file

@ -488,7 +488,7 @@ class Aro(ba.Actor):
'materials': [self._score_region_material]}) 'materials': [self._score_region_material]})
] ]
self.regions[0].connectattr('position', self.node, 'position') self.regions[0].connectattr('position', self.node, 'position')
#self.regions[0].connectattr('position', self.regions[1], 'position') # self.regions[0].connectattr('position', self.regions[1], 'position')
locs_count = 9 locs_count = 9
pos = list(position) pos = list(position)
@ -555,8 +555,8 @@ class Cuadro(ba.Actor):
'materials': [self.collision, 'materials': [self.collision,
shared.footing_material]}) shared.footing_material]})
#self.shield = ba.newnode('shield', attrs={'radius': 1.0, 'color': (0,10,0)}) # self.shield = ba.newnode('shield', attrs={'radius': 1.0, 'color': (0,10,0)})
#self.region.connectattr('position', self.shield, 'position') # self.region.connectattr('position', self.shield, 'position')
position = (position[0], position[1], position[2]+0.09) position = (position[0], position[1], position[2]+0.09)
pos = list(position) pos = list(position)

View file

@ -743,7 +743,7 @@ class VolleyBallMapH(bs.Map):
gnode.vignette_inner = (0.93, 0.93, 0.95) gnode.vignette_inner = (0.93, 0.93, 0.95)
gnode.vr_camera_offset = (0, -0.8, -1.1) gnode.vr_camera_offset = (0, -0.8, -1.1)
gnode.vr_near_clip = 0.5 gnode.vr_near_clip = 0.5
#self.is_hockey = True # self.is_hockey = True
bs._map.register_map(VolleyBallMap) bs._map.register_map(VolleyBallMap)

View file

@ -38,6 +38,7 @@
} }
], ],
"versions": { "versions": {
"1.3.1": null,
"1.3.0": { "1.3.0": {
"api_version": 7, "api_version": 7,
"commit_sha": "ec116b3", "commit_sha": "ec116b3",
@ -390,6 +391,7 @@
} }
], ],
"versions": { "versions": {
"2.0.1": null,
"2.0.0": { "2.0.0": {
"api_version": 8, "api_version": 8,
"commit_sha": "da0e63d", "commit_sha": "da0e63d",
@ -837,4 +839,4 @@
} }
} }
} }
} }

View file

@ -828,7 +828,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow):
newFileName = str(babase.Lstr(resource="replayNameDefaultText").evaluate( newFileName = str(babase.Lstr(resource="replayNameDefaultText").evaluate(
)+" (%s)" % (datetime.datetime.strftime(datetime.datetime.now(), "%Y_%m_%d_%H_%M_%S"))+".brp") )+" (%s)" % (datetime.datetime.strftime(datetime.datetime.now(), "%Y_%m_%d_%H_%M_%S"))+".brp")
newFilePath = os.path.join(dir_path+os.sep, newFileName).encode(SystemEncode) newFilePath = os.path.join(dir_path+os.sep, newFileName).encode(SystemEncode)
#print(curFilePath, newFilePath) # print(curFilePath, newFilePath)
# os.rename(curFilePath,newFilePath) # os.rename(curFilePath,newFilePath)
shutil.copyfile(curFilePath, newFilePath) shutil.copyfile(curFilePath, newFilePath)
bs.broadcastmessage(_getTransText("Game_Record_Saved") % newFileName, color=(1, 1, 1)) bs.broadcastmessage(_getTransText("Game_Record_Saved") % newFileName, color=(1, 1, 1))
@ -1182,7 +1182,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow):
babase.Lstr(resource='internal.cantKickHostError'), babase.Lstr(resource='internal.cantKickHostError'),
color=(1, 0, 0)) color=(1, 0, 0))
#NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_babase._disconnectClient(%d,{Value})"%self._popup_party_member_client_id) # NewShareCodeWindow(origin_widget=self.get_root_widget(), delegate=None,code = "300",execText = u"_babase._disconnectClient(%d,{Value})"%self._popup_party_member_client_id)
def joinbombspot(self): def joinbombspot(self):
bui.open_url("https://discord.gg/ucyaesh") bui.open_url("https://discord.gg/ucyaesh")

View file

@ -332,7 +332,7 @@ class ShareTabUi(WatchWindow):
# ++++++++++++++++for keyboard navigation++++++++++++++++ # ++++++++++++++++for keyboard navigation++++++++++++++++
#ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button) # ba.widget(edit=self.enable_button, up_widget=decrease_button, down_widget=self.lower_text,left_widget=save_button, right_widget=save_button)
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------