rizend / sandy

Project Files for Sandy the Sandbox
0 stars 1 forks source link

RFC: Needs a Simulator! #1

Open Stillerman opened 7 years ago

Stillerman commented 7 years ago

Every programmer has an environment where they code best. For most people, thats not right next to Sandy. Sandy needs a simulator if it is going to be opened up for public development.

rizend commented 7 years ago

Sandy does in fact have a simulation mode (albeit a rather poor one in need of improvement) that is automatically activated if there is no Kinect present. The decision to activate offline mode is in Sandy/KinectLoad.java (see lines 14-34, 51-52, and 145-151) and the current implementation of a fake Kinect for offline mode is in Sandy/OfflineKinect.java. The largest drawback to this mode is that it requires all the dependencies to be installed. I think what you might be looking for is a way to get the simulator to work without having to have libfreenect installed; I think getting the simulator to work without extra dependencies is a separate issue and I have opened an issue for that: #3. If you are aiming at having a good development environment without the Kinect, the simulator also needs some work to be more useful and realistic. Maybe it would also be good to make the window not go into full screen if it detects it is in offline mode.