crosscode-map-editor icon indicating copy to clipboard operation
crosscode-map-editor copied to clipboard

SteamPipe cannot be scaled in map editor

Open elluminance opened this issue 2 years ago • 3 comments

The size of some pipe types (such as HORIZONTAL) can be scaled in the x/y direction, yet the editor has no support for this functionality.

elluminance avatar Aug 12 '23 17:08 elluminance

What is a pipe type?

Vegita2 avatar Aug 12 '23 18:08 Vegita2

Basically, it indicates what direction the pipe goes. image

elluminance avatar Aug 12 '23 18:08 elluminance

I meant to post this yesterday, but I forgot. This is how it looks in the game's code: the scaling property is defined in the relevant sc.STEAM_PIPE_TYPES entry, which can contain scaleX and/or scaleY. I am not surprised the map editor's entity script missed this, as these properties are defined in the SteamPipe's init function by overriding the this._wm property.

image

(and in ig.ENTITY.SteamPipe.init():) image

elluminance avatar Aug 13 '23 17:08 elluminance