Maze On!


Image result for lost vector





















Back again with Make Code, ready to start my new assignment. So far I have been having fun with this awesome website, I recommend it for those who are new to coding just like me, to give it a try and play around with it. Continuing with my assignment, I must complete the “Simple Maze Tutorial” and then mod the project in my way.













What are tiles and how are they used?

One of the main objectives of this project was to understand and learn what are tiles and how to set them in the game. The tiles are not really the background, but they are the obstacles set within the game, like a wall. They can be used in many ways depending on what the game is about, the game mechanics and others.







I used the tiles to create walls and with this, I managed to make a maze with one correct path and several dead ends. The tiles didn’t allow the sprite to trespass the walls. Here is an example on how to set the tiles, it might look kind of confusing at first, but you’ll figure it out.






Were there any challenges?

On this assignment I actually did encounter more challenges and difficulties to set the game how I wanted it to work. I mainly struggled with the time and setting out the tiles. I wanted to add enemies within the maze to make it more challenging, but I didn’t know how to locate ore sprites spread all around the maze and I was kind of tired too.

It took a while to create the maze with the tiles because, I had to set pixel by pixel in a small screen which was difficult to see properly. I was also frustrating when my hand  by accident, just randomly mored while I was setting the tiles and then there were tiles everywhere because of that.


What did I modify?

After setting a timer and creating a very simple “maze”, I wanted to make the maze bigger and better. I used a cute little cat I found in the gallery and used it as my player type sprite. Then I continued to set out blocks of code, erase, change layout, move things around, come up with new ideas when something just didn’t want to work out, and more.

There was a point where I had to look for some tips and helps to guide me or provide some ideas during this process. I found this page "Link" which was very useful. It provided me with some ideas I had never thought about before. Such as to set the camera to follow the sprite so I could expand more the maze and add more tiles. I also set out some cherries at the start of the game, where if I consumed them, the maze would open up so that I would continue until I have found the end before the time runs out.




Overall

I discovered new things on this assignment. Leaned how to set the tiles, set a timer, expand the game more, the camera to follow the sprite and much more. I did spend more time on this project than my second which was the picnic food project. I had my stressful moments and moments where I felt proud of myself.



Comments