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

Sprite Logic

Archive: 10 posts


Ok, with the new sticker panel material a lot of people are oging to want to make animated stickers that can interact with a level.
Now I know how to make the sprites and hook them up to a sequencer but I'm not sure how to get it to interact with the enviroment.
e.g. How can I make a sprite that will walk on a platform, but when they walk off of said platform, they fall down?

It's probably really simple but I can't figure it out?

Note: Method must be invisible in play mode.
2011-08-19 19:06:00

Author:
Jedi_1993
Posts: 1518


Tags and Tag sensor are what your going to use.

Also multiple animations with different syles aswell.
2011-08-19 23:19:00

Author:
zzmorg82
Posts: 948


I give a blackstickered sackbot a tag, then, give all the animations followers, so when, you sakcbot is walking it follows. And just when the sackbot is not touching a tag called (let's say ground) it changes the animation, to make it look like it's falling. Keep in mind, my level is a 8bit one. so its completely dark in and flat. thats why the black sticker.2011-08-19 23:23:00

Author:
fighterwindplus
Posts: 403


@zzmorg82 Seems that way, I'll fiddle with some settings.

@ghost500 A black sackbot won't do for my upcoming level. I'm planning on using the new material to make a background.
2011-08-20 00:01:00

Author:
Jedi_1993
Posts: 1518


Are you looking for a sprite that walks four wys or two ways?2011-08-21 04:14:00

Author:
Unknown User


You need to label the floor a tag, easy to use floor. When NOT in contact with the floor (and maybe NOT jumping) activate a down mover.2011-08-21 04:33:00

Author:
Unknown User


You need to label the floor a tag, easy to use floor. When NOT in contact with the floor (and maybe NOT jumping) activate a down mover.

Oh yeah! XD Can't believe I overlooked that! Thanks.
2011-08-21 10:15:00

Author:
Jedi_1993
Posts: 1518


Don't worry, happens to me all the time. I make some overly compacted thing to realize I needed only one or to logic pieces not [*insert very very very very large number here*] pieces. 2011-08-22 04:40:00

Author:
Unknown User


Or set the ceiling to a tag named Up, Left wall Left, Right wall Right and floor Down, and have the advanced mover split the directions, AND them to the proper tag impact sensors, combine them and wire them to the mover.2011-08-24 13:44:00

Author:
NcLc2010
Posts: 72


Or set the ceiling to a tag named Up, Left wall Left, Right wall Right and floor Down, and have the advanced mover split the directions, AND them to the proper tag impact sensors, combine them and wire them to the mover.

I wrote a tutorial about that exact logic. Link in sig.

OP, don't forget you can stick invisible shapes outside of the sprite with impact sensors on them. For instance, one of those below the feet of the sprite will light up when it is touching the floor; you won't have to have the sprite itself touch the floor.
2011-08-24 14:32:00

Author:
Antikris
Posts: 1340


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.