world_explorer Svelte Themes

World_explorer

A 3D game where you're a ball collecting coins and jumping obstacles. Written in Three.js, Typescript, Svelte & Sockets.io

Screenshot 2021-05-25 at 12 57 58

World Explorer

In this exciting 3D platformer, you are in control of a sphere visiting three different planets with their own unique twist and turns!

Two planets are single-player only where you collect as many coins as possible, whilst racing against the clock. Challenge your friends and make it to the top of the leaderboard. The third planet is online multiplayer where you can enjoy together with your friends and race to the finish line!

This game was created using:

Installation

  1. Clone this repository through the terminal: git clone https://github.com/Alegherix/world_explorer.git.
  2. Change your current directory to the repository: cd world_explorer/.
  3. Type yarn or npm install to install all necessary dependencies.
  4. Run yarn dev or npm run dev and wait for the application to finish building.
  5. The link to your localhost should now be displayed. The default is: http://localhost:3000.

Changelog

Toggle pull request list

Code Review

  1. Plane.ts:4-10 - Box3 and Vector3 are imported but not used.
  2. Platform.ts:45-129 - A bunch of commented code that you could remove.
  3. Game.ts - Some functions have return types and others don't.
  4. MultiplayerWorld.ts - This file is 900 lines of code, maybe you could break it up into multiple files to make it easier to read.
  5. Game.ts:83 & 131 - Here you are repeating the code determining start position for the player. Maybe move it to a function.
  6. Loader.ts:2 - MeshStandardMaterial is imported but not used.
  7. Controller.ts:77-107 - If you hold W and D at the same time while in the air the ball will accelerate an extreme amount when you hit the ground. Don't know if this is intended.
  8. GameServer.ts:21 - A variable is defined but not used.
  9. Tube.ts:21-22 - Some commented code.
  10. SigninScreen.svelte:15 - You have input type but not a label.

Creators

Testers

Tested by the following people:

  1. Jonathan Larsson
  2. Evelyn Fredin
  3. Hugo Sundberg
  4. Daniel Borgström

Tested by the following muggles (non-coders):

  1. Emil
  2. Malte
  3. Jessica
  4. Fredrik

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes