change a to 100->255

This commit is contained in:
shenjack 2023-06-18 01:29:42 +08:00
parent 30d30e56c5
commit 1fbab4b33b
2 changed files with 10 additions and 1 deletions

View File

@ -5,6 +5,15 @@
- DR game: 0.2.0.0 - DR game: 0.2.0.0
- DR rs: 0.2.11.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 ## DR rs 0.2.11.0
### 添加 ### 添加

View File

@ -198,7 +198,7 @@ class SR1ShipRender(BaseScreen):
# 线框 # 线框
part_line_box = [] part_line_box = []
width = 3 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, 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, x2=part_debug_box[0][0] * 30, y2=part_debug_box[1][1] * 30,
batch=self.part_box_batch, width=width, color=color)) batch=self.part_box_batch, width=width, color=color))