Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Score Giver Multiplier?
Archive: 5 posts
Hi everyone, First off let me apologise for the fact that my first post on this fine forum is to ask a question, but it's something that's been driving me mad all day and I'm hoping someone here can help me! Basically, I'm building a music/rhythm game at the moment (an early version of which has been published and you can find on my LBP.me profile if anyone would like to take a look - it's a bit crude right now but I'm hoping it'll turn out really well!), and there's one feature that I'm desperate to include. How it works at the moment is that I have a key switch attached to a controlinator, with a few tags synced in time to some music. It's all hooked up so that when you press the appropriate button on the controller, you score 10 points using the new score giver thingy. It works fine, well enough for the time being at least, that's not the problem. But what I would like to do is have it so that when you hit a certain amount of notes in a row (say, 5), the score giver starts giving you 20 points rather than 10, until such a time that you miss a note, which would reset it to 10. I've spent a good couple of hours fiddling about with microchips and logic trying to get this to work, but I can't. I've tried practically everything I can think of - using counters combined with a selector, mixing in toggles...I even had a look at direction splitters! - but nothing's producing the effect I want. The closest I can get is a system that gives out 20 points every five notes you hit, but that's not really what I want. The frustrating thing is that I'm pretty sure it should be relatively simple, but I just can't see how it can be done. I'm hoping someone here can at least point me in the right direction Thanks a lot in advance! | 2011-01-24 15:39:00 Author: Rotek19 Posts: 5 |
That should be possible using counters. Have a counter that counts up to five with each correct note, connect this to input 2 of a selector. An incorrect note will reset the counter to 0 and the selector to input 1. The connect output 1 of the selector to 10 points giver and output 2 to 20 points giver. | 2011-01-24 15:46:00 Author: Nuclearfish Posts: 927 |
Thanks for the incredibly speedy reply! I've had a go following those instructions, and it's kind of working, but not quite. Essentially it's a much more simple version of what I've been trying to hook up all day. So I can see your thinking, but the issue now is the same one that I've been having the most trouble with. The problem is that when the counter reaches its target (5) and changes the selector's output, it gives 20 points on the first note you hit under these new conditions (so, the 6th note in the 'combo&apos but then won't give out any more points until you actively miss a note. In other words, the output from the selector is 'always on', and won't track any more points after the first. Missing a note indeed resets the counter and changes the selector's input/output, but again only the first time. So in order to score any points, you'd have to hit the first five notes, get 20 points, miss a note, hit the next one for 10, combo five to get 20, miss a note...not great, in other words! (I hope all that makes sense, it's quite complex!) The only way I can see of getting around it is making the counter reset itself after hitting 5, but that kind of defeats the object and, besides, it only has one reset input which I'd ideally want to use when a note's missed. | 2011-01-24 16:22:00 Author: Rotek19 Posts: 5 |
You should theoretically need to add 2 AND gates to your circuit, input 1 for both AND gates should be your in-game score "trigger" (hitting the right button). Input 2 of the first AND gate should be output 1 from the selector. The output of AND gate 1 should attach to your 10 point score giver input. Input 2 of the second AND gate should be output 2 from the selector. The output of AND gate 2 should attach to your 20 point score giver input. | 2011-01-24 16:30:00 Author: RoharDragontamer Posts: 397 |
Got it! It's working exactly how I want it to. Thanks a lot to both of you for the advice, you're lifesavers! | 2011-01-24 16:41:00 Author: Rotek19 Posts: 5 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.