generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Input Delay

Previous Thread :: Next Thread 
apdapreturns is online. apdapreturns
Joined: 31 Mar 2012
Total Posts: 1627
30 Aug 2016 11:11 AM
I am creating a FE racing game, but some of the notable issues is a input delay to a certain extent. How can I make the input time better?

The network model is basically this:
client network ownership -> server -> clients

https://www.roblox.com/games/199375167/memeplace
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
30 Aug 2016 12:09 PM
http://wiki.roblox.com/index.php?title=Fighting_Lag

I'm not sure if this will help you but at least it's an interesting tutorial.
Report Abuse
apdapreturns is online. apdapreturns
Joined: 31 Mar 2012
Total Posts: 1627
31 Aug 2016 04:25 PM
b1
added a client-sided car that doesn't lag, but having some issues w/ it keeping up w/ the server car.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Aug 2016 04:27 PM
seat.Changed:connect(function()
seat:SetNetworkOwnership((seat.Occupant and game.Players:GetPlayerFromCharacter(seat.Occupant.Parent)) or seat:GetNetworkOwnership())
end)
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Aug 2016 04:28 PM
i think it might be GetNetworkOwner

basically, if someone sits in that seat, it becomes owned by them
Report Abuse
apdapreturns is online. apdapreturns
Joined: 31 Mar 2012
Total Posts: 1627
31 Aug 2016 04:48 PM
It's not a car w/ a seat and a robloxian, it's a custom character with a car mesh. It's better after some changes now, just need to keep up both client and server car's rotation
Report Abuse
KreoBox is not online. KreoBox
Joined: 24 Aug 2016
Total Posts: 356
31 Aug 2016 05:02 PM
You need to understand that in online games different people don't see the exact same thing.
Report Abuse
sayhisam1 is not online. sayhisam1
Joined: 25 Nov 2009
Total Posts: 2092
31 Aug 2016 05:04 PM
What you want to do is implement it such that the cars only exist on each client, and not on the server.
This way, you can implement some slight prediction, and that way, it will appear to be realtime.

Look at my game for an example of this implementation:
https://www.roblox.com/games/492432726/Armored-Assault


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image