1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-10 00:31:51 +00:00

SeeableDisplay

This commit is contained in:
TcePrepK 2020-10-29 22:10:57 +03:00
parent 0146aa91bb
commit e6c3e5452e
3 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -99,7 +99,6 @@ export class ConstantSignalSystem extends GameSystemWithFilter {
}
if (itemInput.chosenItem) {
console.log(itemInput.chosenItem);
constantComp.signal = itemInput.chosenItem;
} else {
constantComp.signal = this.parseSignalCode(signalValueInput.getValue());

View File

@ -189,9 +189,13 @@ export class WiredPinsSystem extends GameSystemWithFilter {
);
if (staticComp.getMetaBuilding().getRenderPins()) {
this.sprite = this.pinSprites[slot.type];
if (staticComp.getMetaBuilding().id == "display") {
this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png")
}
drawRotatedSprite({
parameters,
sprite: this.pinSprites[slot.type],
sprite: this.sprite,
x: worldPos.x,
y: worldPos.y,
angle: effectiveRotation,