oosyrag's Forum Posts

  • Sounds like a network issue between host and peer, if you're able to query the signalling service and join a room. Probably too strict or complex of a NAT or firewall, not sure. I've had similar issues in the past with devices behind double NAT.

  • Side view or top view?

    Quick idea - Use a thin invisible helper sprite along one side of your wall. If the player is overlapping the wall, set the helper sprite to not be solid. If the player is not overlapping the wall, set the helper sprite to be solid and push out solids.

  • How did you create your json file? Generally speaking, you're not supposed to "type" it out. You get Construct arrays in json format by using the array.asjson expression or the array download action.

    Basically there is probably a mistake in your json format somewhere. Everything else you are doing sounds about right.

  • I find it curious that I have to "manually" reload Construct 3 to update it. Isn't one of the main benefits of a web app that users are always on the latest version?

  • I'm not an expert on Mac, but I assume it is simply a permissions/security issue where Apple doesn't want to let your program to launch other programs to execute data from your project.

    Either that or the Mac didn't have a default program set to open PDF files.

  • https://www.dropbox.com/s/0ru37dkgyhqvi ... .capx?dl=0

    Here is an old example I had.

    More information might be useful. Is your project top down or side view? Are you already using physics?

    Depending on your art style and context you are using it in and how large the effect is, it may be better to use an animated sprite. Without knowing more about how you plan on using it, it is hard to be able to say which way is best.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • https://www.scirra.com/manual/125/system-actions

    [quote:3u0yhhc9]Set canvas size

    Set the size of the canvas area in the page, if appearing inline to the page (i.e. a fullscreen mode is not used). If a fullscreen mode is in use, this effectively changes the size of the Window size project property, which adjusts the size of the viewport.

  • Use a second variable. In the event that you want to repeat, have it set a variable for your sound. Then launch your sound with a separate event that triggers once on the new variable.

  • How are you positioning your camera in the first place?

    I would normally use a scrollto behavior on an invisible helper "camera" sprite. Then you can do all sorts of things such as check x and y position or use overlap conditions.

  • I would break up the game's effects into functions. Functions are useful when you plan on reusing a similar set of actions across different events with different condition. For example, and end turn function could be referenced when a player manually presses a button, or it can be caused by playing a certain card.Function parameters are also flexible and useful for organizing variables. A life gain function could use 2 parameters to define target and amount - lifeGain(playerb,4).

    As your game gets more complex, you can just add additional functions for new effects that should normally be isolated from previous ones. Watch out for recursive functions though!

  • This is not possible in Construct 2. You can use multiple text objects as a workaround. Construct 3 has plans for supporting this feature in the future.

    Edit: Never mind! Guess I'm way out of date ><

  • It was a minor mistake - your chat layout does not have an event sheet attached to it.

  • Link got truncated

  • Study the multiplayer tutorial. If you're going to try to make a multiplayer game without understanding how all of the multiplayer tutorials work, it will be very difficult to get anywhere. If you have a good grasp of the tutorials, you should be able to apply them to a simple platformer. Unfortunately, anything to do with multiplayer isn't going to be simple, and its hard to just take the example and change it if you aren't familiar with how it works.

    If you have gone through the entire tutorial, what have you tried so far? Here is a quick checklist off the top of my head. You could probably get more help if there was something specific you are stuck on and could ask about.

    Create the base game.

    Join a game/room/session via signalling service. Enable host events if first to join, else enable peer events.

    Host - Create, assign, and sync player objects as self/peers join. Receive inputs from players and apply to correct player objects.

    Peers - Send inputs to host. Apply same inputs to relevant assigned player object for local input prediction.