How do I make a black hole?

Get help using Construct 2

Post » Wed Jul 30, 2014 2:29 pm

I wish to make a black hole that draws only a specific sprite. Is this possible and how to do it?
B
17
S
2
Posts: 34
Reputation: 853

Post » Wed Jul 30, 2014 3:39 pm

@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
B
14
S
2
G
1
Posts: 53
Reputation: 850

Post » Wed Jul 30, 2014 3:44 pm

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

blackhole.capx
You do not have the required permissions to view the files attached to this post.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
21
S
6
G
3
Posts: 664
Reputation: 3,855

Post » Thu Jul 31, 2014 5:36 am

brunopalermo wrote:Not sure if that's what you meant, but...

blackhole.capx


Hi BP! Can you make it in r173? I'm afraid to update to beta version just in case something goes wrong.
B
17
S
2
Posts: 34
Reputation: 853

Post » Thu Jul 31, 2014 9:48 pm

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.
You do not have the required permissions to view the files attached to this post.
Last edited by eli0s on Fri Aug 01, 2014 6:56 pm, edited 1 time in total.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Fri Aug 01, 2014 3:58 pm

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

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
21
S
6
G
3
Posts: 664
Reputation: 3,855

Post » Fri Aug 01, 2014 6:35 pm

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
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Fri Aug 01, 2014 6:59 pm

brunopalermo wrote:Nice addition, @eli0s. 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 ;)
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Fri Aug 08, 2014 1:33 pm

Pariunos wrote: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!
B
7
S
1
Posts: 24
Reputation: 485


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot] and 22 guests