Commit Graph

26 Commits (df97902906e25d10bee217b7d36f7c20a1e9a2c8)

Author SHA1 Message Date
Tyler Scott df97902906 Put bubble movement code in its own function 2022-02-09 08:06:39 +07:00
Tyler Scott 7755bb3885 Refactor delta time 2022-02-09 07:58:02 +07:00
Tyler Scott 75805b1093 Add delay to bubble burst, slightly change animation 2022-02-08 17:23:40 +07:00
Tyler Scott ad9a0ea35e Find unattached bubbles and make them fall 2022-02-06 15:21:49 +07:00
Tyler Scott 00a355221b Remove and animate matched bubbles 2022-02-06 09:42:31 +07:00
Tyler Scott 0d4c32864c Allow launched bubble to squeeze through spaces 2022-02-06 09:39:04 +07:00
Tyler Scott 046c9f9f4e Refactor getting bubble counts 2022-02-06 09:37:37 +07:00
Tyler Scott 4410d32776 Find matches after launched bubble collision 2022-02-06 08:07:07 +07:00
Tyler Scott 7ace7cca72 Change variable names in love.load 2022-02-06 08:05:37 +07:00
Tyler Scott 8ee2233d58 Refactor collision detection 2022-02-06 08:03:57 +07:00
Tyler Scott 860ed47d63 Determine neighbour indexes for each bubble slot 2022-02-06 08:02:00 +07:00
Tyler Scott b472d390bb Change game loop to use fixed time step 2022-02-05 14:21:31 +07:00
Tyler Scott c3250c71fa Put VSCode debug line in correct function 2022-02-05 08:30:01 +07:00
Tyler Scott cfb8b267d4 For empty levels, still get random bubbles to launch 2022-02-05 07:56:08 +07:00
Tyler Scott c1447c4de2 Add collision detection and response 2022-02-05 07:54:33 +07:00
Tyler Scott e6959f05ec Make slot x,y positions be absolute, not relative 2022-02-05 07:53:04 +07:00
Tyler Scott 8d79f8b633 Calculate top, left, right, bottom wall coords 2022-02-05 07:51:08 +07:00
Tyler Scott e960811934 Allow resetting bubble on launcher via key press 2022-02-05 07:47:13 +07:00
Tyler Scott 0b905f512c Allow pausing and frame-by-frame via key presses 2022-02-05 07:45:04 +07:00
Tyler Scott 0e1b043467 Allow debugging with VSCode 2022-02-05 07:40:46 +07:00
Tyler Scott 1603242321 Launch bubble on mouse press 2022-02-03 14:00:10 +07:00
Tyler Scott 942c929c79 Draw random bubble on launcher 2022-02-03 13:44:28 +07:00
Tyler Scott 7d740b893e Load bubble images, create level and draw it 2022-02-03 13:07:02 +07:00
Tyler Scott 3e06a6d970 Add launcher, level borders 2022-02-03 12:58:26 +07:00
Tyler Scott f8bff917f1 Load background image and draw it 2022-02-02 20:56:13 +07:00
Tyler Scott 9fc543a95a Set window size and title, press Esc to close game 2022-02-02 20:54:59 +07:00