How Do I Do Vertical Scrolling For Space Game?

Get help using Construct 2

Post » Thu Mar 07, 2013 9:08 am

How Do I Do Vertical Scrolling For Space Game?

Hi,

I'm working on my 2nd C2 video game project called: "Broken Lasers".

The goal is to make it like a classic SNES vertical scrolling space game.
I have absolutely no idea on how to implement vertical scrolling in C2.

The background would be fixed and would not move
while enemy sprites would be gradually introduced to the screen
from the top and would move off the screen on the bottom.

Can someone give some hints or provide a URL to a great tutorial?
Thanks!

JeZ+Lee

Here are screenshots of development:

B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Thu Mar 07, 2013 10:40 am

There is actually a template for a vertical shooter in C2 itself. Start a new project and look for the template. The comments in the code probably will give you all the info you need on why/how to do things.
B
26
S
8
G
3
Posts: 210
Reputation: 5,973

Post » Thu Mar 07, 2013 7:34 pm

[QUOTE=theubie] There is actually a template for a vertical shooter in C2 itself. Start a new project and look for the template. The comments in the code probably will give you all the info you need on why/how to do things.[/QUOTE]Hi,

I took a look at the space shooter template.
It shows me most of what I must learn and implement.

Would it be possible to have a background image that does not move,
while the game scrolls vertically adding new enemies at the top?

I am not sure how to do the above - would it be something with Layers?
Thanks!

JeZ+Lee
B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Thu Mar 07, 2013 7:45 pm

Yes, have a background layer which parralax settings are set to 0,0 (with only your background image) (check again the beginner's guide page 7 in need) and have all your moving layers above it with regular 100, 100.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Mar 08, 2013 9:07 am

@JeZLee The tutorials and manual are a great resource and 90% of the stuff you ask is covered by them. Just saying, it could save you some time to go through them a bit more.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418


Return to How do I....?

Who is online

Users browsing this forum: benajad, Braus, R0J0hound, shinkan and 23 guests