How do I

Get help using Construct 2

Post » Tue Feb 23, 2016 6:23 pm

I wan to make a driving game with vertical scrolling and use scroll to behaviour on the player, how can I make vertical scrolling with the driving controlling the scroll speed
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Tue Feb 23, 2016 7:14 pm

I don't get the question.
If you have the "scroll to" behaviour on the player, then the player (your car?) makes the screen scroll.7So faster car faster scrolling.

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Tue Feb 23, 2016 8:01 pm

fm4fanAT wrote:I don't get the question.
If you have the "scroll to" behaviour on the player, then the player (your car?) makes the screen scroll.7So faster car faster scrolling.


lol right sorry. how do I make every wrap look different with different enemies.
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Tue Feb 23, 2016 8:43 pm

you want to spawn new enemies when you wrap around your layer?

If so I would try this (without the wrap behaviour)
fetch obj_player.x and y > move player to the other side > spawn new enemies

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Tue Feb 23, 2016 10:10 pm

fm4fanAT wrote:you want to spawn new enemies when you wrap around your layer?

If so I would try this (without the wrap behaviour)
fetch obj_player.x and y > move player to the other side > spawn new enemies


is there another way to do it with wrap
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Tue Feb 23, 2016 11:01 pm

it would be the same with wrap - but without the freedom to tweak

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Wed Feb 24, 2016 8:48 pm

fm4fanAT wrote:it would be the same with wrap - but without the freedom to tweak


ok thanks
B
10
S
4
Posts: 144
Reputation: 1,246


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests