Sean-Nishi / M1Wengine

A action-adventure game developed with Python 3.11.1 and pygame. Complete missions before timer expires.
3 stars 0 forks source link

Add terrain hitbox offset for 3d effects #345

Open owalk opened 8 months ago

owalk commented 8 months ago

Hitbox offset should be specific for the terrain, and not on the characters. The character hitbox needs correct precision

Sean-Nishi commented 8 months ago

Move offset precision from entities into terrain classes. Terrain classes need hitbox information. New class for everything inside of obstacle sprites

owalk commented 8 months ago

Also account for stairs when making terrains. raised terrain needs to be in obstacle sprites and have good hitboxes for this