Page 1 of 1

Black Bar

Posted: Mon Apr 27, 2015 9:36 pm
by Seraruth
I try the whole day to bring the Bookshelf to work, when I rotate the Bookshelf, there is a black bar on the side. Any Idea what I do wrong?

Image

the front and back view looks good.

The material text for the Bookshelf is:

BEGIN Object
Name WardenBookshelf
Width 2
ConstructionTime 5.00000
MoveSpeedFactor 0.800000
Price -200
RenderDepth 2
NumSlots 1
AttachToWall true
Group StaticObject
BlockedBy Wall
BlockedBy StaticObject
BlockedBy UtilityStation
MadeOf Composite
Properties StaticObject
Properties RoomSpecific
BEGIN Sprite
x 21
y 21
w 4
h 4
RotateType 1
END
END

Any help would be appreciate.

Re: Black Bar

Posted: Thu Apr 30, 2015 6:49 am
by Chad
You've defined the shelf as 4x4 object, which it is from the front/back. If you flip it, the object remains at that dimensions. I assume, that the sprite is on the far edge of your sprite file and the black bar results from that.

Good luck!