How do I make a black hole?

0 favourites
  • 9 posts
From the Asset Store
A simple fun and stylish endless scroller game ready to be customized and published.
  • I wish to make a black hole that draws only a specific sprite. Is this possible and how to do it?

  • Pariunos

    you could use the bullet behaviour for the object you want to be pulled to the black hole.

    Then check if the object is in a certain range (use "distance(blackhole.x, blackhole.y, object.x, object.y) of the black hole and then activate the bullet behaviour and set its angel towards the black hole.

    If its overlapping the blackhole destroy it.

    Cheers

  • Not sure if that's what you meant, but...

    [attachment=0:jfyjpdxj][/attachment:jfyjpdxj]

  • Not sure if that's what you meant, but...

    [attachment=0:2y87k9z9][/attachment:2y87k9z9]

    Hi BP! Can you make it in r173? I'm afraid to update to beta version just in case something goes wrong.

  • Build upon brunopalermo 's example, a bit different rules, now the moons are atracted based on their distance from the black hole. And some webGL effects to emulate the distorted spacetime

    Sorry Pariunos , version 175 is still needed, I don't think you will have any problems if you update. The next stable is coming sometime on August I think.

  • Nice addition, I love the scared face when they notice they'll be swallowed! And the webGL effect is awesome...

  • if you want to open a higher version file, just rename the capx to zip..open the caproj file and find the line with version and put your version in

  • Nice addition, I love the scared face when they notice they'll be swallowed! And the webGL effect is awesome...

    Thanks brunopalermo, it all came out naturally after I was inspired from your example

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I wish to make a black hole that draws only a specific sprite. Is this possible and how to do it?

    Off topic.

    Hi Pariunos, I've got your PM and yes I'm interested. But due to low reps I can't reply your PM.

    Can you PM me your email address or any other way for contact?

    cheers!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)