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

[Solved] Move detection

Archive: 4 posts


I'm sure there's something somewhere here about this, and I've tried searching and got no results. So, how do you detect when someone's using a move controller rather than just the DS? I was playing a level last night with some grabbable stuff and there was a sticker panel with R1 on it. turned on my move controller and another SP with a T button came on. So, how is this done?2012-04-22 01:25:00

Author:
Eanikran
Posts: 79


This done via some Mm coding magic

The R1 sticker actually changes its look depending if you have a Move Controller plugged in or not.


But if ouy in general want to know if a player uses a Move Controller in one of your levels, I think ShadowriverUB and Aya042 came up with a pretty clever approach for doing this during the Move Beta.
I can't exactly remember how it was done, but it was something about testing if any of the 4 Tilt Outputs on the Move DCS was non-zero...
2012-04-22 09:46:00

Author:
Slaeden-Bob
Posts: 605


If you wire one of the rotation sensors from a Movinator into a positional sequencer with a battery, the battery will only be active if you have a move. If you don't have a Move controller, then the outputs from the movinator send out a value of exactly zero, which doesn't activate said battery.

In other words...


Anyways, due to the use of Cartesian (rather than angular) outputs, there's no possible orientation of the Move where one of the outputs isn't at digital one4, so if you feed all 8 of the rotation outputs into an OR gate, the output will always be digital 1. If you don't have a Move, then all the outputs are zero.



Aya's Thread post about this (https://lbpcentral.lbp-hub.com/index.php?t=63273-Move-Does-the-Activate-input-on-the-Move-Cursor-even-work&p=927582&viewfull=1#post927582)

ShadowriverUB's level:
http://lbp.me/v/6-xr3d
2012-04-22 10:09:00

Author:
VnGamer234
Posts: 111


Hm, I never knew the r1 sticker did that. I've been using one from a community sticker panel font. I'll have to try the directional sequencer too. thanks for the help guys.2012-04-25 02:13:00

Author:
Eanikran
Posts: 79


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.