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

Python超人-宇宙模拟器

上级 d74226e8
......@@ -157,6 +157,8 @@ class TwoWayFoilSim:
self.two_way_foil_circle.planet.rotation_x = 90
self.two_way_foil_circle.planet.enabled = False
self.two_way_foil.planet.alpha = 0.6
for b in self.two_dim_bodies:
b.planet.rotation_x = 90
......@@ -171,7 +173,7 @@ class TwoWayFoilSim:
self.sun.two_dim.planet.x += 100000
# two_way_foil.explode(sun)
self.two_way_foil.planet.enabled = False
self.two_way_foil_circle.planet.alpha = 0.7
self.two_way_foil_circle.planet.alpha = 0.6
self.two_way_foil_circle.planet.enabled = True
self.current_stage = self.stage_02
......@@ -211,6 +213,7 @@ class TwoWayFoilSim:
def on_timer_changed(self, time_data):
self.two_way_foil.planet.rotation_x += 1
self.two_way_foil.planet.rotation_y += 10
# self.two_way_foil.planet.rotation_z += 10
self.current_stage()
for b in self.two_dim_bodies:
b.init_position = b.three_dim.position
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册