- Editor用のUI(Button、TextMesh)はそれ用のクラスを作成し、GameEditorにて表示を行うように変更。
- 2個以上ボタンを生成するとボタンの判定が上手くいかない問題を修正(MouseInputの修正)
- シーンが変わるとボタンが機能しない問題を修正
- EditorButtonをButtonに変更し、(旧)ButtonをButtonComponentと名前を変え、Buttonクラスを用いるように変更
- Spriteクラスを作成し、Renderの記述もそこで行う。そして、Mesh内で行っていたSpriteの処理をすべて、Spriteクラスを用いるように変更
- 抽象クラスRendererを作成し、レンダリングをここに記述し、TextとSpriteはこれを継承するように。
1 parent 4c3d597 commit 046942d1844cee6a349bf4a475e81e4d04f72bbe
NoranekoFelician authored 4 days ago
Showing 20 changed files
View
GameEngine/src/main/java/Main.java
View
GameEngine/src/main/java/gameEngine/GameEditor.java
View
GameEngine/src/main/java/gameEngine/SwingGameEditor.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/entites/GameObject.java
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/Button.java 100644 → 0
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/ButtonComponent.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/EditorButton.java 100644 → 0
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/Mesh.java
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/MoveImage.java
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/Physics.java
View
GameEngine/src/main/java/gameEngine/entites/gameComponents/TextMesh.java
View
GameEngine/src/main/java/gameEngine/input/KeyInput.java
View
GameEngine/src/main/java/gameEngine/input/MouseInput.java
View
GameEngine/src/main/java/gameEngine/scenes/EditorScene.java
View
GameEngine/src/main/java/gameEngine/scenes/Scene.java
View
GameEngine/src/main/java/gameEngine/views/Button.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/views/Renderer.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/views/Sprite.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/views/Text.java 0 → 100644
View
GameEngine/src/main/java/gameEngine/views/Window.java