HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[Question] How can I use camera values and not desync?

07-10-2008, 01:33 AM#1
Tide-Arc Ephemera
Yeah, as title says, how can I get camera values, x/y values only really and then use them on objects without desync'ing people?

I thought this might work because if you can limit the scrolling rate of a person, theoretically you can do 2D platforming Mario/Megaman style without the stupid delay.

So yeah, is it possible to get player's camera's x/y values without desyncing?
07-10-2008, 05:45 AM#2
darkwulfv
Quote:
theoretically you can do 2D platforming Mario/Megaman style without the stupid delay.
Well considering those are usually single-player, desync shouldn't be a problem to worry about. If you're making them multiplayer, then...

And what exactly are you attempting to do? I understand you want to get the X/Y of a person's camera (which shouldn't desync, i don't think), but beyond that what are you worried about desyncing?
07-10-2008, 07:23 AM#3
Ammorth
You trying to detect when a player pans the camera with the arrow keys, instead of using the arrow key events? Although its a good idea in theory, it wouldn't turn out to be so good as any sync system you use has a delay which is longer than any latency delay caused by the arrow key movements.

And to answer your question, you would need to use a sync system. I believe TC made a fairly decent one. If its not in the database, try searching for it.
07-10-2008, 08:41 AM#4
Captain Griffen
You'd need a sync system from a specific player. I think that the only way you can do that is stuff like selection syncing which will give you a massive delay.
07-10-2008, 01:13 PM#5
Tide-Arc Ephemera
Well a general answer (mainly towards Wulf). I wanted to do something like a Smash Brothers type project, it'd be really awesome if it worked... or more of a Megaman type project as well.

Dreams to tears, oh wells... I tried...
07-10-2008, 06:43 PM#6
Feroc1ty
My friend Scorpion King started making a Mario map, I could ask him how he did it when he gets on...
07-11-2008, 02:53 AM#7
Tide-Arc Ephemera
There's already a Mario-esque map here, but it would be nice if you could ask him if he's willing to tell us how he did his map.