Kniggles's Recent Forum Activity

  • Hi

    I am trying to set up a players database with name/logo / website.

    I have set up the php files etc. on the server.

    I am trying to import the data into Construct and I am finding that the photo/logo Sprite box are all the same photo and don't change.

    is there a tutorial on this anyone could recommend?

  • Hi All,

    My goal for to-day is to be able to press the build brick button and for it to run the code to build a brick with a picture on it and to then be able to move the brick with the picture attached to it.

    I am able to get the brick on screen and also the picture in the box, however, the picture changes on ever brick, how do i stop this.

    i am thinking and have tried adding a new instance to the brick when created, however this does not seem to work :(, any 1 able to see where i have missed?

    thank you.

  • thank you WackyToaster, am now looking into tokenat tutorials :)

  • 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 am trying to use the data i get back from my Ajax call,

    the string i get back is

    Johnmy text goes herethere text goes here

    this should say John my text goes here there text goes here

    how do i Ajax.lastdata to split the 3 bits of data up to be able to use them?

    thank you.

    Tagged:

  • Good Morning All,

    Any One know how to stream a webcam into my game thus making the player avatar face = webcam-pic.that can be seen by the rest of the internet?

    thank you.

  • Will this tutorial help?

    https://www.scirra.com/tutorials/685/making-a-jigsaw-puzzle-part-one-concept

    It also includes a full working .capx for you to study.

    this is sort of helping thank you,

    i am however trying to make 1 jigsaw peace = 1 pic so i can add another pic into a new jigsaw peace and then join the 2 pics together.

    I am not worried about the peaces snapping together as they should all have the same mask on.

    i can not seem to be about to break this code down into a way to understand the process .

    thank you.

  • Hi I am trying to make a Jigsaw type game and i have stuck on how to make the peaces over lap right.

    any pointers please ?

  • Put everything you want to be masked out on the same layer, put the mask object on top, turn "Force on texture" ON, put everything else on a layer below it.

    here is an example

    http://www.headbangames.com/mask.capx

    thank you very much <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Did you make sure the mask is on the same layer and that the layer has force own texture set to true? Please note that these blend modes do not show in the editor, the effect is only visible in preview.

    Also z-order of the mask is very important.

    Edit: set opacity to 0 the mask's. Very important!

    thank you for helping

  • >

    > I do not understand,

    > The Ajax settings in construct2 are

    > ....

    > Method

    > "POST"

    >

    > I can not see another others i can change and this is already set to POST.

    >

    > Post to URL

    > Send a request with data to a URL and retrieve the response. A tag is provided to match it up with the On completed, On progress and On error triggers. Construct 2 does not automatically URL encode the post data - use the URLEncode system expression to ensure the data is in the correct format for posting. Note post data is in the same format as a query string, e.g. "foo=1&bar=2".

    > The method can also be specified: by default it is POST, but for some APIs you may need to change this to GET,PUT, DELETE,HEAD or another HTTP method.

    >

    > [quote:1qcv5vpu]GET - Requests data from a specified resource

    > POST - Submits data to be processed to a specified resource

    >

    Thank you for helping

  • This is what you've got right?

    which is equivalent to this:

    But what I think you're wanting is this:

    of course URL encoding the message if there is any chance there is a special character in there at all. URLEncode is a system expression. So you'll probably finish with this:

    But then you need to make sure you decode within the php script so the variable assignment lines will look more like:

    > if (isset($_GET['user'])) {$user = urldecode($_GET['user']);} else {$user = urldecode($_POST["name"]);}
    [/code:14tgp1dp]
    

    These Both work Thank you very Much

  • you can mask it out with another circle shaped sprite, or use something like the 3rd party canvas plugin to redraw it to a new image (not necessary if you don't actually need the user to download the image)

    Hi Lof, thank for helping .

    For masking check out "Blend modes.capx" in your construct2\examples directory.

    I have used a mask over it however this will not let me see through to the layer behind.

    ie if the player uploads the target as a tree when hit i want to see through the tree to the forest or what ever behind.

Kniggles's avatar

Kniggles

Member since 2 Dec, 2013

None one is following Kniggles yet!

Connect with Kniggles

Trophy Case

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

Progress

13/44
How to earn trophies