Hopefully a dead easy question - i've got a set of sprites / sprite sheets I want to import - how do I do this? Tried the Tile import but that doesn't seem to do anything.
Files are 16x16 and 8x8 pngs with larger po2 sprite sheets. Tried with both 8 and 16 bit colour depths and with/without transparency.
Hello! This unfortunately isn't documented well, since we mainly meant for assets exported from Pulp to then be imported into Pulp. But it works with any properly formatted .PNG!
So, your file should be a set of 8 × 8 px tiles. Save it as [name]-table-8-8.png. In Pulp, go to the Game tab, and down to the Assets section. Click Import next to Just tiles. If all has gone well, the new tiles should be available in the Room section, under the World layer. I hope that helps!
Thanks for this feature, but there's one little issue: can you name imported tiles based on the sprite sheet name + the order in sheet? So we can generate some code offline to make a multitile character. Right now they're just use global id as a name.
Also-also, do you plan anything to import frames for each of the tiles that way?
I'm having the same problem as Rob. In fact, even tiles exported from Pulp are being imported with a weird white pattern overlayed on top of them. For example, here's a picture of the default player sprite, which I've exported and re-imported.
I was having similar corruption problems with import/export a tile when running Pulp in Brave or Chrome browsers on my MacBook Pro running MacOS High Sierra. But it works in Safari for some reason! Hopefully it can be fixed so others don't have to go through the same pains when they start developing in Pulp?