adapted tour and controls
This commit is contained in:
parent
c20d747921
commit
b99f018891
@ -45,9 +45,8 @@ do
|
|||||||
northeast = "600 300 0",
|
northeast = "600 300 0",
|
||||||
southwest = "-600 -300 0",
|
southwest = "-600 -300 0",
|
||||||
|
|
||||||
-- Used by the Diana and Wini cards referencing the bottom-right global controls, moved a little
|
-- Used by the cards referencing the bottom-right panel, moved a little closer to them
|
||||||
-- closer to them
|
southeast = "675 -365 0"
|
||||||
southeast = "730 -365 0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Tracks the current state of the tours. Keyed by player color to keep each player's tour
|
-- Tracks the current state of the tours. Keyed by player color to keep each player's tour
|
||||||
@ -198,10 +197,9 @@ do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Creates a small, transparent object which the camera will be attached to in order to move the
|
-- Creates a small, transparent object which the camera will be attached to in order to move the user's view
|
||||||
-- user's view around the table. This should be called only at the beginning of the tour. Once
|
-- around the table. This should be called only at the beginning of the tour. Once creation is complete
|
||||||
-- creation is complete the user's camera will be attached to the hook and the first card will be
|
-- the user's camera will be attached to the hook and the first card will be shown.
|
||||||
-- shown.
|
|
||||||
---@param playerColor string Player color to create the hook for
|
---@param playerColor string Player color to create the hook for
|
||||||
internal.createCameraHook = function(playerColor)
|
internal.createCameraHook = function(playerColor)
|
||||||
local hookData = {
|
local hookData = {
|
||||||
|
@ -5,15 +5,15 @@
|
|||||||
color="clear"/>
|
color="clear"/>
|
||||||
</Defaults>
|
</Defaults>
|
||||||
|
|
||||||
<!-- Buttons at the bottom right (height: n * 37 - 2) -->
|
<!-- Buttons at the bottom right (height: n * width + spacing) -->
|
||||||
<VerticalLayout visibility="Admin"
|
<VerticalLayout visibility="Admin"
|
||||||
color="#000000"
|
color="#000000"
|
||||||
outlineSize="1 1"
|
outlineSize="1 1"
|
||||||
outline="#303030"
|
outline="#303030"
|
||||||
rectAlignment="LowerRight"
|
rectAlignment="LowerRight"
|
||||||
width="35"
|
width="38"
|
||||||
height="72"
|
height="78"
|
||||||
offsetXY="-1 120"
|
offsetXY="-1 123"
|
||||||
spacing="2">
|
spacing="2">
|
||||||
<Button class="navbar"
|
<Button class="navbar"
|
||||||
icon="devourer"
|
icon="devourer"
|
||||||
@ -31,8 +31,8 @@
|
|||||||
outlineSize="1 1"
|
outlineSize="1 1"
|
||||||
outline="#303030"
|
outline="#303030"
|
||||||
rectAlignment="LowerRight"
|
rectAlignment="LowerRight"
|
||||||
width="35"
|
width="38"
|
||||||
height="35"
|
height="38"
|
||||||
offsetXY="-1 85">
|
offsetXY="-1 85">
|
||||||
<Button class="navbar"
|
<Button class="navbar"
|
||||||
icon="NavigationOverlayIcon"
|
icon="NavigationOverlayIcon"
|
||||||
|
Loading…
Reference in New Issue
Block a user