1
0
Fork 0
Commit Graph

143 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 1845e38613 Clamp the zoom to avoid crashes. 2017-06-26 17:53:18 +01:00
Starbeamrainbowlabs 441cb5a283 Change the cursor depending on the tool selected 2017-06-26 17:18:37 +01:00
Starbeamrainbowlabs 247d3f3cc6 Implement pan & pointer tools 2017-06-26 16:57:26 +01:00
Starbeamrainbowlabs bfe8c25b6c [client] Add new debug display param & implement some chunk update request logic. It's buggy though apparently. 2017-06-24 20:24:56 +01:00
Starbeamrainbowlabs 334acdbc18 Start work on the chunk update request handling.
There's a thorny issue with deserialising into ChunkReference in the server.... that should be fun to solve. I'll have to do some head scratching\!
2017-06-23 21:32:29 +01:00
Starbeamrainbowlabs 1935f6350e [client] Refactor ChunkCache a bit to start adding chunk loading logic 2017-06-22 22:38:05 +01:00
Starbeamrainbowlabs 5e59d7098a Enchance chunk hightlighting and add keyboard control 2017-06-22 21:00:59 +01:00
Starbeamrainbowlabs 0bbe117f3d [client] Add todo 2017-06-15 17:27:24 +01:00
Starbeamrainbowlabs ce1f8545a6 [client] Fix chunk loading at high zooms 2017-06-15 17:25:11 +01:00
Starbeamrainbowlabs 4ff91f700b [client] Remove viewport console debug, as we've now got the debugging info panel :D 2017-06-15 17:21:47 +01:00
Starbeamrainbowlabs dc795f6d00 Fix chunk loading when zoomed in. 2017-06-15 17:20:22 +01:00
Starbeamrainbowlabs 653df90674 Create simple debug panel 2017-06-15 13:12:30 +01:00
Starbeamrainbowlabs 74a0010e59 [client] Tidy up translations 2017-06-12 20:46:50 +01:00
Starbeamrainbowlabs 636bc0535a Fix pencil live preview and more zomming issues 2017-06-12 19:53:05 +01:00
Starbeamrainbowlabs 70ed434f1b Finish accounting for zoom level in the pencil 2017-06-12 19:13:22 +01:00
Starbeamrainbowlabs aec619a34b Start accounting for the zoom level when drawaing things to the screen 2017-06-12 18:53:32 +01:00
Starbeamrainbowlabs 62dd7af656 Fix visible chunk area calculations 2017-06-12 18:48:08 +01:00
Starbeamrainbowlabs 0808c05f05 Improve bindings between pencil and interface 2017-06-12 18:15:49 +01:00
Starbeamrainbowlabs b043362f29 [client] Account for zoom when rendering chunks. 2017-06-11 22:01:12 +01:00
Starbeamrainbowlabs 00117a35a9 [client] Get chunks to account for position on canvas 2017-06-11 21:47:38 +01:00
Starbeamrainbowlabs 6a0d3180a7 [client] Fix chunk update piping & display logic 2017-06-11 21:39:33 +01:00
Starbeamrainbowlabs 6ca05e8d44 [client] Update chunk cache 2017-05-29 21:59:15 +01:00
Starbeamrainbowlabs 8d38086eaf [client] Fix crash by fiddling with imports 2017-05-04 21:38:30 +01:00
Starbeamrainbowlabs e7b6293278 [client] Fix new WebSocket pathing 2017-05-04 21:38:03 +01:00
Starbeamrainbowlabs 19412e4361 Update connection to be ip address agnostic 2017-05-04 19:53:38 +01:00
Starbeamrainbowlabs ccb93f9850 [client] Finish ChunkCache renderer & start hooking up a chunk update mechanism 2017-05-01 14:40:05 +01:00
Starbeamrainbowlabs 5d716fe925 [client] Write ChunkCache renderer method renderVisible() 2017-04-30 14:40:53 +01:00
Starbeamrainbowlabs 4e2a27df94 [client] Start creating chunk representation system 2017-04-29 13:56:33 +01:00
Starbeamrainbowlabs d582396f74 [client] Fix the cursor update frequency 2017-04-29 13:43:50 +01:00
Starbeamrainbowlabs d79fdc8d04 [server] Fix ripplespace representation 2017-04-29 13:43:19 +01:00
Starbeamrainbowlabs 2ded353c12 [client] Fix connection status indicator 2017-04-28 18:22:09 +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 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 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 9cd578512b [client] Fix linepart pushes 2017-04-23 18:16:18 +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 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 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 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 53c43f10fc Add LinePart class 2017-03-31 18:58:47 +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 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 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 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 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 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 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 11a2c846fc Finish hooking up Http server. Next up: client settings. 2017-01-21 17:06:19 +00:00