BeardScript
Part 1: https://www.youtube.com/watch?v=OIorPLKWCv4
In this one I show you how to turn it into a multiplayer game.
We'll be using an official plugin of the croquet.io platform, which allows you to create multiplayer applications without the need for a server, by leveraging the Multisynq reflector network.
Croquet is a great piece of software created by industry legends, worth a look!
Follow me on X for more: https://twitter.com/BeardScript
Third Person Controller with Three.js in Rogue Engine [video]
Rogue Engine is a Unity-like environment for three.js
For this tutorial we'll be using animations from Mixamo and the official integration for the WASM Rapier Physics Engine.
I hope you find it useful! If you do please help me out with a like and a subscription. I'm trying to grow my channel.
Short version: https://youtube.com/shorts/3cwh96QCzPk
Full video: https://www.youtube.com/watch?v=OIorPLKWCv4
Cheers!
The game I'm showing you there is a build created with an older version of the engine. The latest one is even smaller and more performant.
Let me start with the second one first:
> Doesn't that work in Unity too (using external JS libraries or npm packages), since it supports JS?
Unity used to have some kind of ecmascript implementation that reminded a bit of TS. It was called UnityScript but everyone called it JS even though it was not even similar.
It has not been supported for a few years now.
> In my experience this is not true at all, as Unity exports in WebAssembly so the final delivery is well under 1MB, which makes it probably smaller than three.js alone.
This has definitely not been my experience provided I last tried anything mid last year. The moment your project starts getting relatively big so do your builds and it can get messy. Let's not even go into mobile support for WebGL.
WebGL is a great way to skip marketplaces. Here's a Game made with Rogue Engine you can try on your mobile browser. It uses HTML Elements for the UI. You could potentially use React Vue.js or svelte even since you have control over your environment.
https://rogueengine.io/rogue-examples/RogueSpaceShooter/
Here's the source code:
https://github.com/BeardScript/RogueSpaceShooter
That said, this is not trying to be "better than Unity" because that's not a realistic angle.
It's a light-weight solution designed for web development specifically. You're not even forced a physics engine. You're free to integrate with Ammo.js wasm build or cannon.
So you might notice that it's mostly focused on devs for now. The addition of the Marketplace is a bet on creating an ecosystem that will make it easier for non-devs to use it as a no-code tool in the future, by using paid or free plugins.
If you're a dev, designer, modeler, etc, the Marketplace there's an opportunity to have your assets and plugins published there before anyone else as well.
Sorry about the length of this!
Cheers!
There's various reasons for that. First and foremost, the Unity export for the web is quite bloated and very limited. You would use this for the same reasons you'd choose three.js or Babylon.js which are meant for the web.
This is basically an editor for three.js. It provides a framework which simplifies most of the boilerplate and turns three.js into a Unity-like experience with components, prefabs, marketplace, etc.
If you are a web developer, you'd prefer something like this where you can use NPM, Typescript/Javascript and VSCode. If you're a Unity developer wishing to do some WebGL in a web environment most of your skills are easily transferable.
If you're a company building 3D apps/games for the web, it's a lot easier to find and train Javascript/Typescript developers than C# Unity3D developers.
So basically: Multiplatform, meant for the web, familiar environment for web and unty devs, cost efficient and a decade worth of three.js resources along with a big a vibrant dev community.
As a bonus, this is in early development, you can hop on Discord and be a part of the process. I'm always there to assist everyone to the best of my ability.
All the best, and I hope to see you around.
Released Rogue Engine 0.2
Rogue Engine is an HTML5 Game Engine that provides a Unity-like environment to create games and apps that are native to the browser.
I've released version 0.2 with some awesome new features including:
- LAN player to play the scene you're building on any device in your local network. - Marketplace to sell/buy game assets, re-usable components and plugins. - Theme Editor.
I'm executing at a fast pace and I'll be adding a lot more features before 0.3
I run a small community on Discord where I keep people updated and provide assistance:
You can also get in touch with me on Twitter:
https://twitter.com/BeardScript
Cheers!