How do I

Get help using Construct 2

Post » Fri Jan 22, 2016 8:51 pm

is there a way to pull out the scroll to behaviour
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Sat Jan 23, 2016 8:44 pm

As in switch it on or off using an event? You can use it's 'Set enabled' action in an event.

As in remove it from a project? Sure! You'll need to write your own scrolling behaviour though - you can use:

System : Scroll to position
System : Scroll to x or y
System : Scroll to object

You might also want to add a way of doing camera shake - or even write a more dynamic or smooth camera! Try this for a starter:

https://www.scirra.com/tutorials/626/ma ... ing-camera
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306

Post » Sat Jan 23, 2016 8:46 pm

Oh! Or did you mean ZOOM out? In which case, sure! Use:

System : Set layout scale
System : Set layer scale

You don't zoom the camera - instead you do the logical opposite, you make the world bigger! Or smaller. The layout scale is set like object scales are - 0.5 means half as big, 2 means twice the size. So a high number means a high 'zoom', basically!
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306

Post » Sat Jan 23, 2016 11:39 pm

mrtumbles wrote:Oh! Or did you mean ZOOM out? In which case, sure! Use:

System : Set layout scale
System : Set layer scale

You don't zoom the camera - instead you do the logical opposite, you make the world bigger! Or smaller. The layout scale is set like object scales are - 0.5 means half as big, 2 means twice the size. So a high number means a high 'zoom', basically!


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

Post » Sun Jan 24, 2016 4:31 am

Cool, didnt know that one, thanks @mrtumbles
B
36
S
14
G
4
Posts: 172
Reputation: 4,110

Post » Sun Jan 24, 2016 11:37 am

No worries - now welcome to the wonderful world of designing your graphics so that they scale nicely! :P It's a challenge, but it's worth learning :)
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306


Return to How do I....?

Who is online

Users browsing this forum: dop2000, mekonbekon and 32 guests