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

Magic: The Gathering life counter in LBPV?

Archive: 8 posts


The last thread was closed (why?) so I am going to try this again.

I want to make a utility for Magic: The Gathering using LBPV that includes a life counter. I want to make a counter that will display any whole number (between 0 and 99/999) and defaults to 20.

I understand sticker panels and touch screen controls, but I need to figure out the logic. The only method I can think of is to use a 100-input selector and spend a lot of time wiring the sticker panels.

A priority of mine is making the level quick and responsive.

Thanks in advance.
2012-09-30 22:37:00

Author:
Unknown User


I don't know why it was locked.
I moved it from tutorials to help.
2012-09-30 22:41:00

Author:
Lady_Luck__777
Posts: 3458


You won't need a 100 input selector. You can have 3 10 selectors one for each digit (Tens, hundreds)

However you really shouldn't go with numbers that high, because the fastest time you can subtract a digit is 0.1 seconds so a 300 subtraction would take a whoppin 30 seconds.(unless there's something new in LBPV i'm unaware of, those addition ORs might be related for this but i haven't touched them yet) and counters can only go to 100, making logic to identify values over 100 with more than 1 counter can sometimes be trick

If you can try to limit your range to under 100
2012-09-30 22:52:00

Author:
JKthree
Posts: 1125


I could limit my range to 0-99, but I want to know how?2012-09-30 23:04:00

Author:
Unknown User


You won't need a 100 input selector. You can have 3 10 selectors one for each digit (Tens, hundreds)

However you really shouldn't go with numbers that high, because the fastest time you can subtract a digit is 0.1 seconds so a 300 subtraction would take a whoppin 30 seconds.(unless there's something new in LBPV i'm unaware of, those addition ORs might be related for this but i haven't touched them yet) and counters can only go to 100, making logic to identify values over 100 with more than 1 counter can sometimes be trick

If you can try to limit your range to under 100

you can create a pulse that pulses every second frame, so 15 times per second. wire your input to the top input of a 2 port selector, wire the top output to the second input, then also wire the top output to your counter/selector. this works in both lbp2 and lbpv.
however most people use analogue feedback loops for these types of things (health/mana etc), and they are much easier on vita than on lbp2.
2012-10-01 14:06:00

Author:
evret
Posts: 612


If oyu need just show a numbers, then use the Note. You can set the input to show the signal strength. Then it is just a matter to sent there the propper value.2012-10-01 17:43:00

Author:
Agarwel
Posts: 207


Yay! I can start propaganda! I just made a tutorial on this.
Link to the level is in my signature, and go see the LBPVita tutorials section, I made a detailed text version if the level is unclear.
2012-10-01 19:00:00

Author:
Unknown User


Yeah, notes are going to be your best friend if you want to display numbers. Set the not to display numbers, then set the value of the note to whatever the max value you want to display should be. After that, you'll just have to create a counter or timer that will represent the health and connect it to that note for display.2012-10-06 20:26:00

Author:
ChrisF2112
Posts: 265


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.