oosyrag's Forum Posts

  • https://www.dropbox.com/s/wyiz1r06s2p3o ... e.c3p?dl=0

    ref tutorial: http://i.imgur.com/XMyUpzN.png (the original website that had this article went down, but someone saved it as an image)

    My example is made in C3, but it can be done with just one event so you can use the free trial to play around with it.

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

  • Try Construct 3

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

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

  • 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