Page 1 of 1

Image zoom

Posted: Mon Jul 16, 2018 2:27 am
by InsanePenguin
Hello Guys,
Ive been searching and looking at tutorials for the answer and I can't seem to come up with anything.

Im trying to make the game zoom in on an image, have the player get a view of the full image as if a camera is moving up ( or scanning ) on the image and then stop at the top. Please advise

Re: Image zoom

Posted: Mon Jul 16, 2018 5:49 am
by Remix

Code: Select all

image panshow = "images/bgs/bg_4.png"

transform panup:
    zoom 1.0
    ypan 100
    linear 2.0 zoom 3.0
    linear 2.0 ypan 0

label start:

    show panshow at panup

    "..."
Hopefully get you heading toward something that works

Re: Image zoom

Posted: Mon Jul 16, 2018 10:21 am
by InsanePenguin
Remix wrote: Mon Jul 16, 2018 5:49 am

Code: Select all

image panshow = "images/bgs/bg_4.png"

transform panup:
    zoom 1.0
    ypan 100
    linear 2.0 zoom 3.0
    linear 2.0 ypan 0

label start:

    show panshow at panup

    "..."
Hopefully get you heading toward something that works
Thanks - its starting to work

Re: Image zoom

Posted: Tue Jul 31, 2018 3:35 am
by phongtinh
Thanks -Hopefully get you heading toward something that works