Skip to main content

Posts

Showing posts with the label week 14(02)

UNITY TUTORIAL 01

This week I completed the first few sets of tutorials to create a 2D game. I had to update Unity then downloaded and imported the assets I needed for Ruby's 2D Adventure. I learned how to import an image of the character, Ruby, and turn it into a sprite. I created a script called RubyController. I applied the code that would allow Ruby to move horizontally and vertically using the arrow keys. I also adjusted the speed so Ruby would move faster.  I learned that a tilemap is a grid and that it can be extremely helpful in drawing my game world. I created my own tilemap and first tile. I assigned a sprite to this first tile which I imported from my downloads. I learned how to use the tile palette and painted my first tile onto my tilemap. I adjusted the pixels per unit of the tile so it would fit to the grid square.  I accessed the environment folder which contained a few tilesets that I would use to paint my game world. I started by changing the pixels per unit of each tileset an...