summaryrefslogtreecommitdiff
path: root/scripts/basketball.gd
AgeCommit message (Collapse)Author
2023-05-15Fix physics sleep preventing ball position resetHEADmasterLogan
2023-05-15Added basketball collision sounds and audio systemLogan
2023-04-30Move to Godot 4 and fixesLogan
2022-10-01Add next phase counter and improved interface script.Logan
2022-10-01Change when basketball script emits reset signal.Logan
This was causing an issue with the new camera logic.
2022-09-30Add an indicator for the last point where the ball was releasedcflip
2022-09-30Improved position changer and removed the need for a global variable.Logan
2022-09-27Add camera node and basic camera logic.Logan
2022-09-27Remove the need for a hoop position variable.Logan
2022-09-26Add some comments and minor correctness changescflip
2022-09-26Remove debug testing controlscflip
2022-09-26Refactor basketball script and scenecflip
This removes the OuterShape node from the basketball scene, and removes a lot of redundant or unused variable in the script.
2022-09-26Refactored sprite drag-orbiting code.Logan
2022-09-26Make sprite retain direction when cursor leaves outer radiuscflip
2022-09-26Made random position use available variables to define range.Logan
2022-09-26Made basketball change position based on hoop's position.Logan
2022-09-26Made improvements to efficiency and readability of code.Logan
2022-09-26Made starting position increase then randomize after scoring 5.Logan
2022-09-25Allow shooting when sprite is at the outer shape bounds.Logan
2022-09-24Reduce scale of entire scene by 5 and upscale the window insteadcflip
2022-09-24Don't allow dragging the basketball while it is in physics modecflip
2022-09-24Add ghost sprite when dragging basketball.Logan
2022-09-24Made ball keep the same rotation after resetting it.Logan
2022-09-24Move basketball sprite while dragging before shotcflip
2022-09-24Only rotate basketball sprite instead of entire objectcflip
This way if we want to move the sprite around, the rotation of the basketball will not cause the sprite to 'orbit' the origin.
2022-09-24Defined inner and outer shapes and connected signals.Logan
2022-09-24Made power of basketball depend on cursor position.Logan
2022-09-24Only throw basketball on mouse-release when cursor is near ball.Logan
2022-09-24Allow some basketball properties to be modified in the inspectorcflip
2022-09-24Add left/right movement to basketballcflip
2022-09-24Refactor basketball script to disable physics while waiting for shootcflip
2022-09-24Prevent over-scoring with basketball.Logan
2022-09-24Make score a global variable and interface displays power.Logan
2022-09-24Initial system to change power with UP and DOWN keys.Logan
2022-09-23Basic UI with score counter and other minor changes.Logan
2022-09-23Made basketball float and rotate before shooting.Logan
2022-09-23Created folders and renamed files and nodes to standard naming scheme.Logan