Git Product home page Git Product logo

Comments (12)

thmsndk avatar thmsndk commented on August 15, 2024

Question is, should we render a "dead" creep instead of a tombstone? either way, currently there is no model for tombstones as far as I can see, it would be an "easy" model to make I guess, a tombstone, compared to somehow visualize the creep as dead, with crossed "eyes" or something, maybe we should just make a tombstone model :)

image

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

image

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

image

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

image

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

image

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

@Robalian could we perhaps visualize the amount of energy/ resources on the actual tombstone ? like a little container next to it or something like that? i'm not sure if we know how "much" energy it could contain, so it would be hard to visualize how "empty" it is I guess?

from screeps3d.

Robalian avatar Robalian commented on August 15, 2024

I was just making an experiment on dropped resources in simulation room. The results are:
resource "stain" scales linearly from little dot to it's maximum size. The maximum size is approximately 60% of tile size for energy and 92% for minerals. The maximum size is reached at 1000 units of energy/1500 units of mineral and it caps there.

We could use these numbers not only for dropped resources, but for tombstones as well. Or we could treat it just like official client treats inactive storages/terminals, so if capacity is 0 it's rendered as full.

Edit: Said approximation was done using MS paint and snipping tool :D

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

I kinda want it visually appealing, so you can see how much is there without having to select it, using the numbers you've found in case we do not have a total capacity might be a good idea :)

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

What about making the tombstone of glass instead, with the players badge "engraved" on each side, and the tombstone being filled with energy based on how much is in it? 🤔 we would have to determine when the tombstone is "full" and "overflowing" I guess 🤔

Or have small "glass vases / containers" around it to visualize amount of energy. a container per 1k energy? or something that makes sense 🤷‍♀

from screeps3d.

Robalian avatar Robalian commented on August 15, 2024

I like vases/containers idea

from screeps3d.

Gadjung avatar Gadjung commented on August 15, 2024

i think i have idea how to make a "chest/vase/some object" next to tombstone, that would show amount of energy / other stuff.
idea with multiple vases/containers have the issue with tombstones with huge amounts stored in them

from screeps3d.

thmsndk avatar thmsndk commented on August 15, 2024

@Gadjung could we shatter pieces of the tombstone or make it look more and more worn based on the decaytime?
I was also considering having the "corpse" of a shattered creep scattered around the tombstone with the correct "work parts" on the different elements of the shattered pieces :)

not sure if it would be too much, but we do have the body of the dead creep in a tombstone.

we could limit it to N amounts of tombstones, and scale the vases depending on content perhaps? e.g. if there is a ton of energy, each vase can contain energy / Y*N

Curious what your idea is :)

from screeps3d.

Related Issues (20)

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.