How do I make Sinistar Scrolling

Get help using Construct 2

Post » Tue Feb 07, 2017 8:15 pm

I'm trying to figure out how to make smooth scrolling movement from one side of the layout the other side to give the perception of infinite space. Not sure how else to explain it, I think the way Sinistar plays is kind of like what I'm trying to do. I sifted thru the forms trying to look for an example but I couldn't find one.
B
7
S
1
Posts: 10
Reputation: 445

Post » Tue Feb 07, 2017 9:04 pm

This depends highly on the way you want to layout your game, e.g. if you want infinite scrolling or just inside your layout.

If you simply want to follow the player on the layout, you can give him a "Scroll To" behavior.
If you want to scroll infinitely, I will tell you the details, if you really wanna go with this.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Tue Feb 07, 2017 9:20 pm

I guess I want something like the Scroll to Behavior. I want the player to be able to fly around the lay out and when they reach the edge it seamlessly takes them to the opposite side of the layout.

Right now when I have it set on Scroll to Player Object and I have the Player Object set to Wrap to Layout, it will follow the Player Object until it gets close to the Layouts edge then it stops and then when the player leaves the layout it does the jarring jump back to the opposite side.
B
7
S
1
Posts: 10
Reputation: 445

Post » Tue Feb 07, 2017 9:48 pm

B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Wed Feb 08, 2017 4:08 pm

Not like Asteroid. Asteroid is a small fixed screen, I want something that's more expansive. I want the camera to follow the player around and when they get to the end of the layout they're automatically taken to the opposite end seamlessly without a jarring cut or leaving the layout like in asteroid.

Like Sinistar: https://www.youtube.com/watch?v=xcyBtVwAsfg

This is the only example I can think of, I'm sure there's a few other space games like this.
B
7
S
1
Posts: 10
Reputation: 445

Post » Tue Apr 25, 2017 5:04 am

@dansilveira you found a way bro? Just want to do same thing here, but no sucess ):
We have what we are looking for.
B
25
S
12
G
4
Posts: 57
Reputation: 4,123

Post » Tue Apr 25, 2017 5:25 am

randomly wrote:This depends highly on the way you want to layout your game, e.g. if you want infinite scrolling or just inside your layout.

If you simply want to follow the player on the layout, you can give him a "Scroll To" behavior.
If you want to scroll infinitely, I will tell you the details, if you really wanna go with this.


Can you share this details @randomly? Guess you have some trick that can help
We have what we are looking for.
B
25
S
12
G
4
Posts: 57
Reputation: 4,123

Post » Tue Apr 25, 2017 7:12 am

@Fenix18

I posted a solution for dansilveira in another thread: viewtopic.php?f=147&t=187505

I'll update the dropbox link in that post soon.

EDIT: I've updated the dropbox link for the example capx (r233)
Vote for all the Construct 2 games on Steam Greenlight - Find them here
B
33
S
9
G
7
Posts: 450
Reputation: 6,778

Post » Tue Apr 25, 2017 6:05 pm

Oh nice @OddConfection thank you bro! Now the mission is to implement enemy movement in this method of your's... tricky huh L:
We have what we are looking for.
B
25
S
12
G
4
Posts: 57
Reputation: 4,123


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests