Home Game Development c# – Best approach to attract a tile (a flooring) everywhere in the display screen?

c# – Best approach to attract a tile (a flooring) everywhere in the display screen?

0
c# – Best approach to attract a tile (a flooring) everywhere in the display screen?

[ad_1]

I wished a tip, a steerage maybe to know one of the best ways to attract a tile everywhere in the display screen. This tile is a 16×16 tile that must be the ground in my top-down map. I set my decision to 1280×720 and i do know i ought to make a foreach and a for loop ( i regarded round within the foruns to seek out this) however couldn’t make it work by myself. I simply completed a monogame course and that i’m attempting to make a recreation by myself to actually acknowledge the issues i’ve realized, however i wished a assist with it if anybody might. I wished to do the identical factor to attract issues repetitively on the display screen (like bushes, rocks, and this sort of stuff). My tile known as “floor”, it’s imported alright and it’s loaded too with backGroundFloor = Content.Load<Texture2D>("background/flooring");

Anyone know a method to clear up this? Also, would this be one of the best ways to do it, or ought to i simply draw a full map and place it on display screen? I believe this manner can be extra sophisticated with itens on the display screen to deal with collisions and and so forth

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here