well guys,
i am trying to create a diablo like game (it is only 2D graphics and i am using Blitz3D), i have the graphics (main character, 3 enemies, walls, etc.) but i dont know how to do the following:
1. enemies walk freely and attack the main character when he is near a certain distance of the enemies.
any idea or basic sample code?
i am trying to create a diablo like game (it is only 2D graphics and i am using Blitz3D), i have the graphics (main character, 3 enemies, walls, etc.) but i dont know how to do the following:
1. enemies walk freely and attack the main character when he is near a certain distance of the enemies.
any idea or basic sample code?