Hey, first post here, hope you all are doing well!
So, I am kinda new to this scene (pun intended), and I am trying to make a practice game that spawns random mobs, similar to the 2d tutorial game from the Godot docs website. However, I will not need to animate the sprites, so I wanted for the instance to just pick a sprite from a spritesheet with different mobs randomly and stick with it. However, I am finding it difficult to decide how to do it. The only way I can make it work is just simply do the same as the tutorial but have just one frame for each animation, but that feels... wrong ahah (and maybe expensive? I know that for such a small game shouldnt be a problem, but I want to make it as correct as I can right from the start). I was looking around and I saw you can use an atlasTexture for a sprite, but that only lets you use one region of the spritesheet... Says in the documentation that "Multiple AtlasTexture resources can be used to crop multiple textures from the atlas." But I don't think I can add multiple AtlasTextures to my sprite, or can I? Is there a way to save all the images from a spritesheet in one array and then just choose randomly between them (like generateQuads from Lua, if anybody is familiar with that)? What would be the best way to achieve this?
Thanks your your help!