Chess-Shader-With-Artificial-Intelligence icon indicating copy to clipboard operation
Chess-Shader-With-Artificial-Intelligence copied to clipboard

SDK3?

Open Phr3d13 opened this issue 3 years ago • 10 comments

Is there anything stopping this from working in a Udon/SDK3 world?

Phr3d13 avatar Apr 15 '21 00:04 Phr3d13

No, you can strip off all the SDK2 stuff, that's only used to sync a ball that you grab. Everything else should be portable since its just shaders.

SCRN-VRC avatar Apr 15 '21 00:04 SCRN-VRC

any chance you'd feel like updating it? I'm a complete Unity noob...

Phr3d13 avatar Apr 15 '21 00:04 Phr3d13

You can try using the avatar's prefab for a world, that has got sdk2 stuff removed cause avatars can't them.

SCRN-VRC avatar Apr 15 '21 00:04 SCRN-VRC

Ok, that one seems like it works better... but I'm either having issues understanding how to play, or the controls are having issues. I can walk through the board and get boxes to light up green and orange, but can't figure out how to actually start playing.

Phr3d13 avatar Apr 15 '21 01:04 Phr3d13

Ah it's VR only, you have to tap the board on what you want to move then tap where you want to move to. That's why there's a ball in the world version, to simulate a hand touching the board.

SCRN-VRC avatar Apr 15 '21 01:04 SCRN-VRC

and it's the ball in the world version that is locked to SDK2?

Phr3d13 avatar Apr 15 '21 01:04 Phr3d13

You can try adding a synced object in Udon that's people can grab

SCRN-VRC avatar Apr 15 '21 01:04 SCRN-VRC

Exactly what I needed for K/M (non-VR) interacting! Thank you!

Phr3d13 avatar Apr 15 '21 01:04 Phr3d13

I used a Marker (from the free pool/billiards game unity asset that I was already using), added 4 components to it (Rigidbody (added when adding one of the other components (turned off "Use Gravity", and turned on "Is Kinematic")), Mesh Collider (had to turn on Convex), Udon Behavior (turned on "Synchronize Position" and "Allow Ownership Transfer on Collision"), and VRC Pickup).

Phr3d13 avatar Apr 15 '21 04:04 Phr3d13

I can try making it more desktop friendly by just letting people click on the board. Though this probably won't happen any time soon.

SCRN-VRC avatar Apr 15 '21 04:04 SCRN-VRC