How do y'all make multiplayer games

That wasn’t rude.

Go make a game without roblox in “regular” lua, thanks

Guys, Roblox Lua (Luau) is literally just regular Lua with it’s own API functions.

Unity, Unreal Engine, and literally every single engine (excluding Gdscript in Godot, since it’s a custom one) does this exact same thing, what are you talking about?

Anyways nah. Take the suggestion of starting small, going through codes, changing stuff up, experience errors, etc. I suggest JS as a start for webui multiplayer games, add phaser for an easier time.

You can just look at the v1 of swordbattle for the idea. (messy code though but wtv)

@ArtieMars-OG_Mars

If you read my other replies, you’d know “roblox” lua is just regular lua with custom API functions, something every engine does. You’d also know I used LOVE2D (a Lua framework) to make a 2D game, even after 3 years of not using Roblox.

Yes, but roblox makes it way easier than normal. And you arent gonna use lua in a webui multiplayer game. (as a starter) (which lua is different than js, rust, or whatever)… i hope not anyways but code in whatever language you want. some are just harder. Everyone has their own style.

Exactly, some are harder, and he said earlier in this thread that “Roblox is hard”

If Roblox, a game that makes the already easiest language easier, is too hard, then you might as well start there.

the only good dev that i know that started with roblox was the lc dev

another ex-roblox dev was the guy who made Unturned, a popular free steam game that’s an open-world survival multiplayer zombie game (basically dayz)

There are also many good devs on Roblox, my fav being the dev of a game called Hedgerows II. There are many very talented devs on Roblox that managed to create full, enjoyable games.

const { readFileSync } = require(“fs”);
const { createServer } = require(“http”);
const { Server } = require(“socket.io”);

const httpServer = createServer((req, res) => {
if (req.url !== “/”) {
res.writeHead(404);
res.end(“Not found”);
return;
}
// reload the file every time
const content = readFileSync(“index.html”);
const length = Buffer.byteLength(content);

res.writeHead(200, {
“Content-Type”: “text/html”,
“Content-Length”: length,
});
res.end(content);
});

const io = new Server(httpServer, {
// Socket.IO options
});

io.on(“connection”, (socket) => {
console.log(connect ${socket.id});

socket.on(“disconnect”, (reason) => {
console.log(disconnect ${socket.id} due to ${reason});
});
});

httpServer.listen(3000);

looks like javascript, this is why I didn’t recommend it for first-time beginners.

When it comes to choosing a programming language for beginners, there are several great options to consider. Let’s explore a few popular ones:

  1. Python: Python is known for its high-level, readable syntax. It’s concise and intuitive, making it an excellent choice for beginners. Python is widely used in web development, data analysis, scientific computing, and automation. Plus, it has a large community and extensive libraries that make learning easier1.
  2. JavaScript: If you’re interested in web development, JavaScript is a must-learn language. It’s used for creating interactive websites, handling client-side logic, and building web applications. JavaScript is versatile and runs in web browsers, making it essential for front-end development2.
  3. Java: Java is a robust and widely adopted language. It’s used for Android app development, enterprise applications, and server-side programming. While it has a steeper learning curve than Python, Java’s popularity and versatility make it a valuable skill to acquire3.
  4. HTML/CSS: Although not traditional programming languages, HTML (for structuring web content) and CSS (for styling) are essential for web development. They’re relatively easy to learn and provide the foundation for creating web pages2.
  5. Scratch: Scratch is a visual programming language designed for beginners, especially kids. It uses blocks to create interactive stories, animations, and games. It’s an excellent starting point for understanding programming concepts without worrying about syntax2.

Remember that the best language for you depends on your goals and interests. Choose one that aligns with what you want to achieve, and don’t worry too much about picking the “perfect” language. Learning any language will provide valuable skills and pave the way for exploring others in the future! :rocket:

ai.

Stop listening to AI. HTML/CSS can’t even be used alone for games (they literally just make the basic structure of a website, nothing else)

And Java? C# is basically just Java but better. Either way, they both suck if you want to learn to code and you think roblox is hard.

1 Like

fine i’ll try lua agian

C# is a very hard language to start with :laughing: ; no idea how people do it and learn it first

2 Likes

(because they dont only the people that know someone who knows C# will start with it first)

1 Like

not good choice if you are planning to do web multiplayer development but goodluck

Bro there are web game devs here that’s why you made the post right? All ai can do is give a basic insight on anything

1 Like

how to be artiemars step 1 make post asking from help from game devs on how to make multiplayer games step 2 dont listen and use AI

2 Likes