Offset the origin of the snake grid (top-left) by half the size of the screen so that it aligns with the origin of the Scratch pixel grid (center).This selects the proper row/column of the cell. Multiply the desired coordinate by the pixel size of the cells.The operation used to translate the coordinates has 4 parts.Įach part of the calculation has the following effect on the result: When creating the variables in Scratch it is important that they are set as available to all sprites: Each cell in grid is a square with a width and height of 40 Grid Cell Size – This is the size in pixels of each square in the grid.Grid Width – How many tiles wide is the grid.The data should be global meaning that the data should be available for all sprites. These variables are set when the data is created and should never change unless changing the size of the grid. The grid is constructed in Scratch by defining three variables. Implementing the Grid in Scratch Setting the Grid Data The size of the grid will never change during the game. The size of each square in the grid can be determined by dividing the width and height of the scratch screen by the logical grid size (12 x 9).Įach square on the grid is (40 x 40) pixels in size. This size is convenient because 12 and 9 divide into the width and height of the scratch screen (480×360) with no remainder so that the grid will fit the screen correctly. The grid is 12 tiles wide and 9 cells in height. The game is still remember to this day with fondness and is still played by the younger generation there is no doubt in my mind that this classic will continue to be reintroduced and remade and will continue to be played by many so that's the basic history of google snake.Example of the size of grid the game will use. Released onto the internet this allowed for younger generations to reach the game and is now more popular than ever on sites such as Facebook and new gowns with so many outlets for the google snakeįranchise if I make all of that the game entered the collective conscience of our society although google snake was never an established trademark and it was never advertised. Nokia in 1998 as a preset games for many of their cell phones also beginning in the late 90s versions of the game were created with programs like flash and Widely recognized to this day apart from being played on video game consoles the game was also adopted by the self ![]() This game like many early classics has its roots in the arcades of the 70s it was first released to the public in 1976 by a company called gremlin under the name of blockade two years later itĮntered the world of computers with there lease of worms for the micro computers 18 from there the game spread to nearly all personal computers andĪdopted its lasting name of google snake as there was no one single owner of the game versions of it were created for nearly all major consoles and that is mainly the reason why it's so You're a google snake and you're crawling around endlessly trying to eat the food while staying away from the walls and staying away from your own ever-expanding tail pretty much all versions of this game and believe me there are plenty have the same principle and the only thing that's advanced is the graphics and the controls nothing else but I'm getting ahead of myself here let's look at where this all began. It's a classic arcade game called google snake unless you've been living under a rock the past 30 years you know what I'm talking about when I say google snake and unless you've lived under a boulder the last 30 years you've probably seen this game even if you don't recognize the name the principal of this game is very simple. ![]() In the history of gaming this is the most influential game in the video game universe,
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |