Alzter / TuxBuilder

A Godot re-implementation of SuperTux
GNU General Public License v3.0
212 stars 28 forks source link

Cleanup stuff #19

Closed skyace65 closed 5 years ago

skyace65 commented 5 years ago

Cleaned up some code stuff

-All the times physics process is used delta is now _delta. This removes the debugger warning about the delta value not being used. -Removed the variable can_jump since it wasn't being used for anything -Removed the control node from the player scene. It wasn't needed for anything. All the code referencing animated sprite has been updated for this and the visibility code now makes the root node invisible or visible. -removed the button_selected variable from the pause menu script since it wasn't being used. -Fixed an issue in the snowball script. == was being used to set the animated sprite visiblity instead of =