briggybros's Forum Posts

  • Yeah, so it currently looks like this:

    All you need to do is change it to this:

    where '10' is the number of pixels to separate the blocks by

  • 404's are not to do with this, the problem I was having was that I was encoding the = in my post data to it's URL friendly form. A 404 is when the page cannot be retrieved; have you checked that the URL you're posting to is correct? Try to visit it in your browser to check.

  • Yes, achievements are possbile, so long as you are exporting with NW.js and use this (experimental) plugin by Ashley:

    I've also heard that Steam also offer support to help integrate your game with their system if you ask.

  • That is what is happening in my example

  • Is this what you were getting at?

    https://dl.dropboxusercontent.com/u/706 ... BLOCK.capx

  • How are you sending the email? Are you sending the text via AJAX to a script in say PHP to send the email?

    For example you have: "Hello!" & newline & "Bye!" as your text.

    AJAX: post to url("tag", "https://mydomain.com/emailpage.php", URLEncode(replace(text, newline, "<br>")), "POST")

    Then when the script receives the post, make sure to URLDecode.

  • <br> is the html tag for a line break, try replacing newline with that.

  • This can easily be done in the even sheet, as described above.

    Naji There was a post by Ashley which asked devs not to create plugins or behaviours similar to those included in C2. Can't find the post right now, but I remember reading it.

  • Anyone?

  • I'm trying to be able to load and save a map to a JSON file. The current method I have is this:

    However, when I try to load the map, the tilemaps don't update. The value for size changes, but the tilemaps don't load the data. Why is this?

  • After reading these I think I'll use the second idea of not having the tiles join as I want to have many tiles and the number of connecting tiles would be too much.

  • I want to make some of my tilemap tiles join together.

    I have this as my tilemap, with each tile can be used for different possibilities of surrounding tile.

    Is there an easy way to go about selecting the tile to use given the 8 surrounding tiles?

    ...or should I just use one tile that can tile nicely?

  • You can use the method I explain here, adding an extra parameter of a link to the download.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Jayjay, just what I was about to post. I like the idea of the then statement. However, I think that the tag system should still be in place optionally. Given the example of 5 async actions being run at the start of layout, the "On all complete" covers the basics of performing these actions. But what if you want to know when just one of the 5 has happened? I mean, you could just call that one after the first 4 as an action of the "On all complete event". But if the user wants to optimise, then the tag method would work better, where only the one action is given a tag and then picked up by a tagged 'Then' event, and the "On all complete" event fires after all 5.

  • Are you using a tile based system?

    if so, the problem could be represented as such:

    For the most natural movement, you would want the enemy (green) to pass into each of the tiles which the line passes through.

    The distance for both x and y can be found like so:

    That can be simplified down to 3:1, 4 times.

    If you think about the movement in steps:

    start with the direction which is longer, and move that number of tiles in that direction, one tile per step, then move the distance in the other direction, one step at a time.

    The closer to 0 one value in the ratio is, the more straight the path of motion. If the lengths of either x or y are prime, then this will result in a path where there is one movement on and and one on y.