[Java 2.5D] from scratch - Doom (1993) WAD render / Player Collision Detection (Blockmap) - Test 00

Аватар автора
Кодерский университет
Doom Renderer Test 005 written in java using only standard libraries (Java 2D, AWT & Swing) so no external libraries required. This time, the goal was to try to implement the collision detection between player and level. Doom has a pretty clever way of doing this. It already provides a grid called Blockmap in which each cell (128x128) contains only the walls that belong to it. In this way it is possible to reduce significantly the number of checks :) Test 005 progress: - visplane fixed: * now it can handle concave shapes * now it can handle non-contiguous columns - blockmap & player collision detection with level - some sprites / billboard tests This project requires the original Doom Shareware version DOOM1.WAD file to test. References:

0/0


0/0

0/0

0/0