Loading ...

How to Make Virtual Reality Games & Apps ?

How to Make Virtual Reality Games & Apps?

Alex jone
by Alex jone — 2 weeks ago in Mobile Apps 3 min. read
863

After proper research, I found out virtual reality game development is not difficult, regardless of whether you don’t have any 3D or coding experience. To give you a model, here is an app I made utilizing this technique.

Tools you need:

A VR headset (I have Google Cardboard, but others will work fine and dandy.)

Unity (Download and introduce the free form)

Android SDK (you can Download from the SDK Tools Only section. I’m utilizing Android for instance, but iOS should function also.)

Cardboard Unity SDK (Download from Github repo)

Jupp Otto develop auto walk script you can download from Guithub.

The app we’ll be making is an essential virtual environment visit. You can flip auto walk utilizing the trigger in your VR headset.

Related: – VR Development Guide: Choosing the Right Engine for Game Development

Stage 1: Create a virtual environment

Open Unity. Do a project in the spring up window — no compelling reason to modify any settings now.

I’ll be utilizing this Forest Environment free resource made by Patryk Zatylny, but you can use whatever advantage you like. Open the URL, click “Open in Unity.” Unity will stack it in the Asset Store panel. At that point click “Download” (Unity doesn’t permit downloading resource straightforwardly from the site page).

After the download is done, you’ll see a spring up. Click “Import.”

Explore to your Project panel (If you can’t discover it, go to the top menu bar, Window > Layouts > Default). Double tap the demoScene_free document in the record structure (utilize the slider in the lower ideal to change thumbnail measure). Presently you can see the beautiful view in the Scene panel.

Stage 2: Set up Cardboard Unity SDK

In the Hierarchy panel, erase First Person Controller and Main Camera.

Unfasten the Cardboard SDK you downloaded from the Github repo; you get a cardboard-unity-ace organizer. In the top menu bar, go to Asset > Import package > Custom package, pick CardboardSDKForUnity in the cardboard-unity-ace organizer. In the following spring up, click “Import.”

In your Project panel, you’ll see a Cardboard organizer. Go to the Prefabs subfolder, drag CardboardMain and drop it in the Scene.

Test it out by clicking on the play button. Utilize your mouse/trackpad and alt/control keys to simulate camera container/tilt. When you are not in play mode, you can modify the underlying position of CardboardMain utilizing the Transform section in the Inspector panel right on the right, or using the transform tools in the toolbar in the upper left. (More subtleties on the most proficient method to position things in Unity)

Related: – 5 Best Reasons Why AR and VR Strategy is a Must for Your Business

Stage 3: Add an auto-walk features

Unfasten the auto-walk script you downloaded from the Github repo; you get a Google-Cardboard-ace organizer. Drag the auto walk. Cs record and drop it in the Assets envelope in the Project panel.

Click to choose CardboardMain in the Hierarchy panel, click “Include part” in the Inspector panel right to one side, discover Autowalk and select it.

You’ll see another Autowalk section in the Inspector panel. Set the speed to 1 and click “Walk. Presently in play mode, you can utilize mouse click/trackpad tap to simulate the trigger to see auto walk in real life!

Stage 4: Package the app

Go to the menu bar, File > Build setting. Select Android and click on “Player settings.” Enter a Company Name (up on the top) and a Bundle Identifier (in the Other Settings section down on the base).

Look down to Publishing Settings. If you don’t have a keystore, check “Make New Keystore,” enter your password, and click “Browse Keystore.” In the spring up, enter a name for your keystore and click “Spare.” Presently you should see the document way of your keystore by “Browse Keystore.” (More subtleties on marking an Android app)

In the “Key” section beneath, in the Alias dropdown, select “Make another key.” Enter your information in the spring up and click “Make Key.”

Alternatively, you can include your app icon in the Icon section. Click “Build” in the Build Settings window. During the procedure, you may get requested to choose the root Android SDK envelope. Unfasten the Android SDK document you downloaded and select that organizer. You may likewise get requested to refresh SDK. Confirm to refresh. After the build is done, you can introduce the app on your Android telephone, test it out with you VR headset, or even transfer it to Google Play Store! (In some cases when you pivot your head the camera doesn’t turn with you. Leaving and reopening the app should fix it. It may have something to do with the SDK rendition and Android form. Fill me in as to whether you discover more insights regarding this bug.)

Alex jone
Alex jone

Alex jone is a Marketing Manager at AIS Technolabs which is Web design and Development Company, helping global businesses to grow. I would love to share thoughts on vr app development.

These Mistakes Should be Avoid While Developi...
Friday, 15 February 2019
Whatsapp Payment Service will be Launched onl...
Saturday, 04 May 2019
What Dominant Travel Apps Teach Us: Travel Ap...
Sunday, 13 October 2019

Leave a Reply

avatar
Notify of

Most Popular

Never miss out

Sign up with TNT and get direct story to your inbox.
Facebook Pagelike Widget

Like us on Facebook

Twitter Feeds

Biotechnology – 5 Ways it can alter the Course of Human Race

Read post: – https://t.co/T8Mm7IBswk

#Human #Biotechnology #TNT #TheNextTech

5 Latest Enterprise App Development Trends

Read post: – https://t.co/XEorXNwV6M

#AppDevelopment #Development #TNT #TheNextTech

How much Impact of 5G and IoT on Blockchain Technology

Read post: – https://t.co/5Iw1zCUf1T

#5G #Blockchain #Technology #TNT #TheNextTech

7 Best Ways to Raise Warehouse Productivity

Read post: – https://t.co/CxRpqVafpF

#Warehouse #TNT #Tech #TheNextTech

Upcoming Trends of Machine Learning in 2020

Read post: – https://t.co/SDQ8rJMnQo

#MachineLearning #Technology #2k20 #NextYear #Future2020 @BR_Softech @StatistaCharts

Load More…

Copyright © 2018-2019 The Next Tech. All Rights Reserved.