russellit's Forum Posts

  • There may be a more elegant way, but I put objects that can collide with themselves into a family, which lets you check if "family" is overlapping with "object".

    You sir, are a gem! That did exactly what I was intending to do, and now I know the use for families :-)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, I’ll give this a shot.

    Basically my aim is to be able to get the ID from each

  • Can anybody help me figure out how to handle player - player collisions please.

    They both use the same object, with different IDs as it’s a multiplayer game.

    Whenever I detect a collision, I can only detect one for itself. I’m not using a script, but if this is the way, any pointers are greatly appreciated.

    I’ve been wading through the manual but can’t find anything for collisions with the same object

  • I may be wrong but I believe you need to set it to "Content-Type: application/json"

  • Could you upload your project file if you don't mind?

    I'd be surprised if there's a problem with the AJAX plugin, more likely you've got a minor error somewhere causing it.

  • You would still POST the data as Content-Type isn't the same as POST/GET.

    On the assumption you're using PHP, you're back-end code would look something like:

    $data = json_decode(file_get_contents('php://input'), true); print_r($data);

    Ps. Sorry it's not on new lines, not sure how to do it in the forum :-)

  • The AJAX object has "Set Request Header" which allows you to set the header for your next request

  • Nevermind - found it! I need to right click on the WHOLE statement and Make OR block.

    Thanks anyways :)

  • I know this is a stupid question, but I can't find the or statement (Not Else) - I'm wanting to do "if button clicked" OR "if touched"

    TIA!

  • Thank-you! Don't know how I managed to miss that!

  • I apologise that this may be a very newbish question - but how do I make user input show as ******* instead of Pa55w0rd?

    TIA

  • Listboxes no longer seem to work in IOS (and haven't in android for a while from what I can see). I've referenced a topic that raised this as a bug, which it isn't... but I'd be interested to know of any useful ways around this?

    Reference:

  • It'd be worth putting instructions on the start page, It took me a while to figure out how to move the ship and shoot. (I tapped left, right etc but of course nothing happens due to the slow speed).

    Other than that, I just feel it's all a little slow with poor manoeuvrability for the ship, not sure if that's intended?

    But good job, keep up the work

  • Thanks alot... I thought so, but just wanted to check

  • welcome all