I’ve decided to rewrite the whole tutorial in multiple parts this time (On this same topic) with this first part being about creating the ViewModel and playing animations on it only. I’ve previously made this tutorial about making FPS guns using ViewModels but the tutorial was not well made since it was my first one. I recommend seeing a better tutorial such as this one by EgoMoose. I’ve stopped supporting this tutorial further, and any questions will probably not be answered. Shooter's Clientįirst, the client needs to tell the server it has fired a laser and provide the end position.I’ve been generally inactive on roblox and in development recently. This is the best case scenario: there is no way to communicate one client's laser to other clients any faster. Other clients will experience a small delay between when another player shoots and a beam appears. This means the client shooting the weapon will see the laser beam instantly. To solve this issue, every client will create their own laser beams. This would mean the client shooting the weapon would see a delay between when they activate the weapon and when they see the laser beam the weapon would feel laggy as a result. However, there would be a small delay between the client shooting the weapon and the server receiving the information about the shot. If the laser beam was created on the server then everyone would be able to see it. When you shoot the other player, their health will decrease by the number assigned to LASER_DAMAGE.Ĭurrently, the laser beam is created by the client firing the weapon, so only they will be able to see the laser beam. Test the blaster with 2 players by starting a local server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |