# How do I make a game like berzerkland

Get help using Construct 2

### » Mon Apr 28, 2014 11:42 pm

http://www.berzerk-land.com/index.php?c ... gameid=641

you just hit something and keep it in the air as long as possible. So it's infinitely scrolling in the X and Y directions, but i don't want to use a massive layout cuz i want it to work on mobile
B
35
S
5
Posts: 411
Reputation: 3,406

### » Tue Apr 29, 2014 1:36 am

um...just like this i guess

player gas:100
player kickasstimes:3

[1]
player.KickassTimes>0
=
then
player.angle set to 270
&

[2]
every 0.1s
&
player not collision object(land)
then
player.angle set to player.angle-1
&
player.bullet.speed set to player.gas*10
&
player.gas = player.gas-3

[3]
when player collision other object(land)
then
player.angle set to 270
player.gas set to player.gas-20
B
17
S
7
Posts: 360
Reputation: 2,202

### » Tue Apr 29, 2014 4:34 am

Thanks! But I get how to keep him in the air, and i know how im going to have him keep going, the problem I'm simply stuck with, is how to use a layout of 1280x720 instead of a giant layout of like 12,000x12,000, but keep it scrolling on him even if he's outside of the layout. Right now, the camera just stops following him once he's outside of 1280x720
B
35
S
5
Posts: 411
Reputation: 3,406

### » Tue Apr 29, 2014 4:45 am

have a plan about the game like this.........
but i am fail to do it too....
B
4
Posts: 5
Reputation: 235

### » Tue Apr 29, 2014 4:44 pm

*FacePalm* You just turn on Unbound scrolling to YES in your layout properties
B
35
S
5
Posts: 411
Reputation: 3,406

### » Tue Apr 29, 2014 5:57 pm

bscarl88 wrote:Thanks! But I get how to keep him in the air, and i know how im going to have him keep going, the problem I'm simply stuck with, is how to use a layout of 1280x720 instead of a giant layout of like 12,000x12,000, but keep it scrolling on him even if he's outside of the layout. Right now, the camera just stops following him once he's outside of 1280x720

you don't see?
bullet!!
and it will keep flying
B
17
S
7
Posts: 360
Reputation: 2,202

### » Tue Apr 29, 2014 8:56 pm

fongka2 wrote:
bscarl88 wrote:Thanks! But I get how to keep him in the air, and i know how im going to have him keep going, the problem I'm simply stuck with, is how to use a layout of 1280x720 instead of a giant layout of like 12,000x12,000, but keep it scrolling on him even if he's outside of the layout. Right now, the camera just stops following him once he's outside of 1280x720

you don't see?
bullet!!
and it will keep flying

oh i got that, the only thing I had a problem with was getting it to scroll infinitely on x, and y axis but keeping the layout small
B
35
S
5
Posts: 411
Reputation: 3,406

### » Tue Apr 29, 2014 9:48 pm

bscarl88 wrote:
fongka2 wrote:
bscarl88 wrote:Thanks! But I get how to keep him in the air, and i know how im going to have him keep going, the problem I'm simply stuck with, is how to use a layout of 1280x720 instead of a giant layout of like 12,000x12,000, but keep it scrolling on him even if he's outside of the layout. Right now, the camera just stops following him once he's outside of 1280x720

you don't see?
bullet!!
and it will keep flying

oh i got that, the only thing I had a problem with was getting it to scroll infinitely on x, and y axis but keeping the layout small

if you want to keep layout small
i think this is a Different things
frist,player not move forever!and other scene object add bullet and move
then when player moved xxx distance system spawn new scene object
B
17
S
7
Posts: 360
Reputation: 2,202