Skip to content

Instantly share code, notes, and snippets.

@seanhess
Last active July 22, 2021 00:33
Show Gist options
  • Save seanhess/3edc8f062f5dfee6cd68960af47cbafa to your computer and use it in GitHub Desktop.
Save seanhess/3edc8f062f5dfee6cd68960af47cbafa to your computer and use it in GitHub Desktop.
Assignments for Love2d Tutorial

Chapter 12

Find an image of a wolf online and draw both it and a sheep. When the player hits a key make a new wolf. Make the wolf get bigger and the sheep spin in a circle.

Chapter 13

Make two rectanges travel towards each other. When they collide, make them bounce off each other (change directions and head the other way). Also make them bounce off the walls.

Extra Credit - Press a key to create a rectangle on the left side of the screen and start it moving right. If any rectangles collide make them change directions

Chapter 14

Make the game better by adding a feature you think of yourself! Or make a new game using the techniques you learned.

Chapter 15

Figure out how to create a mac app for your game and give it to me. You will want to read the link to Game Distribution on other platforms: https://www.love2d.org/wiki/Game_Distribution. You will have to skip around and figure out what information is relevant!

Chapter 16

Make the arrow only move towards your cursor when it is close, like the circle example. Then, when you click, freeze the arrow until you move it far away and then get close a second time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment