Gastrite's Forum Posts

  • What are you showing me I had already found here: https://www.scirra.com/tutorials/292/gu ... t-features

    but if I can not use "else" are in the same problem as before.

    Maybe I have to use a plugin?

    It 's strange that they did a tutorial but not visible from the Construct commands 2 ....

  • You are of infinite kindness but we had thought too. Unfortunately, the command "else" is not visible on my own version of Construct 2. I have the latest release "stable."

    If I could use the "else" instance I would have already finished the game a lot of time ...

    Any other idea? Or can you tell me how to turn the "else" even in my own version of Construct 2 purchased with license "Personal"?

    I have the R221 version

  • You think you can do a capx knowing that must walk on a plane? And 'surely nonsense but I'm working as hard on this project and now I am your time. It 's definitely easy to do but I arrived to a such that even just thinking I can hardly point of exhaustion.

  • I would like to tell the program to fall to the ground my character with a button and use the same button, then pressed, to make it back on its feet.

    A little like the "C" button, which is used in war FPS games to hide behind a crate and then pressed, to get up again.

    I had a look at the manual section, but I did not find very useful.

  • I thank you for the answer. However, I put aside a few thousand dollars, and I think I can rent for at least a couple of years a dedicated server. What I'd need to know and how to calculate the amount of internet traffic need to allow at least 100 users to connect to my game, simultaneously and without Lagging. You should first finish the game and do testing with real people or there is a mathematical equation to calculate it ?.

    My concern is that the dedicated server may not be enough and require Internet bandwidth or superior hardware technology.

  • The beauty of multiplayer construct 2 is that to start playing the first player has to play. Everyone else will connect.

    But how to figure out which computer or server can hold up a game and how to figure out how many users can connect simultaneously to the same game?

    Not to mention the Internet data traffic. How to figure out which internet connection is needed to allow all players to connect to the game?

    In a couple of months I will put the game in a matter of the proposed Internet site Kickstarter to see if I find the shareholders concerned ....

  • I realize that I have given little information. I'm sorry.

    Here is the information that were missing:

    The game will run on HTML5, browser entirely saved on a server of my property.

    The player will not have to download anything on your computer.

    All data and developments of the player are saved on the server.

    After a first recording fictitious (name, character class), the player will be able to access the game every time, without entering a password of sorts.

    I want to make sure that the server remembers Player, locating it in some way, perhaps with the MAC address

  • When a player enters the game server or connect to the game server, I want to make sure that the server itself is able to recognize it according to the MAC address of the computer. In this way, if the player tries to access the game from another computer, it can not. If the player always accessed from the same computer, the server connection will not have to type any code.

  • In the realization of an isometric game as it can be to chess in which the pieces identified as bearer must only move diagonally, can only move in four directions (northeast, northwest, southeast, southwest), to make it to offer an effect isometric real, I recommended to block the movements of the player inside an invisible grid, or simply to insert the movements indicated above by setting the moving speed so that the character is not located in the middle between never a square and the other of scacchiera.ma that his "race" always ends in a square?

    I hope to have been clear. As usual, I apologize for my bad grammar.

  • I'm an idiot. You are right.

    Probably, it takes me a holiday ...

  • Edited. I confirm I have node.js installed on both computers.

  • Problem Description

    The example of real-time multiplayer does not work properly. I send an error report below:

    Uncaught node.js Error

    TypeError: Cannot set property 'ae' of null

    at g.Jd (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:43:217)

    at e.rs (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:80:175)

    at e.Lj (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:100:76)

    at XMLHttpRequest.c.onload (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:78:19)

    I inform you that the second computer where I try to start it are located within the same home network. The operating system where part of the game is Windows 7 Home while the operating system of the other personal computer is Windows XP Home Service Pack 3. In both installed the latest version of JAVA.

    Attach a Capx

    _The file is present in the program CAPX Construc 2 that I bought recently.

    Description of Capx

    When I open Construct 2 and create a new file, open the one called Multiplayer real-time

    Steps to Reproduce Bug

      FILE EXPORT PROJECT NODE-WEBKIT "NEXT" EXPORT EXPORT

    Observed Result

    Uncaught node.js Error

    TypeError: Cannot set property 'ae' of null

    at g.Jd (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:43:217)

    at e.rs (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:80:175)

    at e.Lj (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:100:76)

    at XMLHttpRequest.c.onload (file:///C:/DOCUME~1/GRAZIOSO/IMPOST~1/Temp/nw3888_5973/c2runtime.js:78:19)

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (NO)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7 Home & Win XP SP3

    Construct 2 Version ID

    Release 190b (64bit)

    License type: PERSONAL

    Product: Construct 2

    This is a standard license, for independent use by the above named individual up to an associated use revenue of 5000 USD, or educational, charity or otherwise non-commercial use. Use outside of these bounds is prohibited.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I double checked the manual and understand the error, close as well.

  • Solved, thanks!

  • By following this tutorial I got a nice multiplayer system easy to manage.

    But, changing the order of movement of the player who, in my case, adding "Scroll to" can move beyond the original margins (remaining at the center of the view), I also moves the object "text" that is placed over to indicate the name.

    Place this link inherent in the tutorial offered on your website.

    I repeat, I just put "Scrool to" the character and put "unbounded scrolling" to "no" to enable the "scroll" the screen.

    When I move the character, the word that indicates the name he goes about his business.

    https://www.scirra.com/tutorials/915/multiplayer-tutorial-3-real-time-game/page-8

    The part that interests us is indicated in the very last page of the tutorial. Being based on the example of the tutorial in the menu examples of Construct 2, I do not think it's problematic to understand where I went wrong.