brick334's Recent Forum Activity

  • Apply a small physics force towards the center of the bowl. Something like this:

    > On every tick : Ball apply Physics force 2 towards position (640, 360)
    

    Oh...okay, thank you kindly.

  • Your post says "bubbles" :) If you want something like "marbles in a bowl" effect, then it's quite easy to do with physics. Disable gravity, set "collision mask=circle", and on every tick apply a small force to each marble towards the center.

    what do you mean by " small force" towards the center? Sorta threw me there mate.

  • So....i've tried adding a simple sound to my project and for some strange reason, the simple act of adding a sound, not even the file or assigning or anything, give me this error. I went ahead and set it up how i wanted and I still get this error. Any ideas? I hope its okay to post so soon a new topic, I tried finding an answer but no dice.

    Tagged:

  • brick334

    I took ROJOhounds example from the thread dop posted, and added a more bubble like image, and the ability to pop and create new bubbles.

    it isn't viable on mobile because the math ROJOhound uses is very cpu intensive... but it looks pretty good.

    https://www.rieperts.com/games/forum/bubbles.capx

    oh, it requires the paster plugin...

    https://www.construct.net/en/forum/extending-construct-2/addons-29/plugin-paster-66240?kws=paster

    wow, that's rather impressive. I found a somewhat lame workaround to get the desired affect. I used the physics plugin and set the density to 500. Made the collision a circle and they group rather fine. Its not a fine as what you have, they again look like marbles stacked together. I'm gonna try an see if maybe I work or tweak it in order to get that "bubbly" look. Again thank you very much for your help.

  • This is not an easy task. See this post, there are some cool examples:

    https://www.construct.net/en/forum/construct-2/general-discussion-17/can-we-make-natural-effect-lik-139909

    I took a look at the post and wow, I just wanted the effect of bubbles touching but someone actually made them come together and deform like actual bubbles! The effect i was looking for was more like marbles wanting to stay together but I'm going to study what they posted in the other post. I realize now I was a bit to in the wrong direction with my explanation but yeah, that really helped out thank you kindly.

    Now i just gotta decipher how they did it. ^_^

  • I'm trying to recreate a common effect when you have bubbles all grouped together. For example, imagine eight bubbles on a screen. Grab a bubble near the edge or in the center of the cluster and move it around and the other bubbles move "around" that bubble. If you pop said bubble, the remaining bubbles rush to fill the space left over. I tried using a joint and a "for each" but that didn't quite work. My goal is to just have bubbles spawn and then "stick" together when they come in contact with each other.

    I eventually wanna make the bubbles sorta "bounce" when they collide but i can do that later with a sine I think.

  • Not sure how, but this fixed it. Not sure how I did it but I did.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, you don't need to create a revolute joint every tick, doing it once at start should suffice like in the tutorial. Other than that if you've followed the tutorial it should work as far as I can tell. Are you sure you're applying impulse to the correct image point?

    I followed it down to the T but it seems I missed something. I'm rebuilding it again to see what i missed.

  • Howdy

    So, I'm trying to set up a simple flipper akin to what would be in a pinball machine. I found a nice tutorial that uses physics Behavior but when I run it, the paddle jitters up and down. It also seems to ignore my inputs. any suggestions?

    so far this is what I've done.

    • Create the paddle
    • give it the Physics Behavior
    • set linear/angular damp to 1
    • For every tick > Create limited revolution joint ((Ive set it to an "anchor" in the scene))
    • added "add impulse" on click
    • every tick set impulse opposite to what is the click

    by the by, this is the tut i was following.

    scirra.com/tutorials/207/pinball-physics-to-the-max/page-1

    thanks for any help.

  • So basicly, I tackled what I think is what you wanted. An elevator that goes up and down, only stopping at each floor automatically. The elevator can be called and then the player can get on and take you between levels.

    The way it works is a tandem system where one object drives another object, periodically. That is,

    sprite (A) moves every three second a given distance. Sprite (B) scrolls to it smoothly and stops. Repeat.

    Sprite (B) is the elevator and so Sprite (A) is the motor. However, we have to take into account that the Elevator is always in one of three states: Up, Down, and Call, where call is the only state triggered by the player.

    so, when the level loads, we set the initial state to Down. Which drives the motor to snap between floors. Once it makes it to the bottom most level, it changes to Up state. If the player "Calls" the elevator, the motor is instantly snapped to the floor that the player is on. Remember, the motor can snap anywhere, but the elevator will always smoothly scroll.

    I've attached a capx with notes on it.

    I also encourage anyone else to see if they can make it better. I feel that, although I got the end result, that it could be a bit tighter. But hey it works.

    datafilehost.com/d/a4b57cf4

  • ..........................

    http://s000.tinyupload.com/?file_id=841 ... 8335316787

    you sneaky baach.....beat me to the punch. <img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" />

  • My question is, what kind of door are you going for, a revovling door or a plain door? I ask because if you try the following.

    I get a door that opens, not smoothely but it opens.

brick334's avatar

brick334

Member since 13 Jan, 2013

None one is following brick334 yet!

Trophy Case

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

Progress

13/44
How to earn trophies