POC Python Raycaster on Pygame
Raycaster engine is inspired by 90's PC games. It takes three inputs:
- 2D array representing the map
- Player (coordinates, angle of view)
G / H - after mouse select on minimap build/destroy tower
W / S - move forward/backward
A / D - turn left/right
Q / E - strafe left/right
- deprecated
UP / DOWN - level of detail
- deprecated
P - perspective correction on / off
- deprecated
L - dynamic lighting on / off
Mouse click on minimap - execute move to the selected place by using Dijkstra's Shortest Path First algorithm.
- POC floor and ceiling render
- Raycasting and texture mapping rewritten into Rust. Result 50x faster.
- POC floor/ceiling
- removed PIL library from dependencies, using pygame image lib instead
- added scaled images of tarrain to the minimap
(huge performace increase) rewritten graphics renderer to use native pygame line/rect interface instead of directly interfacing with canvas on pixel basis
tower defense game mechanics
spawning creeps with health and level
building and destroying towers by selecting empty space/tower and using keys G/H