notes
This commit is contained in:
parent
f042d13dbd
commit
17f0403436
3 changed files with 41 additions and 5 deletions
16
MonoNet.cs
16
MonoNet.cs
|
@ -4,13 +4,16 @@ using System.Net;
|
|||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Speech.Synthesis;
|
||||
using System.Speech.Recognition;
|
||||
using System.Speech.AudioFormat;
|
||||
|
||||
public class MonoNet {
|
||||
public Mono mono;
|
||||
public MonoNet(Mono mono) {
|
||||
this.mono = mono;
|
||||
Random rnd = new Random();
|
||||
me = new Peer(rnd.Next(1, 256)); // temp, until unique usernames
|
||||
me = new Peer(rnd.Next(1, 256)); // let the server determine these
|
||||
}
|
||||
public Socket socket;
|
||||
int bufferSize = 1024;
|
||||
|
@ -30,6 +33,17 @@ public class MonoNet {
|
|||
wData = new byte[bufferSize];
|
||||
peers = new Peer[64];
|
||||
|
||||
// SpeechSynthesizer synth = new SpeechSynthesizer();
|
||||
// synth.Speak("oriels!");
|
||||
|
||||
// SpeechRecognitionEngine reco = new SpeechRecognitionEngine();
|
||||
|
||||
// System.IO.Stream s;
|
||||
// // s.Write();
|
||||
|
||||
// SpeechAudioFormatInfo info = new SpeechAudioFormatInfo(EncodingFormat.Pcm, 16000, 16, 1, WaveFormatTag.Pcm, 1, 1);
|
||||
// reco.SetInputToAudioStream(s, info);
|
||||
|
||||
Thread.Sleep(1000); // useful?
|
||||
|
||||
Thread readThread = new Thread(Read);
|
||||
|
|
29
README.md
29
README.md
|
@ -23,10 +23,31 @@
|
|||
- gif maker
|
||||
|
||||
## override
|
||||
15 days left for the sterokit comp
|
||||
10 days left for the sterokit comp
|
||||
|
||||
1/3 mvp:
|
||||
MVP
|
||||
switch between cursors with a button (quick press(b) on both hands to switch/cycle through the two handed ones) long press(b) on one hand to swap mainhand
|
||||
|
||||
2/3 polish:
|
||||
movement:
|
||||
fullstick
|
||||
teleport and drag
|
||||
bezier rails
|
||||
|
||||
3/3 accessibility:
|
||||
blocks you can manipulate with spatial cursors (trackballer)
|
||||
+ and color them with the color cube (player colors
|
||||
|
||||
see and use a parabolizer (sci fi thingy)
|
||||
|
||||
inverse orbital (control a shooty thing with fullstick and spatial cursor)
|
||||
|
||||
|
||||
POLISH
|
||||
fix (server sending back your data)
|
||||
*just show them red when hit*
|
||||
bezier in color cube
|
||||
calibrate cubic flow + sensitivity
|
||||
press and twist to adjust sensitivity (long press(b) and trigger for value *keep cursor active) (min 1:1)
|
||||
|
||||
|
||||
ACCESSIBILITY
|
||||
show how the dofs work (debug visuals *CMY)
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="StereoKit" Version="0.3.4" />
|
||||
<PackageReference Include="System.Speech" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Reference in a new issue