Auto Horizontal Scrolling

Get help using Construct 2

Post » Sun Dec 09, 2012 6:11 pm

Hello, there !
I have followed and studied with the "Space Blaster" in C2 example ..
It is auto vertical scrolling, but How do i make a game like Space Blaster with horizontal scrolling model ?

Here is my .capx file !
http://dl.dropbox.com/u/37749698/Scroll%20To%20X.capx

B
4
Posts: 10
Reputation: 470

Post » Sun Dec 09, 2012 6:25 pm

Every tick: Set Scroll X to ScrollX + SomeAmount * dt
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Dec 09, 2012 6:32 pm

[QUOTE=sqiddster] Every tick: Set Scroll X to ScrollX + SomeAmount * dt[/QUOTE]
Can you fix my .capx file ?
Im very beginner !
B
4
Posts: 10
Reputation: 470

Post » Sun Dec 09, 2012 6:36 pm

Hello hudt5. I just wanted to suggest that you try to do it yourself. Even if you mess up, get in there and give it a shot. Read the manual; search for the topics in the manual that you need help on; check the tutorials on this website; search the forum for related topics.

I only suggest this because you'll get better at using Construct the more you mess with it--even if you mess it up.
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Sun Dec 09, 2012 6:47 pm

Ok, Space Ape !
Thanks for your advices ! forgive me ! :)
B
4
Posts: 10
Reputation: 470

Post » Mon Dec 10, 2012 12:08 am

LOL... no need to apologize, hudt5! By all means, ask your questions, but try to do the work yourself so you can figure it out. Does that make sense?

I ask questions about this stuff all the time! I hope you do, too.

Let us know if you can get that scrolling to work!
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Mon Dec 10, 2012 7:52 pm

I have completed my problems ..
This is my events) ^_^



I only add a event "set Bullet (Scroller) angle of motion to 0 degrees" in system every tick (line number 1) ..

Many Thanks ! :)
B
4
Posts: 10
Reputation: 470

Post » Mon Dec 10, 2012 7:57 pm

[QUOTE=Space Ape] LOL... no need to apologize, hudt5! By all means, ask your questions, but try to do the work yourself so you can figure it out. Does that make sense?

I ask questions about this stuff all the time! I hope you do, too.

Let us know if you can get that scrolling to work![/QUOTE]

Im working around 2 hours for this problems ! thank you, I have learned a lot from your advices !
B
4
Posts: 10
Reputation: 470

Post » Mon Dec 10, 2012 8:01 pm

Awesome work, amigo! I knew you'd figure it out.

You might want to heed sqiddster's advice about adding the "* dt" to your calculations, though; otherwise, the player's framerate might make the scrolling effect wonky.
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Mon Dec 10, 2012 8:16 pm

I just realized that looks wonky ..

where I should put the "dt" ? or maybe i'll fix it later.. thanks
B
4
Posts: 10
Reputation: 470

Next

Return to How do I....?

Who is online

Users browsing this forum: makkancs and 25 guests