Scrolling image

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
PaulK
Posts: 57
Joined: Thu Apr 29, 2010 10:53 am

Scrolling image

Post by PaulK » Tue Jan 08, 2013 2:26 pm

Hi all

Is it possible to have a container of a fixed size say 200 x 200 and have a larger image inside it that can be scrolled?

Thanks in advance

User avatar
Hopki
Gnome
Posts: 9350
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Scrolling image

Post by Hopki » Tue Jan 08, 2013 6:12 pm

Hi,
Yes this can be done using a masking container and then two other containers, one for X and the other for Y.
Then using the Change Relative Position action along with a mouse pressed source.
I am also using an external image loader, loading the JPG image that is in the output folder.

The image is 1024 x 1024 and is being displayed in a window size of 400 x 400.
There are 8 buttons 4 for up, down, left and right and the others are for top left, top right, bottom left and bottom right.
This is to show a combination of actions can be used in one button.

Regards,
Hopki
Attachments
Scrolling.zip
(1.15 MiB) Downloaded 382 times

PaulK
Posts: 57
Joined: Thu Apr 29, 2010 10:53 am

Re: Scrolling image

Post by PaulK » Tue Jan 08, 2013 6:36 pm

Thats great Hopki thank you...will have a play!

User avatar
Hopki
Gnome
Posts: 9350
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Scrolling image

Post by Hopki » Tue Jan 08, 2013 9:32 pm

Just to add to this, if you want to get clever using tags and node markers you can get the large image to change position depending on the panorama.
An example would be to have a very large map, each node has a tag that activates a node marker that changes the position so the map tracks your progress.
Regards,
Hopki

RobM
Posts: 249
Joined: Sat Apr 16, 2011 12:51 pm

Re: Scrolling image

Post by RobM » Fri Mar 22, 2013 2:33 pm

This is nice. has potential.
I've got to get to grips with the markers still, but will give that a go when I can.

One question though. Scrolling is now done by buttons. Is there any way of doing that by mouse within the popup box?

Ipad note: All works sweet BUT. Close the popup on the Ipad and all the container and controls close nicely but the actual image remains displayed for a second or so :/
I have mouseclick, set text - (blank) external-loader

Cheers, Rob

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests