Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Health Pickup help

Archive: 6 posts


trying to make a health pickup and wondering how would i go about making my lives replinish by one when its picked up i currently have 3 lives max and one hit =one life lost 2012-07-02 04:38:00

Author:
Unknown User


What kind of health system are you using? (Examples: Counter-based, timer-based, feedback-loop-based)

Since it sounds like you're using a counter-based system, have a counter with a target count of 3. Set its current count to 3, and don't invert it. Wire a direction combiner into the counter. Wire your damage system into the negative input of the direction combiner.

For the health system, wire an impact sensor with the health pickup to the positive input of the direction combiner. You should add logic on the health pickup to destroy immediately after contact with the player.

Wire the output of the counter to a NOT gate and wire that to any game-ending logic you've setup.
2012-07-02 05:02:00

Author:
BIGGamerer
Posts: 182


its a selector hooked up to toggle switches which are wired to to hologram bars which represent lives when hit removes one live from health by toggling the hologram bar off2012-07-02 06:08:00

Author:
Unknown User


watch this:

LBP2-Torials 05: Health Bars And Addition Applications (http://www.youtube.com/watch?v=JXJzQrsGxpc&hd=1)
2012-07-02 06:38:00

Author:
GribbleGrunger
Posts: 3910


AKA wlchrbandit's inefficient logic? wlchrbandit came up with some logic techniques that were great when he first uploaded his twin-stick shooter tutorial, but there are now much better ways of creating and displaying health than wlchrbandit's techniques. (If you can't tell, I'm quite annoyed to see everyone still using stuff from wlchrbandit's tutorials even though people have found techniques which make the tutorials outdated and obsolete.)

I recommend you change your health system completely. A feedback-loop-based health system like what's in my upcoming shooter Zombie Epidemic is flexible with taking and regaining various amounts of damage. Check out pivottt's health meter toolkit (http://lbp.me/v/5e2r2g) and comphermc's tutorial on feedback loops (http://www.youtube.com/watch?v=c4GaCQ1eRVE&list=UUhuVRageHxiKjyJiXzV0c1Q&index=8&feature=plcp) if you don't know where to begin.

NOTE: I had to rush through this post due to time.
2012-07-02 15:22:00

Author:
BIGGamerer
Posts: 182


its a selector hooked up to toggle switches which are wired to to hologram bars which represent lives when hit removes one live from health by toggling the hologram bar off

A counter would be a lot more efficient than that.
2012-07-07 01:49:00

Author:
Unknown User


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.