From 5b30d0c1b6bc087b64a6015510d60d6e4415c724 Mon Sep 17 00:00:00 2001 From: DAVID <42251461+hiredavidtaylor@users.noreply.github.com> Date: Sat, 8 Oct 2022 13:34:45 -0700 Subject: [PATCH 1/9] modified greetings --- game/src/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/src/constants.js b/game/src/constants.js index e9efdf0..6127790 100644 --- a/game/src/constants.js +++ b/game/src/constants.js @@ -3,7 +3,7 @@ const flightForce = 5; // The amount of force applied when the "fly" button is p const greetings = [ 'It\'s a bird!', - 'It\'s a plane!', - '1000% more Cube!', + 'It\'s an airplane!', + '1001% more Cube!', 'A Whole New Dimension!' ]; From 9725575ab8457ba4bc212939ec73a874d2202fc8 Mon Sep 17 00:00:00 2001 From: "J. Lindsay" <55968751+Lindsjar37@users.noreply.github.com> Date: Sat, 8 Oct 2022 13:45:49 -0700 Subject: [PATCH 2/9] Added greetings to constants.js --- game/src/constants.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/game/src/constants.js b/game/src/constants.js index e9efdf0..8287878 100644 --- a/game/src/constants.js +++ b/game/src/constants.js @@ -5,5 +5,19 @@ const greetings = [ 'It\'s a bird!', 'It\'s a plane!', '1000% more Cube!', - 'A Whole New Dimension!' + 'A Whole New Dimension!', + 'You\'ve Been Cubed!', + 'Don\'t be a Square!', + 'Blastoff!', + 'Get In Shape!', + 'Error 404 CUBE Not Found!', + 'Drop the Cube!', + 'Houston, we have a cube problem!', + 'Up Up and Away!', + 'The Building Blocks Of Flight!', + 'Simple Geometry!', + 'I Believe I Can Cube!', + 'To Cube or not to Cube!', + 'It's hip to be square!' ]; + From f0f0f66dfedf28bd148d25f8183b71bed028467a Mon Sep 17 00:00:00 2001 From: "J. Lindsay" <55968751+Lindsjar37@users.noreply.github.com> Date: Sat, 8 Oct 2022 13:46:35 -0700 Subject: [PATCH 3/9] Updated constants.js --- game/src/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/src/constants.js b/game/src/constants.js index 8287878..8bc59fe 100644 --- a/game/src/constants.js +++ b/game/src/constants.js @@ -18,6 +18,6 @@ const greetings = [ 'Simple Geometry!', 'I Believe I Can Cube!', 'To Cube or not to Cube!', - 'It's hip to be square!' + 'It\'s hip to be square!' ]; From 96885f38a5d7d97fbb021f9785786b499117238c Mon Sep 17 00:00:00 2001 From: teagueStockwell Date: Sat, 8 Oct 2022 13:46:44 -0700 Subject: [PATCH 4/9] Add texture to bird --- game/src/player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/game/src/player.js b/game/src/player.js index e81a63a..8b51f0f 100644 --- a/game/src/player.js +++ b/game/src/player.js @@ -19,6 +19,7 @@ class Player extends GameObject { const boxOptions = {width: 1, height: 1, depth: 1}; this.playerMesh = BABYLON.MeshBuilder.CreateBox("bird", boxOptions, scene); this.playerMaterial = new BABYLON.StandardMaterial("Player Material", scene); + this.playerMaterial.diffuseTexture = new BABYLON.Texture("https://avatars.githubusercontent.com/u/8835499?v=4", scene); this.playerMesh.material = this.playerMaterial; this.playerMesh.material.diffuseColor = BABYLON.Color3.White(); } From 31d7e83db43bedc7f75681c07062f75c0604485e Mon Sep 17 00:00:00 2001 From: Teague Stockwell <71202372+teaguestockwell@users.noreply.github.com> Date: Sat, 8 Oct 2022 13:56:06 -0700 Subject: [PATCH 5/9] Update game/src/player.js Co-authored-by: DAVID <42251461+hiredavidtaylor@users.noreply.github.com> --- game/src/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/src/player.js b/game/src/player.js index 8b51f0f..efcdb4c 100644 --- a/game/src/player.js +++ b/game/src/player.js @@ -19,7 +19,7 @@ class Player extends GameObject { const boxOptions = {width: 1, height: 1, depth: 1}; this.playerMesh = BABYLON.MeshBuilder.CreateBox("bird", boxOptions, scene); this.playerMaterial = new BABYLON.StandardMaterial("Player Material", scene); - this.playerMaterial.diffuseTexture = new BABYLON.Texture("https://avatars.githubusercontent.com/u/8835499?v=4", scene); + this.playerMaterial.diffuseTexture = new BABYLON.Texture("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcKAv4NILPrbMI6u3iYQHGPtwyuwekxSypzw&usqp=CAU", scene); this.playerMesh.material = this.playerMaterial; this.playerMesh.material.diffuseColor = BABYLON.Color3.White(); } From 1d73318e2b1dcba6486d03e30ceab5292705926a Mon Sep 17 00:00:00 2001 From: Eriic22 <59106158+Eriic22@users.noreply.github.com> Date: Sat, 8 Oct 2022 14:02:01 -0700 Subject: [PATCH 6/9] Change font to Attack Graffiti from Comic Sans --- game/index.html | 2 ++ game/src/AttackGraffiti.ttf | Bin 0 -> 31100 bytes game/src/hud.js | 2 +- game/src/style.css | 4 ++++ 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 game/src/AttackGraffiti.ttf create mode 100644 game/src/style.css diff --git a/game/index.html b/game/index.html index 653a890..0dc850f 100644 --- a/game/index.html +++ b/game/index.html @@ -5,6 +5,8 @@ Flying Cube Game + +