Skip to content

Commit ed17b1e

Browse files
committed
Added loading to examples
1 parent 4da4297 commit ed17b1e

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<h1 align="center" style="font-size: 26px;"> Custom Loading in Brawl Stars </h1>
2+
3+
Generic loading in ["loading.fla"](./loading.fla) file
4+
5+
<br/>
6+
7+
Loading is a bit tricky because it uses a 9-slice which requires some preparation. If you are using sc2fla in Python, then you need to turn all 9slice shapes into fills with a solid fill. Also you need to disable auto kerning in all textfields, otherwise it will not work for some reason.
8+
But I have already made all these preparations and am sharing here a fla that you can customize as you want and export.
9+
10+
<p align="center">
11+
<img src="./loading.gif">
12+
</p>
13+
14+
<p align="center" style="font-size: 12px;">
15+
My first custom loading for Ghoul Stars
16+
</p>
370 KB
Binary file not shown.
10.1 MB
Loading

examples/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ In ["Brawl Stars/Face"](./Brawl%20Stars/Face/README.md) you can find facial anim
2222

2323
</br>
2424

25+
<h1 style="font-size: 22px;"> Game Loading </h1>
26+
27+
The first impression is very important!
28+
In ["Brawl Stars/Loading"](./Brawl%20Stars/Loading/README.md) you can sample project to create your own loading screen.
29+
30+
<p align="center">
31+
<img src="./Brawl Stars/Loading/loading.gif">
32+
</p>
33+
34+
</br>
35+
2536
<h1 align="center" style="font-size: 26px;"> Clash royale </h1>
2637

2738
<h1 style="font-size: 22px;"> Character </h1>

plugin/source/Window/PluginWindow.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ namespace sc {
4444

4545
dialog->Destroy();
4646
readyToExit = true;
47-
this->Close();
48-
});
47+
this->Close(true);
48+
});
4949
}
5050

5151
StatusComponent* PluginWindow::CreateStatusBarComponent(

0 commit comments

Comments
 (0)