silkc2's Recent Forum Activity

  • If I need to raise this with Luidei please let me know. I'll need it fixing (or a workaround) before I can publish my game.

  • If the width property of an object returns data in pixels (assumption) then will I get different values depending if the game is scaled up or down in different window sizes?

  • ramones

    Thank you so much! Now this game is working perfectly on touch. Before it was too hard to have to touch the line, hence adding the larger hit area. :)

    It would be nice to see c2 have the "intersect point" exposed in a future build.. Ashley are you reading? :p

  • Hi all

    I've got a sample project here:

    dl.dropbox.com/u/116137178/GamesDev/Intersect/Intersect.capx

    If you click / touch anywhere it will spawn a wider hitbox area, which kind of widens the touch/click point. If that wider area overlaps a line, then it makes a flower where you have touched/clicked.

    This isn't what I want, I want the flower to always be dead on the line. i.e. At the exact x,y point where the "WideHitBox" overlaps the "Line".

    Is there any way to get this intersect info? Obviously c2 has it internally as it has detected the overlap in the first place.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tested this and found the values do indeed have ranges. Seems to be roughly -180 to 180 for beta and gamma, and 360 for alpha. I think.

    I'm having another problem now though, two different devices are working completely differently on "tilt down" (z axis). One changes beta. one changes gamma. NO IDEA what to do about that one so reported a bug.

  • What I was trying to do, especially for touch, is work out what's near my pointer rather than having to be pixel-perfect aligned with my pointer. And if I am near, have all dependant events behave exactly as if I were dead on top of the object.

    It's ok though, done things a totally different way instead. :)

  • Link to .capx file (required!):

    dl.dropbox.com/u/116137178/Bugs/Construct2/Touch/TouchBug.capx

    Steps to reproduce:

    1. Export capx to cocoon

    2. Test zip on any galaxy tablet

    3. Test zip on galaxy SIII phone

    Observed result:

    When changing left or right slope down (z axis)

    1, Beta changes on phone

    2, Gamma changes on tablet

    Expected result:

    Identical behaviour across android devices

    Is there a workaround in meantime?

    Construct 2 version:

    120.2 64bit

  • I have about 40 events against the family, if I add families that's a lot of code repetition right?

  • The lines are drawn dynamically at any width, anywhere :)

  • Hi again :D

    Anyone know how to adjust what a family contains at startup?

    This would be ideal as it means all my bad guys are in one family but on each level I can spawn only certain ones.

  • Hiya

    I have a circle and a line.

    When the circle is near the line I want it to snap to the line.

    I've tried to do this by making the circle a bigger circle, which means the overlap occurs sooner.

    That bit works.

    I can't figure out how to centre the circle over the line, or rather the point on the line where the overlap occurred, thus making a "snap" effect.

    Heylp!

  • Bump!

    I tested what I did so far and it's too sensitive.

    Do we have any documentation anywhere?

silkc2's avatar

silkc2

Member since 28 Jan, 2013

None one is following silkc2 yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies