GridVids
Sign in with YouTube

I Tried to Make Star Wars Battlefront II in JavaScript

SimonDev Jun 14, 2021 16:28
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Tried building a Starfighter Assault clone, all in JavaScript. Support me on: Patreon: https://www.patreon.com/simondevyt Follow me on: Twitter: https://twitter.com/iced_coffee_dev Instagram: https://www.instagram.com/beer_and_code/ Github: https://github.com/simondevyoutube/ Here I tried to build a 3D JavaScript game, mostly from scratch, using libraries like Three.js/Ammo.js. This was heavily inspired (very heavily) inspired from the Star Wars: Battlefront II: Starfighter Assault game, which looks way better, but c'mon, this is just one guy and JavaScript. The code could definitely serve as a starting point for a way cooler game. The goal of the project was to mash together a bunch of elements we've already seen, such as particle systems, third person cameras, player input controls, and introduce a few new things too such as the gamepad API and ammo.js physics support, and a bit of WebAudio through Three.js's API. Hopefully from this, you'll be able to understand how to integrate these various components to build out your own games. What I'll cover: * Basic game construction * Player input, particle systems * UI Components * GamePad API * Three.js and Ammo.js References: Inigo Quilez's site, lots of magic on noise and shaders, really the goto reference: https://iquilezles.org/ Star Wars Battlefront II, very cool game, I assume from the trailers, haven't played it: https://www.youtube.com/user/EAStarWars
Science & Technology
#simondev #game development #programming tutorial