Unity [Session 7]

During this Unity Session, we went through a couple of different exercises. The first exercise we did was the last section of the Ruby's Adventure Tutorial, which covered the final setup needed to publish our projects into a finished product.

The tutor recommended Simmer as the website we should export our projects to, and we took a quick look at how the site worked using this game as an example: 

https://simmer.io/@DabanDabanda/adventures-of-qt-test-version

For our next exercise, we went back through the section from last week about turning our Ruby's Adventure Game into a 2D platformer. Just like last time, the tutor recorded his screen as we went through the process.

For this exercise, we downloaded some new sprites from a free asset site called OpenGameArt. The tutor also provided us with some new scripts, some which would be used on our character, and a couple of others that would be used to create moving platforms, although we didn't do that until later.

Our first main step was to change out our character from our old sprite to a new set of sprites. This was where one of the sprite sheets we downloaded at the beginning came into play, as one of them was for our main character. Because we were working with new sprites, we had to redo the animations as well, which I found a little annoying.

The next step was to create a new environment using a new set of tiles. For this part, we used another of the sprite sheets we had downloaded, which we split up and compiled into a new tilemap.

A lot of these steps we had to go through were repeats of what we had done during the tutorial. However because it had been a while since we last went through some of those sections, I didn't quite remember how to do everything, so I had to refer back to the tutorial a few times. Luckily, some of the steps that were in the tutorial weren't necessary for this exercise, which made it a little easier for me.

The last step was to make some platforms which could move back and forth. To do this, we first had to make a separate object and build it out of several squares. We then had to attach the scripts 'MovingPlatform', and 'RandomiseAnimation' to it. The last thing we did was animate it moving back and forth using the animator.


Comments