Multiplayer Killed my Voxel Game

preview_player
Показать описание
"Add multiplayer, it will be a fun and enjoyable time" - no one ever.

Before I get to deep into adding gameplay features for my voxel game, I'm making with Bevy + Rust. I want to have a solid foundation for my networking code. Well after painful times debugging, following the logs, tracking the udp packets journey, it's fair to say I completely lost momentum... Well watch the video to see what happened :)

#gamedev #rustlang #bevy
Рекомендации по теме
Комментарии
Автор

TanTan, this isn't TV where your show has to air every saturday.

You do cool stuff, and I'm here for that cool stuff. Programming requires creativity, and there is never a steady stream of creativity.

Breaks are okay, sometimes the creativity source is just running low. As you said, the more you stress yourself to be more productive, the less productive you become.

shadamethyst
Автор

It isn't surprising to me that it's difficult to
- implement networking
- with a fancy client / host / relay architecture thingy
- with a fancy distributed simulation (??)
- with a fancy prediction system for the future, past and present
IN RUST no less!
It just seems like delays and frustrations are pre-programmed.

I'm very happy to see WIP updates and be along for the journey, doesn't have to be only finished things ;)

lievenpetersen
Автор

Honestly, I think your problem is thinking you need to always be solving, there is nothing wrong with showing us your dead ends, and how you are actively working. :D Best of luck, try to not be so hard on yourself. :)

juanmacias
Автор

There is nothing wrong with having an authorative server, you just need to architecture your game in a way that the server is always the mediator between you and the game itself (like minecraft does, even in singleplayer it is always a "server" coordinating things). For 20 players this is hardly something very heavy, and you can allow for players to host themselves their servers (like games used to do back in the time) so they can have their own sessions with friends.

diadetediotedio
Автор

Wow just yesterday I rewatched an old video of yours and was wondering if the channel suffered from the fate of a newly published Rust crate -- dead within a year.

Glad to have you back buddy!

VivekYadav-dsoz
Автор

I"m also been trying the exact same network structure of shared authority so the servers can run on $2 VPS's and its a trip 😅
My favorite prediction / interpolation change to smooth character movement at high speed has been:
1. Storing the last 3 position updates from the player and the time of those updates.
2. Predicting where they will be next update.
3. Using those 4 positions to make a spline and interpilate along it.

Simple lerping helps smooth movement a lot at low speeds but once they more fast you can still see them speed up and slow down as the position updates become further apart.

BradenLehman
Автор

6:02 “The game is working fine!” *Bunch of errors and warnings in the console* love seeing it.

laycookie-fi
Автор

I am very glad that you posted a new video. You've done a great job and I'm sure everything will work out. Thank you for supporting my motivation to continue studying rust and bevy)

ilyabasisty
Автор

Your amazing. Your uploads are always a delight. Listening to you talk about your programming experiences is insightful and very much welcomed, no matter how small you may think they are.

Kry
Автор

Tantan finally uploaded let's go!

Mintpop
Автор

0:57 omg the music, your accent and the fact that you're kinda on beat sounds so much like Synthet's videos, I love it

pixel
Автор

Yesterday i was thinking "damn this dude hasn't uploaded in a while I wonder what's up"

MrA
Автор

Always a pleasure to see a new video from you. It's looking really fantastic, you're so close! I cannot wait to see it all together.

Skeffles
Автор

I went down a similar route with networking in bevy. Ended up biting the bullet and using an authoritative server and saved my brain in the process. Would recommend.

Edit: WIP is just as (if not more) interesting than finished products! Great to see you back with a video.

Jack-lbih
Автор

6:53 THAT'S THE WAY I LIKE IT AND I NEVER GET BORED

fastmovingvolcanomatter
Автор

Yoo, you're back. Welcome man. 😁
Good job. You'll get through it, have perseverance.

PhilipModDev
Автор

it's nice to see your face! my favorite channels are just the journey...'finished' is a pernitious delusion

sean_vikoren
Автор

I think you should post because you're just delightful. This definitely made my day better

evandrofilipe
Автор

I think that even if you don't have an exciting video full of triumphs, the time spent making those things won't have been wasted since you most likely learned a bunch of things from it
if you succeed, it's experience
if you fail, it's a lesson

ny
Автор

I share in your love of voxel engines. I plan to use your greedy mesh algorithm to speed up my engine. Keep up the great work, networking is messy.

BeastBishop