collision required for diablo like game?

Blitz3D Forums/Blitz3D Programming/collision required for diablo like game?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?