Posts

Showing posts from May, 2023

Working on Unreal multiplayer

This week I've been working on my multiplayer game and I learned a lot about replication and the Physics Handle Component. First of all, I added some switches to activate the mechanisms of the platforms, but I got stucked because I didn't know a class just can replicate elements that ownes to it, so I can't replicate the platforms movement inside of the character's functions. I fixed it replicating the functions to activate the switches to let the movement replication to the corresponding classes.   I also added a mechanic to pick balls, I want one of the player to take a ball and put it on a platform wich will activate the mechanism which will allow the other player to cross to the next section. It worked using a Physics Handle Component, but some weird thing are happening when a player takes twice an object (the distance between the player and the object increments) and if the player takes a ball created by the balls spawner (the z position of the ball has a decrease)...

First week and presentation

Hello there! My name is Erick Blas Ruiz Ponce, I studied engineering in computer science and I'm a game coder. I love videogames, anime, programming games and hanging out with my girlfriend and friends. Following an tip  I heard in a presentation, I'm writing each week in this blog all that I learn about game development, the problems I faced and how did I solve them (if I've already solved it 😁).  So, let's start this new journey!!! This week was really interesting,  I studied a lot of theory about multiplayer in Unreal and noticed that is different world. I was thinking about add the multiplayer mode to a fight game that I made a few months ago, but I realized that the HUD to select characters could be a problem too big for my first contact with the multiplayer. The HUDs are not replicated and level change caused the server and the client to be at different levels. I'll add that functionality to the fight game once I get more experience with multiplayer games, in...