提交 c30fb2ee 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 4abde452
...@@ -107,9 +107,10 @@ class SolarSystemRealitySim: ...@@ -107,9 +107,10 @@ class SolarSystemRealitySim:
@return: @return:
""" """
if self.clock_position_center: if self.clock_position_center:
position, origin = (0, .25), (0, 0), position, origin = (0, .25), (0, 0)
else: else:
position, origin = (0.60, -0.465), (-0.5, 0.5), # position, origin = (0.60, -0.465), (-0.5, 0.5)
position, origin = (-0.60, -0.465), (-0.5, 0.5)
ControlUI.current_ui.show_message(dt.strftime('%Y-%m-%d %H:%M:%S'), ControlUI.current_ui.show_message(dt.strftime('%Y-%m-%d %H:%M:%S'),
position=position, position=position,
...@@ -208,9 +209,9 @@ class SolarSystemRealitySim: ...@@ -208,9 +209,9 @@ class SolarSystemRealitySim:
self.earth_camera.camera_init_val = +3000000 self.earth_camera.camera_init_val = +3000000
elif time_data.total_days > 90: elif time_data.total_days > 90:
self.earth_camera.camera_init_val = +1200000 self.earth_camera.camera_init_val = +1200000
elif time_data.total_days > 90:
self.earth_camera.camera_init_val += 600000
elif time_data.total_days > 60: elif time_data.total_days > 60:
self.earth_camera.camera_init_val += 300000
elif time_data.total_days > 30:
self.earth_camera.camera_init_val += 100000 self.earth_camera.camera_init_val += 100000
camera.x = -300 # 100 camera.x = -300 # 100
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册