Phill's Forum Posts

  • This was the first game we made using your product

    facebook.com/ybrwealth/app_488473001201822

    I thought it would be worth letting you know that it was so easy to use and create with, thanks.

  • Looks like I also needed to pay attention to one of the values I was changing...

    From my findings gamma changes at 30 / 65 / -30 / 60 / back to start

    Has anyone got a working file of this sort of detection that works properly?

  • Hello

    I just finished figuring out how to do tilt based movement in landscape mode. In landscape, tilt left and right = beta, in portrait, tilt left and right = gamma.

    <img src="http://www.coflash.com/stuff/tilt.png" border="0" />

    But... I can't see a way to make it detect which orientation is in use.

    I want to make it so that if you're in landscape, use the beta events (and ignore gamma), and if in portrait, use gamma (and ignore beta).

    At the moment if I incorporate both it's a mess - either that or I only leave the beta tilt on and in portrait I have to tilt up and down rather than left and right :/

    Any ideas? Is there an event I'm missing? It's really easy in basic HTML/JS so maybe I'm just missing how to detect this in Construct? I'm going to try alpha of which I just noticed -_-

    Thanks

    Edit: Alpha only reports every now and then, then disappears. Should I be using 'AngleAt(index)' or 'AngleForID(id)' somehow?

  • I take it there's no easy way to do that?

  • Basically I just want to grab a single score number, so say it's 56. I will then use that number to generate an image for a user to share, so if their score was less than 60, they get the image for that

    Thanks

  • Hello

    Is it possible to find one of the variables from a game with the browser? I want to share a high score from a page by capturing it from the end game screen, but I can't seem to find a way to do it.

    Thanks

    Edit: I noticed I can log vars with this plugin:

    scirra.com/forum/log-text-Objects-to-chrome-console_topic47859_page1.html

    Can I not alert them somehow, just as easily?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to use a global variable from the game with this code? For example, how do I alert my highScore var?

    Or do I have to use something else?

    I have got this plugin working, I just don't know how to do the above. Thanks

  • Even at 99999 there is still easing, it looks strange

    There's nothing I can find that removes it completely, people don't walk and stop quickly with easing, so my sprite looks very odd

  • That worked perfectly, thanks!

  • Hello

    I have 4 values

    playerX = Where the player is on X

    playerY = Where the player is on Y

    Touch.X = Where the player is about to move to on X

    Touch.Y = Where the player is about to move to on Y

    I need to make a comparison... I need to know if the distance between playerX and Touch.X is greater than playerY and Touch.Y

    Is there an easy way to calculate and compare these?

    Thanks

  • Hello

    I have an object that moves to an area that I click on

    When it moves, it starts off slow, and slows down when it gets closer... this is hard to match to a sprite.

    Can I make it so that it moves at a constant speed, without the easing?

    Thanks

  • Yeah - that's pretty annoying, I wish people would stop using Dropbox for such examples

  • Seems to work when I call a function I just created to do the same check, weird

  • Like this? It still doesn't destroy them, even though you can see they're created in layer 1

    <img src="http://www.coflash.com/stuff/helpconstruct2.png" border="0" />

  • <img src="http://www.coflash.com/stuff/helpconstruct.png" border="0" />

    So basically I'm not sure how to destroy those on specific conditions when I already have conditions in place. Do I need to add additional conditions to each of the original 'or' conditions?

    Thanks