Skip to content

Commit e974c42

Browse files
author
Builder
committed
Merge branch 'fix-circle' into 'master'
fix(sdk): Repair Circle shapes See merge request codingame/game-engine!196
2 parents 5f99262 + 6bce829 commit e974c42

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

engine/modules/entities/src/main/resources/view/entity-module/Circle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class Circle extends Shape {
3333
this.graphics.beginFill(state.fillColor, state.fillAlpha)
3434
}
3535
this.graphics.lineStyle(globalData.atLeastOnePixel(state.lineWidth), state.lineColor)
36-
this.graphics.drawCircle(0, 0, state.radius * globalData.coeff)
36+
this.graphics.drawCircle(0, 0, state.radius * globalData.toWorldUnits)
3737
if (state.fillColor !== null) {
3838
this.graphics.endFill()
3939
}

playground/misc/misc-3-release-notes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The CodinGame SDK is regularly updated and improved. This document lets you know what changed in the latest releases.
44

5+
## Next Release
6+
7+
### 🐞 Bug fix
8+
9+
- `Circle` entities now displayed again
10+
511
## 3.4.1
612

713
### 🎁 New features
@@ -17,6 +23,10 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
1723

1824
- PIXI updated from v4.4.3 to v4.8.5
1925

26+
### ⚠️ Known issues
27+
28+
- `Circle` entities no longer displayed
29+
2030
## 3.4.0
2131

2232
⛔ Broken version

0 commit comments

Comments
 (0)