Search the Community
Showing results for tags 'view'.
-
Ok, so I'm trying to set up an inventory system for a game of mine in Phaser 2.5.0 and there doesn't seem to be a way to have a scrollable view in for my inventory. I'm trying to make an inventory similar to that of Fallout's where part of the screen scrolls through the items, while the other part shows the item's description and picture (no fullscreen scroll please). Has someone found a work around to this? If I can't use a scroll view would the next best thing be a multi-page inventory? Maybe a grid based one? Any ideas? Thanks!
- 2 replies
-
- scroll
- scrollable
- (and 5 more)
-
Hello everyone ! I need to know if there is a way in Pixi to add width to the renderer view without scaling the content. I already tried using renderer.autoResize = false with no success. For example : // First I set the height of the view var h = window.innerHeight-100; renderer.view.style.height = h + "px"; // Then, I set the width with the good factor to keep everything in a good shape renderer.view.style.width = (h*2.666) + "px"; // I would like to be able to add width after without affecting the shape of the sprites renderer.view.style.width+=[missingWidthToFillTheScreen]; Do you think it's possible ?
-
Hi, First, congratulations for your work on Pixi, the library is awesome I wonder if it is possible to use some kind of virtual cameras ? That is to say, use for the sprites and others objects coordinates which are "world" coordinates, and then change the area that is rendered by the stage. I've tried to change the stage position or rotation properties, but it does not seems to have any effect. Any help is welcome