wrongtarget's Forum Posts

  • Bertie,

    Thank you for the suggestion but I know how to do what's explained in that tutorial. I need help specifically with my point n' click situation, which is different.

    Thanks!

  • Hey guys,

    I'm running out of ideas here.

    I'm trying to make a point n' click platformer with some pathfinding.

    I want the character to climb ladders when they are clicked and go down if he is upstairs.

    I find my implementation logical but it doesn't seem to be getting the work done.

    Could somebody explain me why?

    I'm attaching the project here.

    Thanks!

    dropbox.com/s/62fbk8fo8l6a59e/pointnclickplat.capx

  • Thanks guys! With your help I think I've got the concept now. Cheers.

  • What I'm trying to understand is what's happening behind what Yann did, newt. I'm not sure what you meant with your reply.

  • Hey :)

    I'm trying to catch up with the archived University of Reddit class that Yann and Kyatric did for Construct 2.

    In this video, he is explaining Z-sorting through For Each (ordered):

    youtube.com/watch

    I thought I was understanding what he was trying to achieve, but I evidently didn't. I thought that the sprites were going to be ordered in the Z axis according to their Y position in the layout.

    But instead, the result is that when the player sprite is over the lower part of the tree sprites, he is in front of them and when he is in the upper part he gets behind them

    I'm not understanding how this is happening, even after playing with the capx. Anybody care to explain, please?

    Thanks!

    dl.dropboxusercontent.com/u/23551572/C2Class/example/zSorting.capx

  • Thank you, Ramones!

    Only 1 hour for this game jam to end, and you saved my project :)

    Cheers

  • Could somebody check my project and see if they could find a way to make the WALL sprite appear inside the ECHO sprite when left click is down? Please?

    dropbox.com/s/7fdknuzfuteo38g/BLIND.capx

  • So...I apologize for bumping this, but I'm running out of time and like Obi-Wan, you're my only hope

  • Hello guys!

    This is kind of urgent <img src="smileys/smiley19.gif" border="0" align="middle" />

    In the middle of a game jam here.

    In my game you create a sprite with the left click that appears temporally. There are invisible sprites through the layout.

    I would like that when the sprite you create overlaps one of the non visible ones, they reveal INSIDE or UNDER the one you created, for its duration.

    I'm assuming the right way to do this is with the blending effects, but I haven't been able to achieve this effect.

    Any help please?

  • Kinda came up with a clunky solution.

    Basically each movement to an axis adds a different letter to a text field. So Right is R, Down D, Left L, and U up.

    When the text is RDLU, a full turn (kinda), the sprite goes up.

    But the results are very unreliable. Sometimes it doesn't seem to add the letters to the text. Somehow related to gamepad sensitivity?

    <img src="http://i.imgur.com/YWevd5H.jpg" border="0" />

    By the way, tried to do this with the Sequence Matcher plugin and didn't work, don't know why.

    I'm uploading my capx in case somebody could please check it out and give me a hand with this. I'd appreciate it.

    dropbox.com/s/ginusn4dlcv5kzu/bike.capx

  • Thanks Jayderyu.

    I did this and it check the angles accordingly.

    <img src="http://i.imgur.com/bm2JjV5.jpg" border="0" />

    I still have no clue on what would the logic be to make sure the player meets this 4 conditions (right, down, left, up) in a sequence. I presume that would be the way to know it has made a full turn of the stick.

    Any ideas?

  • Thank you OrangeTapioca.

    Been trying to do so but I don't know what values would I use for the angle.

    I imagine something along the lines of this:

    angle(Gamepad.Axis(0,0), GamepadAxis(0,1), x2, y2)

    But what would be the values of the second point (x2,y2)? Utterly confused here.

    EDIT: I calculated the angle, but don't know how to use that to detect a full stick turn.

  • How could I make this work with a Gamepad? The Gamepad.Axis expressions don't seem to work with the OneStroke pointer.

  • That didn't help. Can't make unistroke work with a gamepad.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm gonna try and see if this plugin may help me

    scirra.com/forum/plugin-unistroke-gesture-recognizer_topic48720_page1.html