CS50
Уровень B2· 1462 слова
Hello world, this is CS 52D lecture 6. Today we're going to take a break away from the older NES titles, even as pleasant and nostalgic as they are for me, and we're going to venture back towards more modern mobile oriented games in particular, which what we looked at with Match 3 previously,
Candy Crush being a good example of that, and Angry Birds is an example of another franchise that is very popular.
This is an example from one of the mainline titles, Angry Birds 1 or 2. Originally it wasn't quite as large as this.
This looks like it was probably done on a tablet thereabout, but it encompasses the overall gist of the game, which is essentially that you're controlling the slingshot here, which you have a bunch of these angry birds, as the name of the game suggests, that are trying to get revenge on these pigs that have sort
of started to build forces or whatnot to take over their territory. Not entirely sure of the exact lore behind the game, if any such exists, but the pigs are sort of blocked by these obstacles here made of various materials, wood, glass, ice.
Me and you have varying types of birds that you can use to effect damage onto these structures and ultimately the pigs whereby if you do a certain, if you were able to take out the pigs with a certain number of birds or without, you know, depleting a certain number of your limited birds,
you can see here the person has 3 sort of pieces of ammunition in the form of birds left before they run out in that level you can accomplish getting higher scores for that level in the form of stars.
Typically you can aim for 3 stars or you can get 2 or 1 depending on your performance. And there are many iterations of the franchise.
This is another version which is set in a more tropical setting, and there's all kinds of different versions.
There's a Star Wars one, and I'm not entirely sure how far the franchise has gone in recent days. I know they even have TV shows and the like, very popular franchise, one of the first mobile series I ever played, really big fan on iOS, especially in the early days of the platform,
and this allows us to really look at in a unique way physics that we haven't really looked at in games thus far where we've sort of done everything ourselves with, you know, simplistic.
Overall physics calculations with velocity and manipulating positions directly and sort of approximating collisions and bouncing and whatnot, but Box 2D is this sort of library that love 2D embeds within it.