Dead Reckoning (beta2): Now with Flash support
[img:left]http://www.andersriggelsen.dk/images/extensions/deadreckoning.png[/img] [size:14pt] Dead Reckoning Object[/size] - Beta 2!
You can now update the values of angles and directions and DR will predict them just as it does with X and Y coordinates.
New feature: Smoothing.
If you want to add additional smoothing to your objects you can now set the smoothing parameter. Setting it too high will make the object lack behind a bit. 0 disables smoothing.
All settings are now individual per object and pr value! You can change all settings to your hearts desires to fine tune the movement of the DR controlled objects.
For example you can use cubic interpolation with smoothing on the X-movement while using linear interpolation and acceleration with no smoothing on the Y-movement. That is up to you. :)
Also: Flash support!
Information from beta 1:
------------------------------
The Dead Reckoning object solves the problem of handling object movements in multiplayer games where it isn't feasable to constantly send updates over the network. The Dead Reckoning object predicts the movement of the objects in-between updates from the server and makes their movement look more natural and realistic.
Download - Example file [color:#990000](remember to clear your cache to be sure you get the new version and not the cached one)[/color]
Please tell me what you think :)
Re: Dead Reckoning (beta2): Now with Flash support
Very great extension ! Thank you very much ! I need the object for the current project..
Re: Dead Reckoning (beta2): Now with Flash support
Cant wait to see what your project is :)
Re: Dead Reckoning (beta2): Now with Flash support
The project is bigger as the freshburger project ;)
... and.. andos, have you an example for multiply objects/instances to use the Deadreconnig-extension ?
Re: Dead Reckoning (beta2): Now with Flash support
I will make a full multiple object example soon :)
Re: Dead Reckoning (beta2): Now with Flash support
Re: Dead Reckoning (beta2): Now with Flash support
Very Nice, Finally, my project will continue. Simple MOPRG
Re: Dead Reckoning (beta2): Now with Flash support
I like how you just slip in Also, Flash support!. Andos, you are wonderful!
Re: Dead Reckoning (beta2): Now with Flash support
Yes! Yes! Yes! Thanks for this great extension Andos!!
It's an excellent way for predict movement when lag's comming, yay!!
EDIT: just tested, and this is very good for my part, but, sometimes (it will be perhaps my computer), when the object fall (in the first example) the FPS slowdown a bit
Re: Dead Reckoning (beta2): Now with Flash support
Incorporating into my app :)
One request though - can you add an "Update position and angle" action?
Most online games would send that information in one go.
Thanks :grin: