1581 Commits

Author SHA1 Message Date
drwhut
8e8c25af09 Only send physics state update if the piece is moving. 2020-07-05 12:36:36 +01:00
drwhut
66346dd034 Pieces lock their angular axes if they are close enough to the desired orientation. 2020-07-04 13:04:45 +01:00
drwhut
e9eaa3dce9 Added the poker-sized playing card. 2020-07-04 12:15:08 +01:00
drwhut
f589f9f7c9 Put pieces back on table if they fall off. 2020-07-04 10:35:45 +01:00
drwhut
0149e58995 Client pieces transition smoothly to the server transform. 2020-07-04 09:10:52 +01:00
drwhut
0919ee3410 Can now reset the orientation of a piece. 2020-07-04 01:09:21 +01:00
drwhut
c26c465c61 Pieces will modify their orientations upon being picked up. 2020-07-04 01:03:26 +01:00
drwhut
f5b4e25f7b Changed _hover_forward to _hover_back in Piece. 2020-07-04 00:46:37 +01:00
drwhut
ad291771f3 Server sends current pieces to connecting clients. 2020-07-03 18:43:43 +01:00
drwhut
cd39f957ee Now use rpc*_id if calling a master function. 2020-07-03 18:27:40 +01:00
drwhut
1d88642387 Merged the Lobby scene into Game. 2020-07-03 18:19:59 +01:00
drwhut
ea4f642703 Removed remotesync from _hover_player. 2020-07-03 14:37:30 +01:00
drwhut
807d874b1d Multiplayer works!
The pieces sync states with each other (although basically, this
will be improved in the future), and only one player can grab
pieces at a time. Any player, including the dedicated server, can
add pieces to the table.

This is following the model that a singleplayer game will be a
multiplayer game with a maximum of 1 player, to make the scripting
easier and nicer.
2020-07-03 14:12:32 +01:00
drwhut
11415f5b1d Switched to using open_tabletop_import_module. 2020-07-02 22:46:32 +01:00
drwhut
c817ccada7 Updated license notices. 2020-07-01 08:57:17 +01:00
drwhut
55423d0533
Changed repository name to open-tabletop. 2020-07-01 08:40:17 +01:00
drwhut
823e3aba7d Standardised the units to cm. 2020-07-01 08:08:29 +01:00
drwhut
11f5e238bd Added the d4 and d8. 2020-06-30 16:42:49 +01:00
drwhut
869927b063 Organised project files into folders. 2020-06-30 13:59:22 +01:00
drwhut
3dabe0fe05 Added a piece database which can import textures from any given directory. 2020-06-30 13:40:27 +01:00
drwhut
9e3fcdfd35 Dice no longer all have the same material. 2020-06-30 12:17:46 +01:00
drwhut
e1d5ffbec4 Can now read a specific directory for d6 textures. 2020-06-30 10:05:22 +01:00
drwhut
ac3e86293e Added ability to create a D6. 2020-06-29 10:03:11 +01:00
drwhut
f08f45b378 Removed the card scene for now. 2020-06-28 20:45:08 +01:00
drwhut
86fb5c346b Added the die piece that randomly changes orientation upon shaking. 2020-06-28 11:55:52 +01:00
drwhut
9caeaeec54 Added the ability to flip pieces vertically. 2020-06-28 11:20:40 +01:00
drwhut
fbf4d61766 Stopped pieces from sleeping when being picked up. 2020-06-28 09:08:57 +01:00
drwhut
d1fda017df Added the ability to grab and move pieces. 2020-06-28 08:49:10 +01:00
drwhut
b68b77bc5b Added functionality for rigidbody pieces to float upright in midair. 2020-06-27 22:16:15 +01:00
drwhut
330e795ca6 Created Godot project, added moveable camera functionality. 2020-06-27 18:49:46 +01:00
drwhut
8307668261
Initial commit 2020-06-27 14:20:46 +01:00