Mentions légales du service

Skip to content

Water kill player and apply_input return -1 if string is not a direction

PRATS Tommy requested to merge dev/tommy_engine_water into devel

Add directly in the engine if player walk on water then he died. Apply input return -1 if the string don't match with direction because in some level we want to add extra direction and it's more simple with this management of return because 0 is also when player don't move because he is on a wall for example

Edited by PRATS Tommy

Merge request reports

Loading