[Solved] Need an idea of how to scale to show full screen

Get help using Construct 2

Post » Sun Mar 01, 2015 7:53 pm

that's nice :) to hear :) but take in consideration editing your posts and not double post , you can keep reedit the post as many times you want :) this way you avoid spam bots that are looking for to many reply's in a thread :)
B
69
S
20
G
67
Posts: 1,310
Reputation: 42,257

Post » Sun Mar 01, 2015 8:04 pm

@Locohost

Using lerp and layout scale will work for the zoom part, but to travel through the map you can use an invisible sprite called camera with scroll to and plataform behavior (or in your case the 8 directions behavior). I also recommend putting this sprite in a different Layer called Camera with parallax 0,0.

Something like this:

Is clicking left arrow > move the camera to the left.
if not clicking it anymore > set the camera's X and Y to scrollx and scrolly.
Do this to all sides and don't forget to disable any other scroll to behavior that you may have while moving the camera.
B
56
S
21
G
3
Posts: 601
Reputation: 6,610

Previous

Return to How do I....?

Who is online

Users browsing this forum: Ajbael, Pulstar and 9 guests