This paper presents a neural network-based four-direction search scheme of path planning for mobile agents, given a known environmental map with stationary obstacles. Firstly, the map collision energy is modeled for all the obstacles based on neural network. Secondly, for the shorted path-search purpose, the path energy is considered. Thirdly, to decrease the path-search time, a variable step-length is designed with respect to collision energy of the previous iteration path. Simulation results demonstrate that the variable step-length is effective and can decrease the iteration time substantially. Lastly, experimental results show that the mobile agent tracks the generated path well. Both the simulation and experiment results substantiate the feasibility and realizability of the presented scheme.