Held's Forum Posts

  • Thanks already!

    my global variable is called "Audio_In_01"

    my incoming data is "WebSocket.MessageText"

    I tried your tip with:

    every tick > set lerp(Audio_In_01,WebSocket.MessageText,speed*dt)

    and can't get it to work. Could you give my another, little harder hint :)

    Thanks!

  • Hi,

    every tick I'm receiving the Volume-Level of an incoming microphone. Because I need multiple audio-inputs, not directly via the audio-plugin, but with small extra-java-prog via the windows-mixer and with websocket into construct. Then, I'm storing it in a global variable and link the data to the position of a sprite. So far so good. But the sprite is changing it's position too rapidly.

    Can anybody help me out smoothing the data, so the sprite won't change so rapidly it's position?

    Thanks!

    held

    Tagged:

  • Hi,

    thanks! I will check it out and get back with results.

    cheers,

    held

  • Hi,

    I have several spots on my screen and I'm trying to (drag and) drop a sprite "A" (and make it snap) to the nearest of these spots, which is not already overlapped by an instance of "A". The snapping itself is solved, but I'm struggling with choosing the next un-overlapped spot.

    Can someone help me out?

    Thanks a lot,

    held

  • Don't know, if anyone can comprehend, but here's my solution. Thanks again!

  • Hi,

    I think, i solved it. Just had a idea similar to yours. I gave the pancake two instance variables and so I can store the frame-number to the specific instances. I have to try out a little more but I'm confident so far.

    If it works out, I will post the code later.

    Thanks for thinking with me!

    held

  • Hi,

    this is the section where the magic should happen. If you do a swipe-gesture above the pankace (here: "Grillgut") it should turn around, pause animation and so on. Enough information?

    Thanks!

    EDIT: I managed to store the animation frame to a variable which works fine for one instance. But as there are multiple instances on the screen, the one stored frame number does not fit the next instance. Hmmm, tricky.

  • Hi,

    In my game, you have to roast pancakes from both sides. For this, I made an "upside" and a "downside" animation, in which the sides slowly gets brown.

    If the player touches the pancake, the pancake should turn around. The side which is not in contact with the pan should pause at the actual frame and start from that frame, if being turned again.

    I tried to solve it something like this:

    -stop "uspide" animation

    -change to "downside"

    -start "downside" animation

    But both animations are behaving equally and dont stop and start at the respective frames.

    Is it solvable with one instance?

    Can anyone help me out?

    Thanks a lot,

    held

  • Hi,

    yes, that does the trick. Tried that before, but at the wrong position.

    Thanks a lot, appreciate it!

    held

  • Hi,

    I've a grid of 15 fields and want to create different sprites (packed in a family) randomly in these fields every x seconds. In each field, only one object should exist at a time.

    I tried to do solve it with 15 spawners placed in the fields and coded:

    every 2 seconds - pick random spawner --- spawner-spawn family

    which gives me multiple instances above each other.

    How can I randomly create only one object per field, 'til this object is destroyed and theres room for a new one?

    Thanks a lot!

    held

  • it's not that I hacked construct, right?

    ... my knowledge is getting dangerous : )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!