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

how to make a basketball hoop

Archive: 2 posts


Hi everyone! Sorry if this question is simple, or if it's been asked already, but I'm not a skilled creator, and I don't have time to do more than a cursory search of the forum for questions.

Anyway, I'd just like to make my own basketball game, but I'm having trouble with the hoop logic.

Ideally, I'd like the hoop and ball to have all the characteristics that they have in the single player mini-game, but if explaining all that take too long, there's one thing in particular I'd like to know:

Right now I can make a basket that gives the player points when a ball goes through it, but I can't figure out how to only award points when the ball goes through the TOP of the basket ONLY (for example, with my current basket the ball can go up through the bottom of the basket, then back down through again, and points get awarded twice. I'd like this to award no points, since this isn't a legal shot).

Any advice is appreciated. Thanks!
2011-02-21 01:11:00

Author:
lpbkpl
Posts: 1


Maybe put a timer with a reset on the object that gives points that way it would only give points once per 2 seconds. I dunno how to make it only score if it goes in the top other than make it hard for it to go in through the bottom, I.E. Make it a cone shape that is just small enough at the bottom for the ball to get funneled though it when shot from the top, but when the ball is coming at it from the bottom it would have to have perfect trajectory and even if it went up and came back in it wouldn't trigger it twice because of the timer. I am not a skilled creator either but that's my 2 cents.2011-02-21 08:00:00

Author:
Gutz
Posts: 175


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.