I don’t know where exactly this post belongs, so if anybody knows, please redirect me there. This is a work in progress module. It’s mostly finished but I am posting here before it’s done to get some advice and perhaps lag reduction tips. Plus if anyone wants to let me know the current scoreboard naming system in GM4 I’d appreciate that.
This is a portal gun that is multi player compatible. The features of the portal gun are as follows:
A portal gun is either orange or blue (it’s a bow and arrow). When shooting a new portal only your old portal of that color is removed and the new one created. The color is switched by throwing the portal gun out of your inventory.
The second feature and this is the important one. Anyone can travel between two portals you have fired. Portals are player sensitive meaning that every player has it’s own unique set of two portals and any other player attempting to use a portal will take that player to the other portal linked to that player. A little confusing but I hope that makes sense. It works like multiplayer portals work in the original game basically.
When an old portal is destroyed, the blocks that used to be there are put back so nothing is lost.
Features I am still adding:
Keeping player momentum. I’m experimenting with using summoned arrows to give the player momentum as they leave a portal however that is still a work in progress feature.
To work on multiplayer like I explained, portals cycle through a waiting list type system to take you to the correct portal. This works smoothly with only a few players but if there are hundreds of players it could take 5 to 10 seconds to teleport you. I, currently switching that system out for a more efficient binary search system, but it’s giving me a bit of a headache. :p
So tell me what you guys think and any advice if you have any. I’ll post the testing world soon. If anyone wants to move this to the correct page, feel free. Thanks for reading :)