Will anyone be willing to teach me how to create Random generation of sprites?
I am making a game called Egg Drop which is basically an "apple catch" type game where a basket at the bottom catches infinite spawning eggs from the top until you catch a bee instead of the egg (Bees are the enemies of the game) which causes the game to end.
I need to know how to effectively create a random x for the egg spawning and then put this function in a loop but I haven't been able to do it correctly
(One time I got it, but then it wouldn't be able to be set for collision, breaking the game)
Also if there is any tips for phaser someone should know, feel free to teach me about them.
Thank you guys so much for any help given,