Tag Info

New answers tagged

1

What your dealing with is an aspect ratio mismatch. Your trying to map an aspect ratio of 1 to an aspect ratio of 16:9 or 16 :10. That is why your tiles look stretched. Set your games resolution to a square aspect ratio like 300x300 if windowed. Or make your tiles about 160x90 pixels to look square at that resolution. Topics of interest would be ...


2

GameScreen Game Component made which is what all the other screens / states inherit from. This is all you need to reference your Game1 class. Each GameComponent has a property called Game, which is of type Game. Your Game1 is a subclass of Game, so it can be used to fill the property. And indeed it is used exactly that way when you call its ...



Top 50 recent answers are included