DMC1_Making Maze

Last time, we’ve learned how to make a wall, and walk around the space.

With that, we can make a game like ‘maze’.

To walk around the space, we will add an component ‘Rigidbody’ inside CardboardMain.

스크린샷 2016-05-02 오전 10.33.03.png

And add a capsule collider.

스크린샷 2016-05-02 오전 10.35.20.png

스크린샷 2016-05-02 오전 10.35.26.png

Like this. I set my capsule collider’s height 5.

To look at what happens in your scene, turn off the maximize on play, and click the play button. You’ll see your capsule collider fall down or keep rotates. To fix this issue, we will check all the x,y,z in freeze rotation.

스크린샷 2016-05-02 오전 10.51.10.png

Now we can walk around our space softly. Next step is making a wall.

Download some wall texture in asset store.

After you choose the texture and downloaded, create a cube.

Make that cube look like a wall. And duplicate it.

스크린샷 2016-05-02 오전 11.02.41.png

스크린샷 2016-05-02 오전 11.05.17.png

In maze, there has an entrance and exit. Make sure they exists.

스크린샷 2016-05-02 오전 11.08.22.png

To organize the file, we will make a category. Create Empty.

스크린샷 2016-05-02 오전 11.08.46.png

And change its name to ‘wall’. And drag the walls inside that folder.

That’ll make you to work more easily.

스크린샷 2016-05-02 오전 11.11.15.png

So with this basic system, I made my own maze.

스크린샷 2016-05-17 오전 2.12.31.png

There’s some surprise things in the edge of the wall.

You can download this maze here :

https://www.dropbox.com/s/pf3yloee9wjz9p8/1212200maze.unitypackage.zip?dl=0

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s