XNA 4.0 - container with content, that can slide (C#)
Posted
by
DijkeMark
on Game Development
See other posts from Game Development
or by DijkeMark
Published on 2012-11-15T18:38:43Z
Indexed on
2012/11/15
23:28 UTC
Read the original article
Hit count: 142
I got an idea, but I got no idea on how to make it.
Okay, so here is the deal.
I want a container which can contain certain objects (These objects will draw the sprites/graphics).
But because of different screen sizes, I want to be able to scale the containers width and height. But I do not want the objects in the container, that go outside of the container, because of the scaling to be visible.
Because I want the objects all to be positioned horizontaly to eachother and I want a horizontal sliderbar, so I can slide from left to right within the container.
I wonder if anyone could point me in the right direction.
Thanks in Advance,
Mark
© Game Development or respective owner