Bugfixy, odstranění nepoužívaných tříd CameraSystem a ITargetingEnemy, přidání dedikované třídy ReturnToMenuElement, předělání pathfinding algoritmu z DFS na BFS, přesun správy obtížnosti do abstraktní třídy Enemy, přidání scriptů pro kompilaci na aplikaci nevyžadující dotnet
This commit is contained in:
parent
ceac37920b
commit
e5d746d597
24 changed files with 258 additions and 138 deletions
15
build-self-contained-linux.sh
Executable file
15
build-self-contained-linux.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
target_dir=bin/OneNightDuel-linux-x64
|
||||
launch_server_script="while :; do bin/ONDServer; done"
|
||||
|
||||
dotnet publish MonoGameLibrary
|
||||
ln -sfrv MonoGameLibrary/MonoGameLibrary/bin/Release/net9.0/publish/MonoGameLibrary.dll ONDClient/link/MonoGameLibrary.dll
|
||||
|
||||
dotnet publish --runtime linux-x64 --self-contained
|
||||
mkdir -p bin/OneNightDuel-linux-x64/bin/
|
||||
cp -r bin/Client/net9.0/linux-x64/publish/* $target_dir/bin/
|
||||
cp -r bin/Server/net9.0/linux-x64/publish/* $target_dir/bin/
|
||||
|
||||
ln -sfrv $target_dir/bin/ONDClient $target_dir/OneNightDuel
|
||||
|
||||
echo "$launch_server_script" > $target_dir/launch-server-standalone.sh
|
||||
chmod +x $target_dir/launch-server-standalone.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue