Code Monkey home page Code Monkey logo

tarmac's Issues

Add configuration for spritesheet padding size

The underlying architecture of Tarmac's packing does support configurable padding sizes, it just isn't exposed to the user. Currently, spritesheets are padded with a single pixel.

image

Adding another optional config, spritesheet_padding_size, would allow the user to modify that value in their tarmac.toml.

image

This is relevant because I am experiencing frustrating sprite bleeding in some cases, and adding a touch more padding would presumably hide the problem.

Fails to upload decals

Currently tarmac fails to upload any decals. Uploading will give a Roblox server API error:

[ERROR] Roblox API returned HTTP 500 Internal Server Error with body: The page cannot be displayed because an internal server error has occurred.

(returned when running tarmac sync --target roblox)

Tarmac not respecting `codegen` InputConfig flags for `false` (..?)

It seems that codegen behavior had changed at some point, without being documented. Even with codegen explicitly set as false, Tarmac adds .lua files for each image file upon sync (even with --target none), without requesting it. We have our own codegen format that reads directly from tarmac-manifest.toml at compile-time, so this is completely useless for us.

I've attached a screenshot of this behavior, with our current configuration.

image

failed to query metadata of file (using "rbxassetid://ID") as filename

.toml file

name = "BV-Images"
upload-to-group-id = GROUP_ID #group link is valid, just don't wanna post my group link here
asset-cache-path = "cached-images"

[[inputs]]
glob = "images/**/*.png"
codegen = true
codegen-path = "images.lua"
codegen-base-path = "images"

Error Message:
Code_9wHDNJXgrD

Add Cloud API support

Right now Tarmac is lacking a way to support for the new cloud API, supporting this may allow us to incorporate managing other asset types as well.

My fork had this pull request, it still needs work to incorporate into the project, however. Could perhaps instead use rbxcloud to simplify our internals around Cloud API a bit?

Main functionalities user-side should be:

  • It should allow passing API key directly via --api-key argument in the CLI
  • It should also allow using environment variable - perhaps TARMAC_API_KEY?
  • If an API key is provided or present; use Open Cloud API for uploads otherwise fallback on cookies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.