Held's Recent Forum Activity

  • Hi,

    I'm trying to create a rope or a cable with one end static (pinned to an area). The other end should be pickable and carryable by the player, which has the task to carry it to a certain area (plug this end into a socket).

    I tried the pin-method built-in c2: The rope-style pin did not allow me, to make the one end static.

    I tried a physics-method with revolution joints, but when I pin it the end goes crazy and shakes like hell.

    A dream would be, to make the rope dynamic in it's length. So, the player can take it any place inside the layout and the rope/cable adjusts it's length (shorter and longer) on the fly. But this is would be an extra.

    Can anyone help me out? Thanks in advance!

    held

  • Hi,

    thanks, I will try that. Because it's no rectangle-shaped-sprite, I will try reading thepixel data.

    I already took alook at it in c3-free version and was not sure, how to "loop through every pixel to check the snapshot RGBa on every pixel", but I will try again. Maybe I can get back to you with the kind request for one more tip regarding that.

    Thanks so far!

    held

  • Hi,

    damn, as I'm working with construct 2, I posted in the wrong forum. Sorry.

    Is there a way to do it in c2?

    And is there a way to move the topic in the right forum? :)

    Sorry again and thanks!

    Held

  • Hi,

    I'm trying to check, when a sprite

    In my game, I want to paint a certain area eith a brush-sprite. So far, so good.

    Then, I want to check, when the arae is fully covered with paint (that no white spots are seen). So far, no success :)

    Can somebody help me out? Thanks very much!

    held

  • I finally got it working!

    As the incoming data is a floating point number, I changed the "int" to "float" and got the movement smooth as silk.

    Thanks for your decisive help!

    held

  • sorry for syntax-lacks!

    Now, c2 accepts it. The result is not noticeable, no matter what x*dt

    I'm am wrong again, right :)

    Thanks 4 your patience.

  • 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!

  • Try Construct 3

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

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

Held's avatar

Held

Member since 17 Sep, 2014

None one is following Held yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies