Friday, 15 January 2016

Basic Design

Brief Description

In this post I am going to be showing and explaining the basic level design and theory behind how my game will run and look.

Figure 1

As you can hopefully see from figure 1 my starter restaurant will be comprised of multiple square tiles which from to look like a singular floor and two sides of the square floor is covered with walls. Each wall and tile has a script attached in order to allow each game object to react to user interactions. 

The starter restaurant is 7 tiles wide by 7 tiles high giving the restaurant a floor space of 49 tiles. I will eventually add a restaurant upgrade that expands the restaurant to 10 tiles by 10 tiles which will be accessible when the user has reached a certain level.

Lastly, I want to bring to your attention the camera perspective which isn't a typical 3D view-port, as displayed on the in game camera view in the bottom right hand corner of figure 1, as I have changes the camera from perspective to orthographic. The effect this achieves is that the game objects will appear two dimension when in fact they are three dimensional.

How it works

Tiles

The tiles will have dual purpose in my game the first of which is that the user will be able to manipulate the tiles attached renderer to change it's appearance therefore allowing the user to change the floors appearance. 

Secondly, the tiles will be used to display a arrow texture for object placing to show the user the way the game object will face and on what tile it'll be placed. If there is already an object in the same position as a tile the user will not be able to place another on the tile.

Walls

The walls in my game also have a dual purpose. The walls, like my tiles, will be able to be textured by the user to allow the appearance of wallpapering the walls. This is done by manipulating the renderer to add a texture, when the user selects a certain wallpaper, to change to that texture and keep that texture if the user clicks. If the user doesn't wish to keep the texture it will revert to it's previous appearance once the user exits hovering over the wall.

Secondly, the user will be able to place doors in place of the wall by hovering over it, which will change the appearance to green or red depending on whether the door can be placed, and left clicking if the option has been selected. The doors will be used as the spawn point of the customers.

No comments:

Post a Comment