GSquadron's Recent Forum Activity

  • I am having a problem while trying to spawn new objects which have pathfinding and solid behavior.

    They seem to not recognize one another as obstacles.

    Can someone help me out?

    Here is what happens, the objects overlap one another.

  • Yeah! It works!

    One last thing though.

    The problem is that the red squares now get randomized differently for each screen.

    (Which is Spawner spawn blocks on layer 1)

    How do I do it so that the red squares (blocks family) get randomized the exact same on both screens of the players?

    Also, I did not understand the code to tell the truth.

    What do I need to read to understand it? Node.js?

  • Firstly see this from the websocket manual:

    [quote:3p3a3o3j]WebSockets and multiplayer games

    It may be tempting to use WebSockets to design real-time multiplayer games. Unfortunately, despite the fact they communicate in real-time, WebSockets are not currently a suitable choice for this. The underlying transport uses reliable transmission, meaning a single dropped packet can hold up all transmission until the packet is retransmitted successfully. For games with demanding real-time requirements, this can cause unplayable levels of latency. It is usually impossible to design around this without changing the transmission mode, which WebSockets do not support.

    On the other hand, WebSockets should be suitable for games without such a demanding real-time requirement, like turn-based games. It should also be useful for application services, like chat rooms. Note this will still require you to create your own WebSocket server.

    You are trying to make player 2 shadow player 1? This event sheet looks correct for that. When you receive a message, append it to the output also, see if you are getting messages back, if not then there's a problem with your server script and you'd need to post that for us to be able to help further.

    Hey man, I have searched all around the internet and cannot find a solution to this.

    Can someone help in any way? I really would love to make it come to reality.

    What about the multiplayer option? How can I make the cubes move for two players?

  • This is the script file

    var WebSocketServer = require('ws').Server
      , wss = new WebSocketServer({ port: 8080 });
    
    wss.on('connection', function connection(ws) {
      ws.on('message', function incoming(message) {
        console.log('received: %s', message);
      });
    
      ws.send('something');
    });[/code:1c26tu5x]
    
    I want the blue player to move on the left screen too. The other player is not showing.
    i.imgur.com/PsZeoLK.png
  • Hello,

    I followed this tutorial youtube.com/watch

    The problem is that I have a localhost instead of scribble.

    It does work cuz I see it from the cmd, but the problem is I have no idea what I have to do to manipulate the javascript file so it sends data to the browser.

    Right now it does not work as it is intended. It just reads and sends data, but the game does not show simultaneously.

    How can I make it multiuser?

    Here are my 2 cents.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Oh my, sorry, I changed the link to the correct one.

  • Hello, I cannot post links to these forums. Delete the space to access the link.

    anothergames .com/games/html5/TheObjective/index

  • Hello,

    I created a top-down shooter game.

    Let me know what you think.

  • Thanks for your replies. I solved it.

  • Hello,

    Right now I use 4 buttons in a mobile game:

    I want just one button and make it omnidirectional to rotate the player and move him. (top-down shooter)

    I want the player to hold touch on a button and rotate the player towards the position of the touch.x-button.x (also .y).

    Imagine if the big one is the button and the black circle is where the player taps.

    How can I find the degrees so that the player rotates to that position?

    Also, the problem is that button.X is not the X value on the locked screen, but rather the position of the X on the map. Same for Y.

    This makes it impossible to do.

  • Ok found it. Thanks!

  • Ok, now I have a new problem.

    The sound does not go low enough. How can I make it to be completely removed?

GSquadron's avatar

GSquadron

Member since 16 Jan, 2016

Twitter
GSquadron has 1 followers

Connect with GSquadron

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies