
In this course you will learn how to make an RPG like game using Html, Css, Javascript and webgl's Babylon JS. You will learn how to Import and export 3d models inside the project and use it to your game. The game that we will make is a Single player game and Beginner friendly. It is not required to have an advanced knowledge with web technologies. Your eagerness to learn is the only thing we need
Learn to obtain free 3d models and animations from Mixamo, import them into Blender, organize idle, running, and attack animations, and export as glTF for use in a Babylon.js project.
Set up a Babylon.js 3D game project by initializing npm and installing core and loaders. Create a client folder, HTML page, and a first scene with camera and hemispheric light.
Set up a camera container in a Babylon.js scene and move it with arrow keys, aligning a target above the ground and readying for model imports with a loader.
Borrow Poly Haven textures to create ground material in a Babylon.js scene, using diffuse and normal maps with a standard material, then adjust specular color, scale textures, and reduce shininess.
Export the GLB character, import it with the Babylon.js loader, and control its idle and attack animations via animation groups in the scene.
Move a 3d character by selecting a ground point with the mouse, using a root mesh and character box, to trigger running animation and directional translation with delta time.
Learn to stop a 3d character at its destination by adding an action manager with an execute code action triggered on collision, creating a target box and halting movement.
Create a basic 3D tree in Blender, adjust origin and unwrap textures, then export as glTF for seamless import into Babylon.js.
Learn to attach a name label above a character using a text block in Babylon.js, create an advanced dynamic texture, and billboard the label for 3D objects.
Learn to implement sound in a 3D JavaScript game using Babylon.js, including importing an MP3, organizing a sounds folder, enabling autoplay, and triggering a hit sound in the attack function.
In this Lecture we will export our enemy model from blender to babylon Js project
I include the enemy 3d .glb file in this video
Import and instantiate enemies with load asset container async and instantiate model to scene. Organize in an enemies array and attach a life bar UI to the body.
Implement a damage attack against a goblin enemy in a 3D JavaScript game. Wire clicks, distance checks, and target IDs to trigger attack sequences and remove defeated enemies.
Implement enemy chase and attack for a goblin in a 3d javascript game by measuring distance to the player, moving toward them, and triggering an attack when near.
Create character life ui in a 3d javascript game using a Babylon.js gui dynamic texture to render a red life bar and centered life text at the top-left that updates.
Build the project using the package.json build script via the command line, producing a dist folder with index.html and assets for deployment to Marcel and other sites.
Github link: https://github.com/DevAnra/babylonRpgStartingCode
Learn how to deploy a 3d JavaScript game to the web with vercel, linking GitHub, importing your repo, and pushing updates to deploy changes.
Publish your html5 rpg game on itch.io by creating an account, uploading a zip bundle, and configuring metadata, cover media, and tags for public discovery.
Making 3d browser games has never been easy. With the help of Webgl's Babylon Js I can show you how you can make 3d games on the web. Babylon Js works for almost all browsers now. If you are a developer whose goal is to build 3d games in the browser this course is for you. The game that we will make in this course is short but all the Important things that you need to build a full rpg game is shown in here. This course did not go further in editing or designing because that job is for you. I only show what you need so you won't waste any time in watching me fix 3d models or arts I will leave that to you. My job here is to show how easy it is to export your 3d models in the web and make them move and function according to what you like.
This course will teach you the important things to know while making a browser game, This beginner course is the starting path of your journey on making games for the browser. Using JavaScript as our programming language we will then use webgl's babylon JS. that will help us on the 3d stuff of our game. JavaScript frameworks is not required for starting knowledge and we will make our game entirely with vanilla JavaScript and use a module bundler which is vite.