Here is my star method if you want.
def instantiate_star(self):
self.star = SpriteNode('white_circle_2.png')
self.star.z_position = random.choice([-1,0,2])
self.star.alpha=0
self.star.scale =0.01/2
self.star.position = (random.uniform(0,self.size.w), random.uniform(0,self.size.h))
self.star.rotation= (random.uniform(0,360))
d = random.uniform(0.5, 1)
i = random.uniform(3,6)
j = random.uniform(2,5)
actions = [A.scale_by(random.uniform(0,0.01), i), A.fade_to(d,i), A.scale_to(random.uniform(0.02,0.0), j),A.fade_to(0,j),A.remove()]
self.star.run_action(A.sequence(actions))
self.starNode.add_child(self.star)
You’ll just have to replace the sprite with some white circle image