mardi 19 septembre 2023

How do I create random numbers using the same variable constantly with a class?

I am trying to make a 2d game using Ursina. All has gone well until I made terrain. The looping of terrain works well but when i try to make the types of chunks random the radiant function only works once. How do I fix this? By The Way I am new to python so this would be a great help.

I have tried update methods while true methods and the method for I in range. The radiant method only worked once so when I printed the variable for debugging it just reads all 1s or 2s. What can I do?




Aucun commentaire:

Enregistrer un commentaire