-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Startup screen improvements + finalized for alpha
- Loading branch information
Showing
17 changed files
with
894 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "gozen-ffmpeg"] | ||
path = gozen-ffmpeg | ||
url = [email protected]:VoylinsGamedevJourney/gozen-ffmpeg.git | ||
[submodule "GoZen-docs"] | ||
path = gozen-docs | ||
url = [email protected]:VoylinsGamedevJourney/GoZen-docs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,53 @@ | ||
#!/bin/bash | ||
|
||
rm -r gozen-ffmpeg/bin/* | ||
# Get amount of cores/threads for compiling | ||
read -p "Enter amount of cores/threads for compiling: " num_jobs | ||
|
||
|
||
# Get build target | ||
echo "Please select the build target for GoZen-ffmpeg:" | ||
echo "1. template_debug" | ||
echo "2. template_release" | ||
read -p "Enter your choice (1-2): " target | ||
|
||
case $target in | ||
1) | ||
target=template_debug | ||
;; | ||
2) | ||
target=template_release | ||
;; | ||
*) | ||
echo "Choosing target=template_debug as no (valid) argument was given." | ||
target=template_debug | ||
;; | ||
esac | ||
|
||
# First argument: Amount of threads | ||
# Second argument: Target you want to develop for | ||
pushd gozen-ffmpeg | ||
./build.sh 10 target_debug | ||
popd | ||
|
||
# Hiding it for now, incase no new builds are possible, | ||
# we don't lose the previous one | ||
#rm -r src/bin/* | ||
# Get the target platform | ||
echo "Please select your target platform:" | ||
echo "1. Linux" | ||
echo "2. Windows" | ||
echo "3. Mac" | ||
read -p "Enter your choice (1-3): " platform | ||
|
||
cp -r gozen-ffmpeg/bin/. src/editor/bin | ||
case $platform in | ||
1) | ||
platform=linux | ||
;; | ||
2) | ||
platform=windows | ||
;; | ||
3) | ||
platform=macos | ||
;; | ||
*) | ||
echo "Choosing platform=linuxbsd as no (valid) argument was given." | ||
platform=linuxbsd | ||
;; | ||
esac | ||
|
||
|
||
pushd gozen-ffmpeg | ||
scons -j $num_jobs destination=../src/editor/bin target=$target platform=$platform | ||
popd |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
KEY,en,ja,fr,nl,zh_TW,pl_pl,de,pt_br | ||
TITLE_NEW_PROJECT,"New project","新しいプロジェクト","Nouveau projet","Nieuw project","新專案","Nowy projekt","Neues Projekt","Novo projeto" | ||
TITLE_RECENT_PROJECTS,"Recent projects","最近のプロジェクト","Projets récents","Recente projecten","","Ostatnie projekty","Zuletzt geöffnete Projekte","Projetos recentes" | ||
BUTTON_NEW_HORIZONTAL_FHD_PROJECT,"New 1080p (landscape)","新1080p (横)","Nouveau 1080p (paysage)","Nieuw 1080p (landschap)","","Nowy 1080p (poziomy)","Neues 1080p (Landschaft)","Novo 1080p (paisagem)" | ||
BUTTON_NEW_VERTICAL_FHD_PROJECT,"New 1080p (portrait)","新1080p (縦)","Nouveau 1080p (portrait)","Nieuw 1080p (portret)","","Nowy 1080p (pionowy)","Neues 1080p (Porträt)","Novo 1080p (retrato)" | ||
BUTTON_NEW_HORIZONTAL_4K_PROJECT,"New 4K (landscape)","新4K (横)","Nouveau 4K (paysage)","Nieuw 4k (landschap)","","Nowy 4k (poziomy)","Neues 4k (Landschaft)","Novo 4K (paisagem)" | ||
BUTTON_NEW_VERTICAL_4K_PROJECT,"New 4K (portrait)","新4K (縦)","Nouveau 4K (portrait)","Nieuw 4k (portret)","","Nowy 4k (pionowy)","Neues 4k (Porträt)","Novo 4K (retrato)" | ||
BUTTON_NEW_CUSTOM_PROJECT,"New custom","新カスタム","Nouveau personnalisé","","","","","Novo personalizado" | ||
BUTTON_OPEN_PROJECT,"Open project","プロジェクトをを開く","Ouvrir un projet","Open project","","Otwórz projekt","Projekt öffnen","Abrir projeto" | ||
BUTTON_SUPPORT_PROJECT,"Support this project","このプロジェクトを支援する","Supporter ce projet","Steun dit project","","Wesprzyj ten projekt","Unterstütze dieses Projekt","Apoie este projeto" | ||
POPUP_CUSTOM_PROJECT_TITLE,"Custom project","カスタムプロジェクト","","","","","","" | ||
POPUP_CUSTOM_PROJECT_NAME,"Project title:","プロジェクトのタイトル:","","","","","","" | ||
POPUP_CUSTOM_PROJECT_SIZE,"Project size:","プロジェクトのサイズ:","","","","","","" | ||
POPUP_CUSTOM_PROJECT_BUTTON_CANCEL,"Cancel","キャンセル","","","","","","" | ||
POPUP_CUSTOM_PROJECT_BUTTON_OK,"OK","了解","","","","","","" | ||
POPUP_CUSTOM_PROJECT_TOOLTIP_X,"Width in pixels for the project.","プロジェクトの幅(ピクセル)","","","","","","" | ||
POPUP_CUSTOM_PROJECT_TOOLTIP_Y,"Height in pixels for the project.","プロジェクトの高さ(ピクセル)","","","","","","" | ||
UNTITLED_PROJECT_TITLE,"Untitled project","新プロジェクト","","","","","","" | ||
EXPLORER_OPEN_PROJECT,"Open project","プロジェクトを開く","","","","","","" | ||
EMPTY,"","","","","","","","" | ||
KEY,en,ja,fr,nl,zh_TW,pl_pl,de,pt_br,uk_UA,ru_RU | ||
TITLE_NEW_PROJECT,"New project title:","新プロジェクトのタイトル:","","Nieuwe project titel:","","","","","","" | ||
TITLE_RECENT_PROJECTS,"Recent projects","最近のプロジェクト","Projets récents","Recente projecten","","Ostatnie projekty","Zuletzt geöffnete Projekte","Projetos recentes","Нещодавні проєкти","Недавние проекты" | ||
TEXT_UNTITLED_PROJECT_TITLE,"Untitled project","新プロジェクト","Projet sans titre","Naamloos project","未命名專案","","","","Проєкт без назви","Проэкт без названия" | ||
EXPLORER_OPEN_PROJECT,"Open project","プロジェクトを開く","Ouvrir un projet","Open project","開啟專案","","","","Відкрити проєкт","Открыть проект" | ||
BUTTON_OPEN_PROJECT,"Open project","プロジェクトをを開く","Ouvrir un projet","Open project","開啟專案","Otwórz projekt","Projekt öffnen","Abrir projeto","Відкрити проєкт","Открыть проект" | ||
BUTTON_SUPPORT_PROJECT,"Support this project","このプロジェクトを支援する","Supporter ce projet","Steun dit project","支持此專案","Wesprzyj ten projekt","Unterstütze dieses Projekt","Apoie este projeto","Підтримати проєкт","Поддержать проект" | ||
BUTTON_SHOW_ALL_PROJECTS,"Show all projects","全部のプロジェクトを見る","","Toon alle projecten","","","","","","" | ||
BUTTON_CREATE_PROJECT,"Create new project","新プロジェクトを作成する","","Maak nieuw project","","","","","","" | ||
BUTTON_RETURN_MAIN,"Go back","戻る","","Terug","","","","","","" | ||
TOOLTIP_EDITOR_BUTTON,"Go to the GoZen Github page","GoZenのGithubページを見る","","Ga naar de GoZen Github pagina","","","","","","" | ||
TOOLTIP_HD,"720p resolution","720p 解像度","","720p resolutie","","","","","","" | ||
TOOLTIP_FHD,"1080p resolution","1080p 解像度","","1080p resolutie","","","","","","" | ||
TOOLTIP_4K,"4K resolution","4K 解像度","","4K resolutie","","","","","","" | ||
TOOLTIP_8K,"8K resolution","8K 解像度","","8K resolutie","","","","","","" | ||
TOOLTIP_HORIZONTAL,"Change to landscape mode","横向きモードに変更","","","","","","","","" | ||
TOOLTIP_VERTICAL,"Change project to portrait mode","ポートレートモードに変更","","","","","","","","" | ||
TOOLTIP_FPS,"Frame-rate","フレームレート","","","","","","","","" | ||
TOOLTIP_FPS_30,"Preset: 30 frames per second","プリセット: 30 フレーム/秒","","","","","","","","" | ||
TOOLTIP_FPS_60,"Preset: 60 frames per second","プリセット: 60 フレーム/秒","","","","","","","","" | ||
TOOLTIP_FPS_120,"Preset: 120 frames per second","プリセット: 120 フレーム/秒","","","","","","","","" | ||
TOOLTIP_RESOLUTION_X,"Width in pixels for the project.","プロジェクトの幅(ピクセル)","Largeur du projet en pixels.","","專案寬度(像素)","","","","Ширина проєкту у пікселях.","Ширина проэкта в пикселях." | ||
TOOLTIP_RESOLUTION_Y,"Height in pixels for the project.","プロジェクトの高さ(ピクセル)","Hauteur du projet en pixels","","專案高度(像素)","","","","Висота проєкту в пікселях.","Высота проэкта в пикселях." | ||
TOOLTIP_EXIT_BUTTON,"Close GoZen","GoZenを閉じる","","Sluit GoZen","","","","","","" | ||
TOOLTIP_NEW_PROJECT_TITLE,"The name of the project you want to create","作成したいプロジェクトの名前","","De naam van het project die je wilt maken","","","","","","" | ||
TOOLTIP_BUTTON_CREATE_PROJECT,"Create and open new project","新しいプロジェクトを作成して開く","","Maak en open een nieuw project","","","","","","" | ||
TOOLTIP_BUTTON_SHOW_ALL_PROJECTS,"Show all projects which were previously opened","以前に開いたすべてのプロジェクトを表示","","Toon alle projecten die reeds geopend zijn","","","","","","" | ||
TOOLTIP_BUTTON_OPEN_PROJECT,"Select a '*.gozen' file to open in the editor","エディタで開く「*.gozen」ファイルを選択します","","Selecteer een '*.gozen' bestand om te openen","","","","","","" | ||
TOOLTIP_BUTTON_SUPPORT_PROJECT,"This button will take you to my ko-fi page where you can make a donation which is very much appreciated","このボタンをクリックすると、私のko-fiページに移動し、寄付をしていただけます。大変感謝しています!","","","","","","","","" | ||
TOOLTIP_BUTTON_RETURN_MAIN,"Return to main menu","メインメニューに戻る","","Terug naar hoofdmenu","","","","","","" | ||
EMPTY,"","","","","","","","","","" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
extends TextureRect | ||
## Moving window | ||
## | ||
## The logic which allows the window to be moved when dragging from the | ||
## "WelcomeImage" node. | ||
|
||
|
||
var move_window := false | ||
var move_start: Vector2i | ||
|
||
|
||
func _process(_delta: float) -> void: | ||
if move_window: | ||
var mouse_delta = Vector2i(get_viewport().get_mouse_position()) - move_start | ||
get_window().position += mouse_delta | ||
|
||
|
||
func _on_welcome_image_gui_input(event: InputEvent) -> void: | ||
if event is InputEventMouseButton and event.button_index == 1: | ||
if !move_window: | ||
move_start = get_viewport().get_mouse_position() | ||
move_window = event.is_pressed() |
Oops, something went wrong.