Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Random not working properly?[solved]

$
0
0

@James_Maslaki wrote:

I think this is more of a C# question than a monogame question

I have a class called Tile

I have a list of those called Tiles

in each Tile's constructor, there's a random generator to make each tile a different frame.

However, it doesn't seem to be working properly. It only makes it one frame, it doesn't pick a new random frame for each Tile, it just picks one and does that for each new Tile. what's wrong here?

Posts: 11

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles