abraker95 / tanks

2D arcade top-view shooting game
1 stars 0 forks source link

Optimize and cleanup code. #48

Open ghost opened 9 years ago

ghost commented 9 years ago

This will be an extensive cleanup.

EDIT: Add things to be refactored globally if you think of any.

ghost commented 9 years ago
ghost commented 9 years ago

Thinking to do this to the Input system since reading each individual key takes so long https://molecularmusings.wordpress.com/2011/09/05/properly-handling-keyboard-input/

ghost commented 9 years ago

The SFML's event is an abstraction of the Win32 API http://www.sfml-dev.org/tutorials/2.2/window-events.php . The SFML's events essentially let you do whatever you want to do.