XOPC's Recent Forum Activity

  • Hi all! Is there any way to check if object A exists at coordinates X,Y?

    Thank you!

  • Hi ThePhotons!

    I need to count players in room. I use Photon.RoomPlayerCount(Photon.MyRoomName) for this, but it's showing wrong value. I've 4 player in my room, but it shows 3.

    Also, I use System.EveryTick to update number of player when someone joins, but it doesn't update a value.

    What I'm doing wrong? Is this a right way?

    Thanks a lot.

  • Thanks a lot!

  • Hi all! I have an event with two subevents.

    First subevent checks if variable is "1". If it's "1" subevent doing some actions and set this variable to "2".

    The problem is that next subevent checks if variable is "2".

    But it always executing because first subevent set variable to "2".

    Is there any way to stop running subevents if one of them is executed?

    Or any other logic to do what i described?

    I need something like: if (variable is "1") 'do something, set variable to "2"' else 'do something'.

    Thank you!

  • Hi all, I'm looking for plugin or something else to add IAP purchases to my HTNL5 game, not for mobile game. Is it possible? Can I use mobile IAP plugin for this or it works only for games in Google Play? Could you please share some tutorials or documentation?

    Thank you!

  • Hi all, I'm using 8Direction behavior.

    How can I know that angle of motion is changed? Is there something like "On angle changed"? I can't find something like this in 8Direction events.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all, I'm using 8 Direction behavior for my player. I need to do some events when player starts and stops moving.

    So, on "Is moving" event with "trigger once" it works fine.

    But on inverted "Is moving" event with "trigger once" it doesn't work. Anything not happens when player is stopped.

    What can be a root cause? Am I right in using inverted "Is moving" to find that player is is stopped?

    Thank you!

  • Thanks for the idea!

  • Hi all!

    I tried to use 8 Direction, Custom direction and Move to behavior but have no result.

    All I need is to move my object when some event is done. I need to use just an angle, which is stored in variable and move my object in this toward with special speed while this variable will not be changed.

    Thank you!

  • Hi all, I'm using 8 Direction behavior to move my player. I need to set some action when player start or stop moving. And I also need to know player's direction.

    How can I do this using 8 Direction behavior? In it's events I see just is moving option, not "on start move" or "stop move". Do I need to use another behavior or something else?

    Thank you!

  • Thanks for the answer! Lags are mostly on moving, all other actions as shooting or collecting objects works with smaller amount of lags. Also, after your answer, I think other actions lag may be present because of each frame raising players positions. I'll try to send just direction and move the object while event "is stopped" will be raised. Thanks for the idea.

  • Problem is fixed. We should to set custom room properties before creating a room.

XOPC's avatar

XOPC

Member since 25 Mar, 2021

None one is following XOPC yet!

Trophy Case

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

Progress

5/44
How to earn trophies