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

LittleBigPlanet 2 Top down shooter

Archive: 5 posts


Ok, I'm making a top down Twin Stick Shooter that the Players will vs each other with a character that will be equipped with an M16 or AK-47. Depending on the players choice. Well theoretically one of the clips will hold 25 rounds (I think that's how you use theoretically please correct me if I'm wrong). Now i can't make an emitter to emit only 25 so i have to make it where it can tell if you've fired all of the shots. What can i do for that? My only idea is to make a timer and i have but is that reliable? Is that what everyone else does? What is the best solution to use for this? 2011-07-30 07:49:00

Author:
Unknown User


Use a counter with a max of 25. When it's full, the player cannot fire anymore until he reloads. When he reloads, reset the timer.2011-07-30 12:03:00

Author:
Brannayen
Posts: 438


But you may want to invert the counter, and put it into and AND gate with whatever fires... I think that'll look better, in my head of course 2011-07-30 13:35:00

Author:
Unknown User


yes but we are talking about an automatic gun here so the counter will only count once while the player fires on and on2011-07-31 01:22:00

Author:
Unknown User


Ah, put a point one sec timer WITH RESET into the counter2011-07-31 01:30: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.