in dummy code it would look like this
for x=0 to enemies.length
if check_if_enemy[x]_is_near_player_sprite then
clear_collision_array
put_playermask_into_array
add_enemy[x]_mask_to_array_at_given_offset
if last_added_pixel_position=2 then collide=1:exit loop/sub 'skip checking other enemies, dead is dead ;)
end if
next
the "intensive" check only happends on sprites near the player.
that's the only way to get pixel perfect collision I guess.
I don't know if you checked the gameview library? It has collision routines aswell I believe but I don't know if they are pixel perfect or just "box" based.