Gastrite's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • I have read and tested the tutorial that shows how to make a multiplayer game in real-time. Now, once created the program and performed an upgrade on my website that will act as host to the game, I want to ensure that players can download a client containing the graphics and the physics of the game, but that the data related to the rescues of the game (score and resources in the inventory) remains safe on the server.

    I want to make that the player can safely play even a single player offline version but is driven to connect to online to access their resources obtained in the multiplayer game.

    I've already learned, from tutorials obtained in this website, you manage a chat room and put it in my game, already modified for multiplayer and successfully tested. Before putting it online, I will be sure to make that data and bailouts remain online and offline, on the player's computer.

    As always, I apologize for my bad grammar. Am working google translator.

  • Thanks!

  • As always, I apologize for any grammatical errors. I am working Google Translator.

    How do I make that, clicking a button, to start an executable file?

    I created an isometric game for mobile devices and'm doing a version for Windows computers. If on smartphones, the character can interact with things and houses, following a short animation, computer windows I want to make sure that the character has the feeling of really get into it, thanks to an executable of my creation. Construct 2 allows, clicking on a button in html5, to start an executable?

Gastrite's avatar

Gastrite

Member since 30 Nov, 2012

None one is following Gastrite yet!

Connect with Gastrite

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies