Queue starting from title: http://lbp.me/v/xe5vw8 From First Cave: http://lbp.me/v/xe5tp1
You come to consciousness in a cave, with no memory. Suddenly, you recieve a mysterious transmission.
Cave Story Copyright (c) Daisuke "Pixel" Amaya. Download it for free at cavestory.org
Note: I am fairly inactive on PSN lately, so don't expect a response if you send me a PSN message or a comment on the level.
redninja952 asks:
"How did you make them equip *weaponry? I've been searching this for a long time, this is exactly what I imagined it to be, full aiming system and everything. Would you be so kind to tell me? If you do and I make a level with what I have learned, I'll be sure to give credit!"
(Answered here due to comment length limit.)
Inside each sackbot, I have a system which maps the player's inputs indirectly to the actions of the sackbot.
You'll notice that when you put a Controllinator on a sackbot, each button has both an input and an output. If you connect a wire to the button's input, that will override when the player is pressing that button. For instance if you hook the circle button to the X button, the circle button will cause the bot to jump instead of X.
For instance, in my level, the left and right directional buttons are connected to the left analog stick inputs to control movement.
For aiming, I have a battery connected to the R2 button (right hand) and I send signals to the right analog stick to point the hand in the direction the player is aiming. I use selectors to keep track of which direction the player is currently aiming, and direction combiners to convert that to a ±X and ±Y signal. The accelerometer's X and Y inputs were also connected to these directions so that the sackbots' heads look in the direction they are aiming their guns.
All of these signals had their analog values tweaked without end with AND gates and batteries to get the most visually appealing result possible. I also had to tweak it so that changing directions from left to right did not cause the right hand to do a "sackboy slap!"
(For more information on analog signal processing in LBP2, check out rtm223's series of tutorials here: http://www.lbpcentral.com/forums/entry.php?2069-Analogue-Logic-1-Fundamentals and check out my level "Signal Display" which provides a tool you can use to probe them. However, depending on what you are doing, this may not be necessary.)
In order to fire bullets in the direction the sackbots are aiming, there is an invisible piece of hologram material that follows the sackbot. It has a joystick rotator which is also connected to the sackbot's aim direction, and an emitter which creates the bullets.
The guns in the characters' hands are just decorations that I stickered to their palms!
The whole setup with mover tweaks to get the jumps just right, timers as health bars, adders/subtractors to perform math, followers to get the right camera movement, and sensors to detect when the sackbot is standing on a platform (to get the jumping right) is painfully complicated! However, the weapon and aiming system is pretty well summarized above.
Most of these concepts (except remembering the previous aim direction when no direction is pressed) can theoretically be applied to analog aiming instead of directional aiming, by simply using the right stick instead of the directional buttons.
only game freaks know how to put this together
BasedSwagPro 1 week ago
@BasedSwagPro Game Freak is the developer of the Pokémon series.
phort99 1 week ago 4
I'm trying to make something similar but I can't figure out how to make them shoot in the direction their looking in. Tips?
0ion 3 weeks ago
@0ion Hey, I already posted an in-depth description of how this works in the description.
phort99 3 weeks ago
@0ion From the video description: "In order to fire bullets in the direction the sackbots are aiming, there is an invisible piece of hologram material that follows the sackbot. It has a joystick rotator which is also connected to the sackbot's aim direction, and an emitter which creates the bullets."
phort99 3 weeks ago
can u be more accurate? how do i play this Cave story 3d on PC? what do i need?
KingNovek 3 weeks ago
@KingNovek This was created for the PS3 game LittleBigPlanet 2, so you can't play it without a PS3.
phort99 3 weeks ago