To make modding a little smother I made a generic object for myself that is just a green box when you place it in the world. A framework and place holder sprite for anything new I want to make. When I use it in game though I get this strange black outline around it. That is the glow that should be red when you can't place it and blue when you have it in a good spot. For this item though it is just black. =/
Could it be an issue with your transparency? Maybe you need to have a 1px transparent border around your object.
Adding a one pixel transparent border to the sprite fixed the problem but caused a new one. That caused another problem though. Now it has a one pixel gap off the floor and anything on top of it. I guess the black border is just a rendering bug then and nothing I did.
I've got this problem too. I think it just has to do with how the game renders certain objects based on their transparency. It's not a big deal though, since the object still works as it should (assuming the code is right).
Looking at the other furniture items, you have to specify the exact dimensions in the item definition files. irontable.frames: Code: { "frameGrid" : { "size" : [40, 16], "dimensions" : [1, 1], "names" : [ [ "default" ] ] } } "size" : [40, 16], "dimensions" : [1, 1], The above have to correspond exactly to the image dimensions. and irontable.object: Code: { "objectName" : "irontable", "rarity" : "Common", "description" : "A table with swords for legs. Not ideal for playing footsie.", "shortdescription" : "Iron Table", "race" : "generic", "category" : "furniture", "price" : "500", "apexDescription" : "This table brings a sense of finality to stubbing one's toe.", "avianDescription" : "Sitting here would be enough to make anyone edgy.", "floranDescription" : "Floran cut on table. Now, Floran cut WITH table.", "glitchDescription" : "Comfort. A casual table. Others seem wary of it.", "humanDescription" : "I'm extremely hesitant to sit here.", "hylotlDescription" : "Perhaps this is slightly too dangerous as an alternate use of weapons.", "inventoryIcon" : "irontableicon.png", "orientations" : [ { "dualImage" : "irontable.png:<color>", "imagePosition" : [-16, 0], "frames" : 1, "animationCycle" : 1.0, "spaceScan" : 0.1, "anchors" : [ "bottom" ], "collision" : "platform" } ] } "imagePosition" : [-16, 0], "spaceScan" : 0.1, "anchors" : [ "bottom" ], "collision" : "platform" These are likely the cause of your strange border issues.
I have all that stuff is right. I went back and did another test. I left the image the same size with no transparent border and just put one transparent pixel in the center. That made the in game outline work fine. So the whole thing seems to be that the border freaks out and turns black if there is not at least one transparent pixel in the sprite.