Hi! I’m building a game and I need some advice since I’m new to Solar2d. I need to move several circles in a random way inside the edges of the screen. My first question is, should I create a function that creates the circles or is it better if i create every single circle myself? Mind that I only need 10 of them so there is no need of new circles spawning. And to move them I wrote this code to give the the initial “push”.
Runtime:addEventListener( “enterFrame”, moveVirus)
Is this a good method?