Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Everything Else LittleBigPlanet 2
#1

best way to build a damage system?

Archive: 8 posts


This doesn't really fit in the help section because I am not asking for a tutorial on how to do it, so I thought I would post this here for discussion.

I've seen the posts about making a timer based life bar, and it looks very good. It is also thermo friendly.

I'm wondering if a pure binary system may be even better. I haven't put it together yet, but using binary it would be possible to determine the percentage of damage and use a sequencer for the cosmetic bits. It would probably be less thermo friendly though.

Has anyone done this? Any thoughts on the thermo hit I would take from it?

Which do you think would be better?
2011-02-27 06:50:00

Author:
tdarb
Posts: 689


I think the timer is great for being identifiable as a lifebar, since holo displays, no matter how ornate, rarely looks anything less than faded... but anything with a variable damage scale (key to 1 unit counter, to count up timer .01 BAM BAM BAM BAM to chip-set lifebar timer and to 2nd counter that resets first counter to reset after X timer hits, and stops timer #1 from 'attacking' the lifebar-timer) is going to reduce the timer the player sees on the surface to just being a cosmetic representation of what's happening. So if you want something flashier or more in context using a holo display, can make it readable and recognizable, and have the thermo for it... then there's no reason not to replace your timer lifebar on the chip with a sequencer sending battery outs to a stack of holo numbers or whatever and let your style shine through.

You really aren't going to kill your therm with that, and I could only see it being a major issue of thermo if you had like... an RTS with lots of little units, and were trying to give them all visual Hit Point displays instead of timer lifebars.. when it's that small, and that much stuff to view & manage, the # display would probably be a bad choice anyway.
2011-02-27 09:23:00

Author:
Unknown User


That depends what you want to build and what kind of damage and heal/repair you want to implement, binary might be uber thermo eater.2011-02-27 15:17:00

Author:
Shadowriver
Posts: 3991


Yeah, I'm just curious. Obviously it would be more thermo intensive, but for smaller values it shouldn't be too bad. The display would be an issue, though I think that can be worked around with only minor difficulty.

On the upside, being able to have near 0 latency, and apply any degree of damage at once is a huge plus. It would be fun to experiment with it and see what happens. I really like the idea of flexibility it offers.
2011-03-01 05:23:00

Author:
tdarb
Posts: 689


http://www.youtube.com/watch?v=JXJzQrsGxpc&feature=player_embedded

Comph's new video, very helpful.
2011-03-01 05:34:00

Author:
booXely
Posts: 654


On the upside, being able to have near 0 latency, and apply any degree of damage at once is a huge plus. It would be fun to experiment with it and see what happens. I really like the idea of flexibility it offers.

Judging from rtm's writing on sampling I'd say near zero latency and any degree of damage are possible with timers too. But experimenting yourself is always good.
2011-03-01 12:45:00

Author:
Rogar
Posts: 2284


Which do you think would be better?

The "best way" kinda depends on the application really - there is no "one size fits all". There are a number of different ways of doing it, which each have pros and cons with respect to flexibility, accuracy, latency, and thermo use.

If you have a specific application in mind, then perhaps elaborating on that might be beneficial for those offering their opinion, but as a general rule, a digital solution will always win on all counts except thermo use.
2011-03-01 19:48:00

Author:
Aya042
Posts: 2870


no, nothing in particular in mind. I just finished a digital setup for something else, and am debating the merits of different ways to make a damage system. After going through the setup of a binary "bank" of sorts, and setting up a binary to bcd converter (and subsequently seeing a more efficient way), it just seems like an interesting thing to talk about some. Both methods seem to have pros and cons.2011-03-02 04:04:00

Author:
tdarb
Posts: 689


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.