<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Tagged with #multiplayer - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=%23multiplayer</link>
      <pubDate>Sun, 08 Aug 2021 18:04:53 +0000</pubDate>
         <description>Tagged with #multiplayer - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/tagged%23multiplayer/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>I created multiplayer online game with p5js</title>
      <link>https://forum.processing.org/two/discussion/28050/i-created-multiplayer-online-game-with-p5js</link>
      <pubDate>Sun, 10 Jun 2018 17:56:38 +0000</pubDate>
      <dc:creator>ognjenvucko</dc:creator>
      <guid isPermaLink="false">28050@/two/discussions</guid>
      <description><![CDATA[<p>Hi everyone,
I would like to share with community the game I created with p5js as a renderer.
It is a realtime multiplayer game, similar to AgarIO and other games in that ecosystem.</p>

<p>You can try it out on <a href="http://owom.io" target="_blank" rel="nofollow">http://owom.io</a></p>

<p>Feel free to ask any questions regarding tech, and any ideas on how the game might be improved are welcome!</p>
]]></description>
   </item>
   <item>
      <title>I create multiplayer game on java MMORPG osc5</title>
      <link>https://forum.processing.org/two/discussion/24296/i-create-multiplayer-game-on-java-mmorpg-osc5</link>
      <pubDate>Thu, 28 Sep 2017 14:36:28 +0000</pubDate>
      <dc:creator>GeorgeJava</dc:creator>
      <guid isPermaLink="false">24296@/two/discussions</guid>
      <description><![CDATA[<p><strong>⟨⟨⟨ MMORPG GAME ⟩⟩⟩</strong></p>

<p>Start: 28.9.2017</p>

<blockquote class="Quote">
  <p>Github: <a href="https://github.com/GeorgeSikora/MMORPG" target="_blank" rel="nofollow">https://github.com/GeorgeSikora/MMORPG</a></p>
</blockquote>

<p><strong>⟨⟨⟨ VERSIONS ⟩⟩⟩</strong></p>

<p>v0.0.1 - not completed</p>

<p><strong>⟨⟨⟨ INFORMATIONS ⟩⟩⟩</strong></p>

<blockquote class="Quote">
  <ul>
  <li>Player move ✔</li>
  <li>Map loading ✔</li>
  <li>Multiplayer ✔</li>
  <li>Textures ✔</li>
  <li>Menu ✔</li>
  <li>Chat ✔</li>
  <li>Animated player move ✘</li>
  <li>Chat commands ✘</li>
  <li>Map editor ✘</li>
  <li>Player build ✘</li>
  <li>Registration ✘</li>
  <li>Collision ✘</li>
  <li>Server configurations ✘</li>
  </ul>
</blockquote>

<p>and other ideas... can you and me create ! :)</p>

<p><img src="https://forum.processing.org/two/uploads/imageupload/482/7HNIHB5A53U8.png" alt="1" title="1" />
<img src="https://forum.processing.org/two/uploads/imageupload/386/OV1XU1C82Q0S.png" alt="2" title="2" />
<img src="https://forum.processing.org/two/uploads/imageupload/210/B2UAWCKI5QRO.png" alt="3" title="3" />
<img src="https://forum.processing.org/two/uploads/imageupload/508/0FGT88507VPX.png" alt="16town" title="16town" /></p>
]]></description>
   </item>
   <item>
      <title>MULTIPLAYER/ONLINE game with TCP</title>
      <link>https://forum.processing.org/two/discussion/23705/multiplayer-online-game-with-tcp</link>
      <pubDate>Fri, 04 Aug 2017 19:45:13 +0000</pubDate>
      <dc:creator>GeorgeJava</dc:creator>
      <guid isPermaLink="false">23705@/two/discussions</guid>
      <description><![CDATA[<p>How i can make a multiplayer game with sanding 'x' and 'y' ? and id .. 
i test this multiplayer but... with errors and big latency :( :( 
ERRORS: StringOutOfBounds -1 ...
i dont use "frameRate(5);"
this is in exemple from official library from processing.
and how to run multiplayer game without lags or bugs ?</p>
]]></description>
   </item>
   <item>
      <title>Problem Using two Arduino and a Class...</title>
      <link>https://forum.processing.org/two/discussion/13259/problem-using-two-arduino-and-a-class</link>
      <pubDate>Sun, 25 Oct 2015 21:32:02 +0000</pubDate>
      <dc:creator>ulyssevanduinen</dc:creator>
      <guid isPermaLink="false">13259@/two/discussions</guid>
      <description><![CDATA[<p>Hello everyone, 
So I am trying to make this "light Bike" kind of game, where a point moves (according to values sent by 2 different arduinos) while leaving a trace behind itself, and the point is to stay the longest possible while not recrossing the line... Now I defined this point in a class, but can't seem to associate the values coming in from arduino with it properly... Anyone have any ideas what might do the trick? Thanks!</p>

<p>By the way here is my code:</p>

<p><img src="http://forum.processing.org/two/uploads/imageupload/318/DH64QW3EYIJ5.png" alt="1" title="1" />
<img src="http://forum.processing.org/two/uploads/imageupload/464/O22H74FRWB1T.png" alt="2" title="2" />
<img src="http://forum.processing.org/two/uploads/imageupload/284/N5S4C8HQ4FQU.png" alt="3" title="3" />
<img src="http://forum.processing.org/two/uploads/imageupload/613/PM61153IV03F.png" alt="4" title="4" />
<img src="http://forum.processing.org/two/uploads/imageupload/423/GPY83A3SGQ55.png" alt="5" title="Screen Shot 2015-10-25 at 10.33.39 PM" /></p>

<p>And the class...</p>

<p><img src="http://forum.processing.org/two/uploads/imageupload/593/VIB6ZEBAMX8K.png" alt="Class 1" title="Class 1" />
<img src="http://forum.processing.org/two/uploads/imageupload/261/LKQXSOKY75YX.png" alt="Class 2" title="Class 2" /></p>

<p>Thank you for Any Help you can give!!!</p>
]]></description>
   </item>
   <item>
      <title>2 Player Pong Multitouch Help</title>
      <link>https://forum.processing.org/two/discussion/9965/2-player-pong-multitouch-help</link>
      <pubDate>Sat, 21 Mar 2015 16:19:42 +0000</pubDate>
      <dc:creator>knowyourenemy</dc:creator>
      <guid isPermaLink="false">9965@/two/discussions</guid>
      <description><![CDATA[<p>Hello everyone, i am currently developing a two-player pong game for android. In order to enable multitouch, i used the code i found online:</p>

<pre><code> public boolean surfaceTouchEvent(MotionEvent event) {
                pointerCount = event.getPointerCount();
                if (pointerCount&gt;2){
                  pointerCount = 2;
                }
                //println("Number of pointers: "+pointerCount);
                points.clear();
                for(int i=1; i&lt;=pointerCount; i++) {

                points.add(new PVector(event.getX(i-1), event.getY(i-1)));
                }

                //if the event is a pressed gesture finishing, 
                // it means the lifting the last touch point
                if(event.getActionMasked() == MotionEvent.ACTION_UP) points.clear();

                // if you want the variables for motionX/motionY, mouseX/mouseY etc.
                // to work properly, you'll need to call super.surfaceTouchEvent().
                return super.surfaceTouchEvent(event);

              }      
</code></pre>

<p>Within the void draw(), i did this:</p>

<pre><code>if (speedY&gt;0){
        if (tempPoint.y&gt;height/2){
         //extra code here
          rect (tempPoint.x, height-lineHeight, pongRadius*2, pongHeight*2);

          }  
        if (tempPoint.y&lt;height/2){
          //extra code here
          rect (tempPoint.y, lineHeight, pongRadius*2, pongHeight*2);

        }
      }

      if (speedY&lt;0){
        if (tempPoint.y&lt;height/2){
          //extra code here
          rect (tempPoint.x, lineHeight, pongRadius*2, pongHeight*2);


        }  
        if (tempPoint.y&gt;height/2){
          //extra code here
          rect (tempPoint.x, height-lineHeight, pongRadius*2, pongHeight*2);

        }
      }

     }
</code></pre>

<p>Basically, everything is working fine, and the 2 "pongs" or paddles move fine when they are 2 fingers holding down at both ends of the screen. However, the problem arises when one person decides to let go of the screen at the second person puts 2 fingers on their side of the screen, which results in the second person getting 2 paddles and the 1st person not able to get any. This is because i have set the limit of pointerCount to 2 in the code <code>if (pointerCount&gt;2){
      pointerCount = 2;
    }</code>.</p>

<p>Is it possible for me to have a maximum of 1 paddle (1 touch) in each side of the screen(so there will still be two touches in total), and if so, how?</p>

<p>Thanks in advance.</p>
]]></description>
   </item>
   <item>
      <title>How would I make my game multiplayer (on two separate computers)?</title>
      <link>https://forum.processing.org/two/discussion/4487/how-would-i-make-my-game-multiplayer-on-two-separate-computers</link>
      <pubDate>Thu, 17 Apr 2014 13:03:58 +0000</pubDate>
      <dc:creator>Matyze</dc:creator>
      <guid isPermaLink="false">4487@/two/discussions</guid>
      <description><![CDATA[<p>The question name virtually says it all.</p>

<p>I want to be able to transfer data (i.e. player coordinates) from one computer to another, and since I am new to programming in general, I don't know where to start.</p>

<p>I hope my question isn't too vague...</p>
]]></description>
   </item>
   </channel>
</rss>