update uicorner and update readme
This commit is contained in:
parent
3d641b34ce
commit
be86712ede
3 changed files with 7 additions and 5 deletions
|
@ -9,6 +9,8 @@ An in-dev game that I plan to make a shooter game out of.
|
|||
|
||||
Ui theming is based on Catppucin Mocha. You can find the colors [here](https://github.com/catppuccin/catppuccin) and the style guide [here](https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md)
|
||||
|
||||
I should put this in the game sometime, but the option to open the configuration menu is O and the debug menu is F4. You can hold alt in the debug menu to get information when hovering over objects.
|
||||
|
||||
# Hacks
|
||||
* I get a strange error about private identifiers in [`./src/ReplicatedStorage/ecs/state.ts`](./src/ReplicatedStorage/ecs/state.ts)
|
||||
* I decided to omit the "TS" folder from [`./default.project.json:40`](./default.project.json) due to the script override not working in Health.server.ts in StarterCharacterScripts.
|
||||
|
|
|
@ -67,7 +67,7 @@ function config(props: ConfigProps): Roact.Element {
|
|||
Visible={false}
|
||||
/>
|
||||
<Acrylic
|
||||
radius={2}
|
||||
radius={5}
|
||||
distance={0.001}
|
||||
/>
|
||||
<frame
|
||||
|
@ -84,7 +84,7 @@ function config(props: ConfigProps): Roact.Element {
|
|||
FillDirection={Enum.FillDirection.Vertical}
|
||||
/>
|
||||
<uicorner
|
||||
CornerRadius={new UDim(0, 2)}
|
||||
CornerRadius={new UDim(0, 5)}
|
||||
/>
|
||||
<Padding
|
||||
padding={new UDim(0, 5)}
|
||||
|
@ -108,7 +108,7 @@ function config(props: ConfigProps): Roact.Element {
|
|||
paddingX={new UDim(0, 5)}
|
||||
/>
|
||||
<uicorner
|
||||
CornerRadius={new UDim(0, 2)}
|
||||
CornerRadius={new UDim(0, 5)}
|
||||
/>
|
||||
</textbutton>
|
||||
</frame>
|
||||
|
|
|
@ -67,14 +67,14 @@ function slot(props: SlotProps): Roact.Element {
|
|||
Size={new UDim2(1, 0, 1, 0)}
|
||||
>
|
||||
<Acrylic
|
||||
radius={2}
|
||||
radius={5}
|
||||
distance={0.001}
|
||||
/>
|
||||
<uiaspectratioconstraint
|
||||
AspectRatio={slotRatio}
|
||||
/>
|
||||
<uicorner
|
||||
CornerRadius={new UDim(0, 2)}
|
||||
CornerRadius={new UDim(0, 5)}
|
||||
/>
|
||||
<frame BackgroundTransparency={1} Size={new UDim2(1, 0, 1, 0)}>
|
||||
<Padding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue