Vertical scrolling or leave it to the browser?

I’m developing a strategy game, which will have a screen which is taller than the game window, or taller than the browser window.

I’m currently thinking that I might want to make it a web game as well as a standalone, but then I’m not sure how to handle the vertical scrolling situation. As a web game couldn’t I just make the player as tall as it needs to be, and the browser will be used to scroll things up and down? or should I keep it as a fixed window size and use scrollRect like I would with the standalone?

Anyone?

I’d recommend scrolling in Unity, that way you don’t have to change the web page once your content changes. Also it’s consistent across platforms.

1 Like

Thanks, I think that’s what I’ll do, although I’m having issues getting basic scrolling working, http://answers.unity3d.com/questions/1078534/scrollrect-not-working.html