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

Menu Navigation?

Archive: 3 posts


OK, so I'm working on a menu for Doodle Jump. So far, so good. The problem comes with the navigation. So far, I have a selector, with an XOR attached that bit on the bottom (forgot what it's called), and the Up/Down on the D-Pad and Analogue stick into that. The thing is, when you press Up on either, it goes down, and vice versa. I've tried doing a lot, but it mostly just makes it so all four buttons make it so they all go down. How do I make it so Up goes up, and down goes down? It's quite annoying, everything I've thought of has failed.2011-02-10 20:55:00

Author:
kirbyman62
Posts: 1893


I believe the problem is the XOR. An OR/XOR gate will by its nature only pass on a positive or true value, so you're not getting the negatives. So either:

A) Remove one of the controls (just use either the D-Pad or the Analog, but not both) or...
B) Add direction splitters to both and send the negatives of both to an XOR and the positives of both to an XOR and then the outputs of those back into a direction combiner and into the Cycle of the Selector. Convoluted and will still not prevent up from being pressed on one and down on the other (you would have to add some AND's in there to accomplish that). Perhaps there's a better way, but it's all I can think of now.

Is it really important that both controls do the same thing?
2011-02-10 22:19:00

Author:
v0rtex
Posts: 1878


I believe the problem is the XOR. An OR/XOR gate will by its nature only pass on a positive or true value, so you're not getting the negatives. So either:

A) Remove one of the controls (just use either the D-Pad or the Analog, but not both) or...
B) Add direction splitters to both and send the negatives of both to an XOR and the positives of both to an XOR and then the outputs of those back into a direction combiner and into the Cycle of the Selector. Convoluted and will still not prevent up from being pressed on one and down on the other (you would have to add some AND's in there to accomplish that). Perhaps there's a better way, but it's all I can think of now.

Is it really important that both controls do the same thing?

Dang, thanks for your help. I guess I want to give players the choice, but it's not that important I guess.
2011-02-11 20:16:00

Author:
kirbyman62
Posts: 1893


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.