# Multiplayer camera follow?

**URL:** <https://discourse.processing.org/t/multiplayer-camera-follow/12170>\
**Category:** Coding Questions\
**Created:** [June 18, 2019, 7:48pm UTC](https://discourse.processing.org/t/multiplayer-camera-follow/12170 "2019-06-18T19:48:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [June 20, 2019, 8:41am UTC](https://discourse.processing.org/t/multiplayer-camera-follow/12170/4 "2019-06-20T08:41:30Z")

</div>

Continued in his other thread

> [@How can I center an object on my screen that moves?](https://discourse.processing.org/t/how-can-i-center-an-object-on-my-screen-that-moves/12196):
>
> I’m trying to make the screen follow my two spaceships and I’m trying to center the middle of the two ships to my screen The coordinates of the point between the two ships are fx and fy. Here the code: boolean pause; int game = 1, dg; float tx, ty, fx, fy; //PImage pausei; void setup(){ size(900, 600, P2D); Players.add(new Player(100, 600/2-30/2, false, 'g', 'f', false, 1)); Players.add(new Player(800, 600/2-30/2, true, 'm', 'n', true, 2)); //pausei = loadImage("pause.png"); //pausei.re…

---

_[View the full topic](https://discourse.processing.org/t/multiplayer-camera-follow/12170)._
