How to Spawn random game items in 2D and collect it using collision in Windows Forms and C#.

preview_player
Показать описание


Hi this is going to be addon tutorial from the 4 way sprite movement tutorial I have done before. I had a lot of request on this feature for this type of game and here is it now. In this tutorial we will add some functions and features to the existing game. We will load 17 different item images from a folder and load them inside of the script, we will use them to randomly drop a item on the screen. We also need to program the collision detection for the player and the item. So in this way we will be able to collect the item when the player will collide with the items. We will also give feedback to the user using a label to display which item was collected from the list.

Hope you enjoy this tutorial. Thank you all for being awesome. #mooict

Join the Flappy Bird Hunting Game in C# and OOP on Udemy -

LIKE - SUBSCRIBE
Help MOO grow to a better channel.
Рекомендации по теме