Held's Forum Posts

  • thanks guys. I thought so, too.

    Here's my workaround:

    On key "A" pressed - request camera

    on start of layout - simulate key-event "A"

    camera is automatically enabled. Works fine with chrome.

    Thanks.

  • Hi,

    is there any chance of enabling a camera support automatically? Right now, at least I have tol push one button. I'd like to start my application and webcam-feed starts automatically with it.

    Sorry for posting in C3-board too.

    Thanks!

  • Hi,

    is there any chance of enabling a camera support automatically? Right now, at least I have tol push one button. I'd like to start my application and webcam-feed starts automatically with it.

    Thanks!

  • sorry, got it, but it's not working. on the second touch, the sprite flips 180 degrees and a dynamic rotation is not possible. Wheres my mistake?

    Maybe, I didn't explain it correctly? It should behave like a typical rotation-gesture on a tablet. The angle should dynamically follow the second touch gesture.

    Thanks for helping!

  • thanks! But it gives my syntax error. the comma between "Touch.x" and "touch.y" ?

  • bump

  • Thanks for the hint. The game will be played on one specific screen.

    held

  • Hi,

    I'm trying to rotate sprites by touching them with a second finger. The first touch can drag and drop the sprite the second one (still in touch with the first finger) can rotate it freely by moving the finger.

    I took a look at several discussions on the net aswell as the example shipped with construct. But, I must admit, I don't get it. I think, I miss something with addressing the touches?

    Can anyone help me out? Thanks!

    held

  • Thank you guys. Around the destroy action I set the variable back to false. And that does the trick. Had that before, but the order between the action wasn't right. Now it is. Man, this business is tricky sometimes

    Thanks again!

  • It's me again.

    I'm struggling with setting the isused variable back to false, so when the object above it is destroyed, a new one can spawn. Checking, if the object is not overlapping the spawner is not working. Can you or someone else help me out one more time?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes Sir! The whole time I worked with 10 different spawner-objects. Now, I'm working with 10 instances of one and the same spawner-object and coded as you advised. And...it works. Thanks a lot, really appreciate your help and your patience!

    held

  • I will try my best with the spawn-objects rather than the image-points.

    I set up the objects and instance var. But how do I pick a rondom object which instance var is set or not in the event sheet?

  • Thank you guys.

    alextro: Puuh, pretty hard stuff for me. Sorry, but I don't get the code right now. But I'll keep on trying

    plinkie: If I destroy the object immediately after spawning (in the case it overlapps an already spawned object) it destroys the object which is already there too. Which is not what i'm going for.

    If I substitute the imagepoints by objects (spawner-sprites) and give them a variable, how do I address them in the random-spawn event? Right now, I'm working with:

    system > every x seconds > Spawn-Object (the one with the image-points) > spawn family-objects (imagepoint random(1,10))

    Thanks again

  • Hi,

    I have a layer with 10 image-points and a family with 3 objects. I'm trying to spawn the objects randomly over the image-points randomly. The spawned objects are not moving but can be destroyed by another action. This works alright, but I am not able to prevent an object spawning over another one already spawned. If there is already one object spawned by an imagepoint, no other object should be spawned at that point.

    Can anyone help me out? Thank

    cheers,

    held

  • Hi,

    inside my app I'm trying to import multiple jpg-files and arrange them (position, size). So far, I used the file-chooser and drag and drop behaviour. But I only can make it work for one file. The next imported image substitutes the image before. How can I import an image, arrange it independently from more imported images? Can anyone help me out?

    Thanks!

    held