File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
3+
34< head >
45 < meta charset ="utf-8 ">
56 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7778 li a : hover {
7879 background-color : hsla (0 , 0% , 50% , 0.1 );
7980 }
81+
82+ li a * {
83+ float : left;
84+ }
85+
86+ li a p {
87+ height : 24px ;
88+ margin : 20px 10px ;
89+ }
90+
8091 </ style >
8192</ head >
93+
8294< body >
8395 < h1 > Godot demo projects</ h1 >
8496 < p >
Original file line number Diff line number Diff line change 7575
7676 # Append the demo to the list of demos for the website.
7777 PROJECT_NAME=$(cat project.godot | grep "config/name" | cut -d '"' -f 2 | tr -d "\n")
78- echo "<li><a href='$demo'><img width="64" height="64" src="$demo/favicon.png" alt=""> $PROJECT_NAME</a></li>" >> "$BASEDIR/.github/dist/demos.html"
78+ echo "<li><a href='$demo'><img width="64" height="64" src="$demo/favicon.png" alt=""><p> $PROJECT_NAME</p> </a></li>" >> "$BASEDIR/.github/dist/demos.html"
7979 done
8080
8181 cat "$BASEDIR/.github/dist/header.html" "$BASEDIR/.github/dist/demos.html" "$BASEDIR/.github/dist/footer.html" > "$BASEDIR/.github/dist/index.html"
Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ To import all demos at once in the project manager:
2626- Choose the path to the folder containing all demos.
2727- All demos should now appear in the project manager.
2828
29+ ## Try the demos in your browser
30+
31+ Most of the demos are exported to GitHub Pages. They can be viewed
32+ [ here] ( https://godotengine.github.io/godot-demo-projects/ ) .
33+
34+ ** Note:** The performance of Godot in a browser is lower than natively on
35+ desktop. For the best performance, consider downloading the demos.
36+
2937## Useful links
3038
3139- [ Main website] ( https://godotengine.org )
You can’t perform that action at this time.
0 commit comments