Badramgad's Recent Forum Activity

  • Hi, I just got into creating Multiplayer games using Construct 2.

    Photon looked cool and somewhat simple, so I downloaded it and played around with it for a bit. I watched a video on how to make movements and such. It works, until more than two players join.

    My Code:

    Only a maximum of two Player object instances are made at a time for some reason, causing multiple players to have control over an instance.

    Please ignore any events where the object "Creation" is involved. This is something entirely different.

    The youtuber I watched has had many people address the same problem in the comments without ever fixing it. He also never showcases a game with more than two players. (Video: https://www.youtube.com/watch?v=rAKvWdPRzlA)

    Does anyone know what the problem is?

    Thank you.

  • Hi, I just got into the concept of developing online multiplayer games with Construct 2.

    As a start, I decided to use the existing real-time shooter template as a text.

    The template is great and works perfectly with objects that have the 8-direction behavior. However, as soon as the 8-direction behavior is switched to a platform behavior (Along with all the "simulate controls" events changed to properly move a platform) the host gains full control over all peers and themselves whenever moving. This obviously shouldn't happen since every player should have control over only the object they have been associated with.

    Anyone know what the problem is?

    Thanks.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Both add-ons look very practical, can't wait to try them!

    Thank you both!

  • You do not have permission to view this post

  • First of all, I just want to say that everything that I am about to say has REALLY happened, and I'm very creeped out.

    I just started developing a multiplayer game. Completely ignorant about any of the required knowledge, I decided to use the already existing template of the real-time shooter game.

    The project was working just fine 5 hours ago, before I had to shut down and do something. When I came back, the project didn't work properly anymore (The host started controlling all peers whenever moving, which didn't happen before I had to shut down, and many of the controls/inputs were switched). Thinking they were all flukes, I went along with fixing them. It didn't work. Whenever I would fix one event, others would somehow return to the wrong values (I even remember saying "what is happening?" under my breath by instinct).

    After countless tests (2.4+ hours), something very odd happened... Someone joined my testing layout... Y'know? The one that is supposed to be local and that requires someone to have the actual app/project file to run it?

    They joined with the alias "f" and just ran around and hopped everywhere (Which is even more odd, considering the aforementioned bug where the host controlled all peers was not fixed, but seemed to had no effect on them whatsoever despite myself being the host). Until I said "hello?", to which they replied with "Hi". Then I asked "How you doin'?", to which they answered "Nothing". And finally, when I asked how they ended up on my local server that they should not have access to, they left the room...

    Additionally, even if the person had somehow gotten the app, the way in which I made joining the actual game was pretty hard (You had to write a name on a single textbox on the login menu, and then press "d". Pressing "enter"/"return" would have went to the game layout but would have given an error). In other words, there is no way of joining the game room unless you KNEW the way, and since only I knew, I believe that person had somehow gotten their hands on the project file (Which would also explain the weird differences that occured during the gap of when I had to go do something)...

    Something wasn't right. I did not give my app to anybody, and my testing layout was on my local network, so there is NO WAY I can think of that person could have had access to my layout...

    It may be significant to note that I use the free Scirra server, and again, I modified and used the shooter template.

    Can anyone PLEASE explain what had happened? Was it a hacker?

    Again, on my life, this is ALL true.

  • 1 - You download the effect you want to implement or add into Construct 2 (Should come in a .fx extension)

    2 - Right click on your Construct 2, and press "Open file location" (If you are using a shortcut). If not, just open the folder in which you have Construct 2

    3 - Go to the folder named "effects" and drop the .fx file there

    4 - Reload Construct 2 as to load the new effects

    NOTE: This is for Construct 2, someone else has already explained how to add effects for Construct 3.

    Hope it helped :)

  • Hi, I just had a quick question regarding Construct 2.

    I'm aware of the font color changing property and the change web color event, but those two change the entirety of a text or textbox object type. I was just wondering if there was a way to color specific parts of a text object (One line or a specific phrase amidst a paragraph for example).

    Much like this but in Construct 2: "Hi, my username's Badramgad and I make games" (With the bolded word being of a different color, of course).

    Thank you.

  • Ehen you export as Nw.js , It works with windows and linux, in fact, Nw.js is made for Windows and Linux, but not Mac

  • Hi I'm badramgad, I really know how to use construct 2, I don't have any game ideas, so if anyone needs a game developer I'm here for You, You have to send me the sprites and I develop the game

    Contact me:

  • I want to make a 2 player game with 8 direction, In the 2nd player I disabled the default controls, and added the event on A pressed = Simulate control 8direction moving left

    It doesn't move, It just changes It's animtaion, as if player 2 is walking, but no just the animation is changes, I did the event up there with the W, S , D also

    Am I doing something wrong? Please help

    Appreciate any help

  • How to know my version of C2?

  • Whenever I try to export my project with NW.JS it does not work, it exports very normally, but when I get into the win32 and win64 to open the project, it says nw_elf.dll is missing, and I have the latest versions of both COnstruct 2 and NW.JS.

    Am I doing something wrong by going into the win32 and win64?

    If no please tell me the solution

    If there is no solution please tell me any way I can export ( does not have to be with nw.js)

    Please answer as soon as possible, It's urgent

    Thanks

Badramgad's avatar

Badramgad

Member since 31 Jan, 2015

None one is following Badramgad yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies