updated tile engine : real-time input