first part for phy simluation #34
@ -5,6 +5,15 @@
|
||||
- DR game: 0.2.0.0
|
||||
- DR rs: 0.2.11.0
|
||||
|
||||
## DR game 0.1.2.0
|
||||
|
||||
### 修改
|
||||
|
||||
- 现在渲染飞船的时候不会再显示那个白色框了
|
||||
- 改为一个彩色的框
|
||||
- Now, the ship will not be displayed in the white box
|
||||
- Change to a colored box
|
||||
|
||||
## DR rs 0.2.11.0
|
||||
|
||||
### 添加
|
||||
|
@ -198,7 +198,7 @@ class SR1ShipRender(BaseScreen):
|
||||
# 线框
|
||||
part_line_box = []
|
||||
width = 3
|
||||
color = (random.randrange(0, 255), random.randrange(0, 255), random.randrange(0, 255), random.randrange(0, 255))
|
||||
color = (random.randrange(0, 255), random.randrange(0, 255), random.randrange(0, 255), random.randrange(100, 200))
|
||||
part_line_box.append(Line(x=part_debug_box[0][0] * 30, y=part_debug_box[0][1] * 30,
|
||||
x2=part_debug_box[0][0] * 30, y2=part_debug_box[1][1] * 30,
|
||||
batch=self.part_box_batch, width=width, color=color))
|
||||
|
Loading…
Reference in New Issue
Block a user