Add game menu screenshot
This commit is contained in:
parent
bf1cfff244
commit
db8cd1ace1
3 changed files with 3 additions and 3 deletions
|
|
@ -19,4 +19,6 @@ To try this main menu, clone this repository and modify the paths in `local asse
|
||||||
<img src="screenshots/content.png" width="50%">
|
<img src="screenshots/content.png" width="50%">
|
||||||
<br>Server list:<br>
|
<br>Server list:<br>
|
||||||
<img src="screenshots/servers.png" width="50%">
|
<img src="screenshots/servers.png" width="50%">
|
||||||
|
<br>Default game menu (WIP):<br>
|
||||||
|
<img src="screenshots/game.png" width="50%">
|
||||||
</div>
|
</div>
|
||||||
4
init.lua
4
init.lua
|
|
@ -108,9 +108,7 @@ local default_game_menu = [[
|
||||||
{% view main %}
|
{% view main %}
|
||||||
|
|
||||||
{% set worlds = get_worlds() %}
|
{% set worlds = get_worlds() %}
|
||||||
|
|
||||||
{{ field(2, 2, 4, 0.75, 'test', '???') }}
|
|
||||||
|
|
||||||
{# Special layouts are applied when there are less than four worlds for a given game. #}
|
{# Special layouts are applied when there are less than four worlds for a given game. #}
|
||||||
{% if len(worlds) == 1 %}
|
{% if len(worlds) == 1 %}
|
||||||
|
|
||||||
|
|
|
||||||
BIN
screenshots/game.png
Normal file
BIN
screenshots/game.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Loading…
Add table
Add a link
Reference in a new issue