kenhes's Forum Posts

  • Phyvo Yes! I had totally avoided functions but that did the trick. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a launch button with a set of events attached to it....including a "wait 10 sec". If I want to abort that launch after 5 seconds, how can I do it?

    I've tried attaching variable conditions, but the 10 second wait continues to count down and execute the events after it.

    I'm stumped! Help!

  • If there was a way to simulate WinKey+Printscreen, that might be a way around it.

    Otherwise, I'll have to tell the player to press those keys manually.

  • Savvy001 Yeah I saw that, but for saving to hard drive he says:

    For the moment, you can save text file and HTML strings as html files.

    No images yet.

  • lemo

    Is "Load image from URL" in the browser object..."open url in new window"? I tried this but when it's exported to windows 8 it prompts to look in the store for something to open the url.

  • Was searching the forums, but can't find anything definitive....

    I have a camera button in my game. When pressed, it takes a snapshot of the canvas. Where does that snapshot go? I want to be able to save the image to the hard drive. How can that be done?

  • Perfect. Thanks Jasper

  • There a quite a few sprites for that. I was thinking of something like: Get the difference between touch co-ords and sprite centre. Then put that at the touch co-ords.

  • I have this system for my sprites to allow them to be touch dragged:

    Is touching Sprite ] Set sprite position to (touch.X, touch.Y)

    It works, but it's not pretty. Basically, the centre point of the sprite jumps to your finger. I'd like to be able to drag from any part of the sprite and not have it jump/snap. Any ideas?

  • I used the condition that the smaller sprite wasn't overlapping the bigger one. Thanks wretchedshark

  • That only seems to work if both both are instances of the same sprite. I have two different sprites.

  • I have two sprites that are touch draggable. If one is dragged and dropped over the other, then the next time it is dragged, both sprites move.

    How can I solve this behaviour?

  • Here's an example in this thread. See the last image for the most up to date.

    Touch ID

  • I may have solved it. Adding what happens when touch speed is less than 100 seemed to do it.

    <img src="https://dl.dropbox.com/u/10196246/touchid%20solution.JPG" border="0" />

  • Changing it to "is touching puck" (inverted) makes the behaviour occur in preview mode. (Before, it would only be seen on a touchscreen). Getting closer I guess.

    TouchID