1
0
Fork 0
Commit Graph

287 Commits

Author SHA1 Message Date
Starbeamrainbowlabs d79fdc8d04 [server] Fix ripplespace representation 2017-04-29 13:43:19 +01:00
Starbeamrainbowlabs b21608d261 [server] Fix line splitting logic.... except it broke again :-( 2017-04-28 22:25:55 +01:00
Starbeamrainbowlabs 4954d53523 [server] Initialise value of list in message object 2017-04-28 18:22:33 +01:00
Starbeamrainbowlabs 2ded353c12 [client] Fix connection status indicator 2017-04-28 18:22:09 +01:00
Starbeamrainbowlabs 4efeff5a06 [server] DrawnLine.LineWidth -> Width, and extra logging 2017-04-28 18:14:14 +01:00
Starbeamrainbowlabs d44012044b [client] Tweak brush indicator, and add keyboard controls 2017-04-28 18:13:41 +01:00
Starbeamrainbowlabs ce7c4b22c4 Create brush indicator 2017-04-28 12:42:34 +01:00
Starbeamrainbowlabs 903fe26af9 [client] Add to interface 2017-04-27 21:53:07 +01:00
Starbeamrainbowlabs e1f2b2910a [client] Add better background to sidebar and create Interface class 2017-04-27 18:36:45 +01:00
Starbeamrainbowlabs 5b75eff4eb [client] Tidy up dependencies 2017-04-25 20:08:50 +01:00
Starbeamrainbowlabs d9ad49bddb [server] Support serving embedded files from subfolders 2017-04-25 20:08:30 +01:00
Starbeamrainbowlabs ad8fc60db8 [client] Upgrade sidebar. It's not totally functional yet :P 2017-04-25 19:34:03 +01:00
Starbeamrainbowlabs 16f726b32e [client] Update the logo <img /> to reference the symlink 2017-04-25 11:51:14 +01:00
Starbeamrainbowlabs f140c8aeaa [client] Create symlink to temporary logo to allow it to be easily included as an embedded resource 2017-04-25 11:50:21 +01:00
Starbeamrainbowlabs 0571c18b4a [client] Create html shell for ui 2017-04-25 11:45:27 +01:00
Starbeamrainbowlabs 43989cf299 [client] Emit keydown events just like keyup does, and log DownKeys for debugging purposes 2017-04-24 22:03:23 +01:00
Starbeamrainbowlabs 9e391a90d9 [client] Keep the pencil off the page if the ctrl key is held down (for panning) 2017-04-24 21:49:07 +01:00
Starbeamrainbowlabs d0ed30b6d3 [client] un-invert the panning 2017-04-24 21:43:52 +01:00
Starbeamrainbowlabs bb084d70a4 [client] Fix the grid drawing. Hooray\! :D :D :D 2017-04-24 21:42:31 +01:00
Starbeamrainbowlabs fec2530576 [server] Tweak log message 2017-04-24 20:18:09 +01:00
Starbeamrainbowlabs fb25d09461 Draw debug grid (off by default, press g to toggle) 2017-04-24 20:12:27 +01:00
Starbeamrainbowlabs c394c5b1e9 [client] Get Keyboard class to emit events with names depending on which key was released 2017-04-24 19:43:31 +01:00
Starbeamrainbowlabs 402a6b2b26 Change the way plane changes are acknowledged 2017-04-24 19:32:28 +01:00
Starbeamrainbowlabs 96485f3f0e [server] Fix LineIncubator->LineExists() 2017-04-24 18:09:18 +01:00
Starbeamrainbowlabs 9cd578512b [client] Fix linepart pushes 2017-04-23 18:16:18 +01:00
Starbeamrainbowlabs 6e58139eea [server] Be more chatty about what's going on 2017-04-23 18:06:58 +01:00
Starbeamrainbowlabs 31d9507fdb [server] Log about new messages received - except CursorPosition messages, of course :P 2017-04-23 17:41:41 +01:00
Starbeamrainbowlabs 5914ee6d56 [server] Correct name of handleChunkUpdate() method 2017-04-23 17:41:15 +01:00
Starbeamrainbowlabs 27390a33b8 [client] Land on a default plane when first connecting 2017-04-23 17:40:41 +01:00
Starbeamrainbowlabs ffd2b32abb [client] Show errors sent by the server in the console. 2017-04-23 17:26:29 +01:00
Starbeamrainbowlabs 363fdbb20c Send an ErrorMessage to the client if they try to draw a line before selecting a plane 2017-04-23 17:22:21 +01:00
Starbeamrainbowlabs 48056bd888 [server] Guid -> string for line ids 2017-04-23 17:11:46 +01:00
Starbeamrainbowlabs 71b1042e13 [client] More contains -> includes 2017-04-16 16:53:06 +01:00
Starbeamrainbowlabs 3cb7c1576f [client] contains -> includes 2017-04-16 16:51:52 +01:00
Starbeamrainbowlabs a89608e36f [server] Correct event names in event map 2017-04-16 16:48:37 +01:00
Starbeamrainbowlabs e5342b07db [client] Fix bugs in Mouse and Pencil.js 2017-04-16 16:25:32 +01:00
Starbeamrainbowlabs 4a55f7a941 [client] Only render the pencil if it actually exists 2017-04-16 16:18:45 +01:00
Starbeamrainbowlabs ec5f7e0bd9 [client] Make the pencil listen to mouse events on the canvas, not the document 2017-04-16 16:10:27 +01:00
Starbeamrainbowlabs aa0852a3b2 [server] Prevent exception from being thrown if a rogue LineComplete message is received 2017-04-16 16:00:49 +01:00
Starbeamrainbowlabs 405a5aad85 [server] Update the line incubator to add additional methods for later 2017-04-16 15:54:59 +01:00
Starbeamrainbowlabs 2b36c9a09d [server] Create planes that don't exist if the client requests one 2017-04-16 15:54:29 +01:00
Starbeamrainbowlabs fa7fbfd0ac [server] Allow RippleSpaceManagers to create new planes. 2017-04-16 15:24:37 +01:00
Starbeamrainbowlabs 48c2011500 [server] Get nibri clients to listen for chunk updates and send them down the wire 2017-04-16 15:19:59 +01:00
Starbeamrainbowlabs ce3197dd98 [server] ChunkUpdateEvent -> OnChunkUpdate 2017-04-16 15:03:51 +01:00
Starbeamrainbowlabs 4d09301187 [server] Add ReflectPlane method for sending messages later 2017-04-15 16:45:56 +01:00
Starbeamrainbowlabs 5dc1a2d9e5 [server] Start handling line part and line complete udpates correctly. Also add more logic to the chunk/plane system ready for later. 2017-04-15 16:40:25 +01:00
Starbeamrainbowlabs b6f50a48ba [client] Notify the server when we complete a line. 2017-04-15 16:20:30 +01:00
Starbeamrainbowlabs bb05a16e40 Fill out more of the live line system. 2017-04-15 13:13:07 +01:00
Starbeamrainbowlabs a85d1fa0ed Create initial keyboard handler, and start processing pan-zoom events 2017-04-14 21:08:36 +01:00
Starbeamrainbowlabs 89b576260f Implement more of the pencil 2017-04-14 20:22:01 +01:00
Starbeamrainbowlabs be15bf85cb Prepare Rectangle.cs and Vector2.cs to be promoted to a gist! 2017-04-01 10:17:36 +01:00
Starbeamrainbowlabs 53c43f10fc Add LinePart class 2017-03-31 18:58:47 +01:00
Starbeamrainbowlabs c5bef6dc52 [server] Session end 2017-03-29 21:35:04 +01:00
Starbeamrainbowlabs 62857c1004 [server] Add line incubator and start writing line part handler 2017-03-29 21:34:24 +01:00
Starbeamrainbowlabs a8c1b8e99c [server] Add LinePart event message class 2017-03-29 21:21:11 +01:00
Starbeamrainbowlabs 7d4c521877 [client] Port the server's DrawnLine class to the client 2017-03-28 21:03:26 +01:00
Starbeamrainbowlabs 4350d53723 [client] Add color npm class depencency 2017-03-28 21:03:26 +01:00
Starbeamrainbowlabs b14f7c9948 [client] Make Chunk/Location reference classes inherit from Vector 2017-03-28 21:03:21 +01:00
Starbeamrainbowlabs 2ea097fdbc [client] Add cuid npm module 2017-03-28 20:36:49 +01:00
Starbeamrainbowlabs 7829f4d733 [client] Add Pencil class. It isn't finished yet. 2017-03-28 20:26:30 +01:00
Starbeamrainbowlabs 4b5a895f0e [client] Add mouse manager class 2017-03-28 20:26:26 +01:00
Starbeamrainbowlabs 507211cd0e [client] Create Chunk class 2017-03-28 19:50:03 +01:00
Starbeamrainbowlabs 7f0574a67c [client] Create client-side chunk cache and {Location,Chunk}Reference classes 2017-03-28 19:40:24 +01:00
Starbeamrainbowlabs 77ce5b4d71 [server] Continue wiring the ripplespace to nibri client, mainly by implementing the ChunkUpdateRequest message handler and all it's reuqired backend methods & classes. 2017-03-25 19:49:44 +00:00
Starbeamrainbowlabs 22a03d9ab9 [server] Implement Rectangle.Overlap() 2017-03-20 19:47:33 +00:00
Starbeamrainbowlabs e193220846 [server] Update ChunkReference 2017-03-20 18:47:21 +00:00
Starbeamrainbowlabs 535c0436de [server] Update the nibri client to be plane-aware 2017-03-20 18:34:34 +00:00
Starbeamrainbowlabs 525399a0a6 [server] Add PlaneChangeMessage to list of handled message types 2017-03-20 18:29:50 +00:00
Starbeamrainbowlabs 3442639631 [server] Add BroadcastPlane 2017-03-20 18:28:56 +00:00
Starbeamrainbowlabs e8beaec1c3 [server] Add ExcecptionMessage 2017-03-20 18:21:41 +00:00
Starbeamrainbowlabs c4947474cd [server] Fill out PlaneChangeMessage 2017-03-20 18:10:28 +00:00
Starbeamrainbowlabs f454ff0c61 [server] Update NuGet packages 2017-03-20 18:06:45 +00:00
Starbeamrainbowlabs d846d335b1 [server] Fill out more nibri client <--> plane interaction logic 2017-03-20 18:06:20 +00:00
Starbeamrainbowlabs c559e6eaef [server] Create NibriClient.CanSee() method stub 2017-03-04 21:54:06 +00:00
Starbeamrainbowlabs b2be6e590b [server] Start sorting out chunk synchronisation 2017-03-04 21:49:51 +00:00
Starbeamrainbowlabs f3c2806243 Add references to the ripple space manager to allow the nibri clients to interact with it. 2017-03-04 19:59:22 +00:00
Starbeamrainbowlabs 8572ed6d52 [client] Spelling currection 2017-03-02 20:36:27 +00:00
Starbeamrainbowlabs f72b0819ba Add some required packages to package.json 2017-02-23 19:29:25 +00:00
Starbeamrainbowlabs 38993fc4cb Bugfix Rectangle.js 2017-02-23 18:15:18 +00:00
Starbeamrainbowlabs cfbb0ec2f1 Comment out exit 1 in validate.sh 2017-02-23 18:13:53 +00:00
Starbeamrainbowlabs 394f7f4284 Bugfix validate.sh 2017-02-23 18:09:48 +00:00
Starbeamrainbowlabs 23af3da0df Start working on es6 validation bash script that uses acorn 2017-02-22 22:25:34 +00:00
Starbeamrainbowlabs 56b1cb5148 Looks like acorn is going to be the package to use to validate es6! 2017-02-21 20:34:53 +00:00
Starbeamrainbowlabs 74c7c64015 [client] Refactor OtherClient data into class. 2017-02-21 20:34:18 +00:00
Starbeamrainbowlabs 3689f685b9 [server] Bugfix: Correct Rectangle logic 2017-02-21 18:25:48 +00:00
Starbeamrainbowlabs 6f4388c50f [server] Rename ClientState.AbsCursorPosition to ClientState.CursorPosition 2017-02-21 18:11:17 +00:00
Starbeamrainbowlabs 686dd2f56d Put some infrastructure in palce to better handle disconnects and shutdowns. 2017-02-19 16:35:12 +00:00
Starbeamrainbowlabs 66b16acd3d People can see other peoples' cursors! hooray! :D :D :D 2017-02-19 15:55:22 +00:00
Starbeamrainbowlabs a09229d341 [client] Bugfix: Finish capitalising 'event' in the messages as it's a reserved word in C# 2017-02-19 15:12:23 +00:00
Starbeamrainbowlabs fec2cc85e2 [client] Display own colour! :D 2017-02-19 13:30:18 +00:00
Starbeamrainbowlabs 8c04cfb9e9 Wire up more of the Handshake Response 2017-02-19 13:22:35 +00:00
Starbeamrainbowlabs 1db1788626 [client] Bugfix peer update system 2017-02-19 12:07:42 +00:00
Starbeamrainbowlabs cfdb1c8309 [server] Send client colours in state updates 2017-02-19 11:58:00 +00:00
Starbeamrainbowlabs 08ee44a5c4 Store client state updates sent by the server. 2017-02-19 11:57:42 +00:00
Starbeamrainbowlabs 8f3b7b9bd9 [client] Rename CursorSyncer to ViewportSyncer 2017-02-19 11:38:08 +00:00
Starbeamrainbowlabs 10283712ef [client] Turn cursor into a crosshair while over canvas. 2017-02-19 11:35:29 +00:00
Starbeamrainbowlabs 45231ab717 [server] Bugfix: Fix broadcast call. 2017-02-19 11:34:34 +00:00
Starbeamrainbowlabs 494b0561bb [server] Properly respond to handshake requests. 2017-02-19 11:33:03 +00:00
Starbeamrainbowlabs 73e30f3027 Add header intellisense comment to ColourHSL 2017-02-19 11:25:44 +00:00
Starbeamrainbowlabs 2e12e55297 Bugfix: Fix COlourHSL. 2017-02-19 11:20:08 +00:00
Starbeamrainbowlabs 786f765f05 We're almsot there~\! 2017-02-09 22:24:17 +00:00
Starbeamrainbowlabs dac3d86dcd Remove client build process output 2017-02-07 21:53:57 +00:00
Starbeamrainbowlabs 679e667cf2 Fiddle with RippleLink 2017-02-07 21:49:55 +00:00
Starbeamrainbowlabs 18eb1abb11 Send cursor updates to the server. 2017-02-07 21:29:17 +00:00
Starbeamrainbowlabs 64e3a4db59 Remove old JsonConverters. 2017-02-05 17:27:46 +00:00
Starbeamrainbowlabs e36cc6578a Bigfux: Ignore extra computed properties when serialising Rectangles. 2017-02-05 15:11:04 +00:00
Starbeamrainbowlabs e71ff31ef2 Finish fixing bugs in the core message handling system. It works, more or less! :D 2017-02-05 14:46:40 +00:00
Starbeamrainbowlabs 690abc6445 Begin working on the client, and fix a ton of bugs in the server deserialisation process. 2017-02-04 21:26:48 +00:00
Starbeamrainbowlabs 199ffbfe40 Add comments todescribe the uses of various classes. 2017-01-28 18:49:26 +00:00
Starbeamrainbowlabs 4336f1e38c Implement more of the server-side message handling logic. 2017-01-28 18:41:35 +00:00
Starbeamrainbowlabs 504f8daed2 Add files I missed 2017-01-27 21:25:49 +00:00
Starbeamrainbowlabs abbcb7a8c8 Start building message classes and deserialising incoming messages into them 2017-01-27 21:24:58 +00:00
Starbeamrainbowlabs 96c6c8e565 Add Send & Broadcast methods to Websocket handling logic 2017-01-22 20:56:31 +00:00
Starbeamrainbowlabs 22373b82c7 Detect & prevent an FPS of greater than 60 2017-01-22 13:05:59 +00:00
Starbeamrainbowlabs 060f01cf75 Set up ripple link websocket connection. 2017-01-21 18:38:52 +00:00
Starbeamrainbowlabs 8a5dda1c05 Send settings file to client. 2017-01-21 18:13:42 +00:00
Starbeamrainbowlabs 11a2c846fc Finish hooking up Http server. Next up: client settings. 2017-01-21 17:06:19 +00:00
Starbeamrainbowlabs 33f3c44d6e Set up core basic framework that calls the main code 2017-01-19 13:13:35 +00:00
Starbeamrainbowlabs cf8fb234b4 Create scaffolding for WebSocket connection handling logic 2017-01-10 20:53:50 +00:00
Starbeamrainbowlabs 7faac0f6a8 Fix build. Set up initial blank embeds. 2017-01-10 20:36:03 +00:00
Starbeamrainbowlabs 879fc98f83 Add blank html & css files 2017-01-10 20:34:10 +00:00
Starbeamrainbowlabs d3a0e4fa60 Fix rogue comma in npm package.json 2017-01-10 19:54:17 +00:00
Starbeamrainbowlabs 2b81fbc468 Start setting up Http server & WebSocket listener 2017-01-10 19:52:27 +00:00
Starbeamrainbowlabs b3f0cc647f Add blank index.js and build 2017-01-10 19:51:49 +00:00
Starbeamrainbowlabs 75089daaae Add npm run build as csproj before build command 2017-01-09 20:58:29 +00:00
Starbeamrainbowlabs 424a6bfcd1 Begin setting up http server & client code. 2017-01-09 20:54:37 +00:00
Starbeamrainbowlabs e181aaefc4 Add http / websocket library via nuget. 2017-01-08 18:00:52 +00:00
Starbeamrainbowlabs b35a11a2ee Update DrawnLine & Plane to allow line addition. 2017-01-08 14:45:48 +00:00
Starbeamrainbowlabs d8677a6e4b Bugfix: Correct LocationReference class' equating logic 2017-01-07 20:20:20 +00:00
Starbeamrainbowlabs 37051e0f7b Fill out more classes incl. DrawnLine.
Also fill out some of the comparison logic & the chunk wiring.
2017-01-07 20:19:21 +00:00
Starbeamrainbowlabs 6e894f58fc Fill things out a bit and star working on de/serialisation 2017-01-07 17:35:56 +00:00
Starbeamrainbowlabs 89e2ccafd2 Set up initial chunk loading skeleton. 2017-01-06 21:14:31 +00:00
Starbeamrainbowlabs f3c515263e Set up variables in the Chunk class. 2017-01-06 20:48:53 +00:00
Starbeamrainbowlabs 4bd0ca9d8f Set up the {Location,Chunk}Reference classes. 2017-01-06 20:45:35 +00:00
Starbeamrainbowlabs c9bd9b3219 Add intellisense description to each core structure class. 2017-01-06 19:05:27 +00:00
Starbeamrainbowlabs bd2932832b Create intial empty core structure classes. 2017-01-06 18:57:58 +00:00
Starbeamrainbowlabs e2f48a01a3 Rename to remove uppercase 'board' in main name 2017-01-06 18:53:58 +00:00