Jessica Q's Recent Forum Activity

  • I tried that but i need objects to bounce as they collide ... A solution to my problem might be around giving the bound to layout behavior though! Any ideas? :s

  • Hi guys!

    Do you know if it is possible to set up a object so it collides with the edge of the layout instead of a 'solid wall sprite'? If yes could you please help me out?

    Thanks for your attention!

  • RamPackWobble

    Thank you Ram! It worked like a charm! In order to make it grow exponentially my brother ended up suggesting this, based on what you told us:

    Add (Self.ivSize < Self.ivMaxSize)*sqrt(Self.ivSize) to ivSize

    I also managed to make the balls go in a random direction with setting the bullet angle to random(360) but only enabling bullet behavior once the mouse button was released.

    I'm now working in making the balls bounce on the walls, for some reason they keep bouncing in non-intuitive directions

    ---

    alibest23 Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone! I'm new to construct 2 (Just moved from GameSalad)

    I don't have any programing skills (designer student here) although i've learn a few things from GameSalad. I'm currently struggling with setting up a really basic thing. I keep having bugs/crashing the browser.... so i decided i'd just ask if someone could help me out!

    Me and my brother are trying to:

      • Create a ball from pressing the mouse left-button. (Mouse event on Left Clicked -> Create object at (Mouse.X,Mouse.Y))
      • Make it grow while the mouse button is being held. (Here is where the problems begin... perhaps something like this: While event/Mouse Left button down event -> - Set object size: Width = Width + 1/Height = Height +1. We want it to grow exponentially)
      • Make the ball stop growing if it reaches a specific size or the mouse button is released
      • When the mouse button is released the ball goes in a random direction and bounces in the edge of the layout (My brother tought in something like setting the object as a bullet, with bounce enabled, but the ball goes away unless we set a 'wall' sprite and then coding it to set angle of motion = random(360))

    I'm sorry this is probably a mess... but so is our head right now and we can't seem to figure this out...

    PS: He said he published a topic already but just in case he wasn't specific enough. Oh, and sorry for any english mistake I may have made!

    If you could help us I'd be really thankful!

Jessica Q's avatar

Jessica Q

Member since 11 Nov, 2015

None one is following Jessica Q yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies