NepNep's Recent Forum Activity

  • like this? I'm assuming I would need to add "on animation hurt finished" somewhere

  • I do have it so the hurt animation plays when you get hit by something and take damage, such as in this instance, and i tried adding the "hurt is playing" inverted as another condition for my movement animation and that didn't help at all, or I didn't understand what you meant

  • Here is an issue I've been having for a while in my game. Whenever my character gets hurt, it goes into the hurt animation, and what's supposed to happen is if you're not moving, the animation is supposed to change to the idle animation, and if you are, the animation is supposed to change to the walking animation. However, the hurt animation freezes on the last frame until you stop moving, and the idle animation is frozen as well and doesn't change to the walking animation when you start to walk.

    I would like to know what's wrong and how to fix it, if anyone knows. (Ignore the gun variable in my events, that's for determining which weapon you are holding, as the Player has separate animation sets for each weapon)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • both the peer and the peer controls group are disabled on startup. even when i made the peer controls group active, the peer isn't moving, but the host can't control the peer now, so there is some progress. Oddly enough, putting the "disable platform" action for when the peer connects allows them to move, but they can't jump, move through the host's character, and the peer continuously hops up and down

  • here is the latest update to the code, if it helps

  • So I may not be able to show the entire project, here is an explanation of what’s going on still: on the host’s side, WASD moves only the host’s character, and the arrow keys moves both the host and peer, and it updates properly for both players. However, on the peer’s side, pressing WASD or the arrow keys doesn’t move the peer at all on either side and this is after removing the platform events and disabling the platform behavior for the peer.

  • I cannot, since it’s a school project for a competition (which is why I have an online multiplayer mode- to make it unique), and it’s just a mode, there’s a bunch of other stuff around it, but I can send screenshots of the new multiplayer code in its entirety like last time

  • I just did, several times over, and even making tweaks to the code that I thought would do it still doesn't allow the peer to send their inputs.

  • so having a 2-player platformer game that uses this type of multiplayer is more or less impossible?

  • ah, okay. I am using the platform behavior, not 8direction, and I'm fairly new to multiplayer. here's some screenshots of the code so you can tell me specifically what I have to remove, add, or replace.

  • I am building an online multiplayer game, and for the controls, the host is able to move perfectly fine. However, the peer moves both the host and the peer a little bit on its side, stops, and then moves back. I've looked over my code multiple times over, and haven't found any issues. can anyone help me with this issue?

NepNep's avatar

NepNep

Member since 26 Sep, 2019

None one is following NepNep yet!

Trophy Case

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

Progress

7/44
How to earn trophies