Category Archives: Unity 3D

Unity3D on the web

In order for the game-based simulation that I’m working on to work, I’m going to have to be able to export my game to WebGL from Unity3D so that users won’t have to fuss with installing extra plugins before they can experience it. To test this, I have exported my result from the Roll-a-Ball tutorial on the Unity3D site to WebGL to see how that goes. The code is surprisingly simple in the resulting HTML page that is automatically generated. Instead of just linking to the page, however, I wanted to embed it into this post so that I could be sure to get the game to show up where and how I want it to. Here is the result (use your arrow keys to control the ball to pick up the yellow boxes):

Embedding this in a WordPress site like mine has some issues, the biggest of which is that the HTML generated from Unity includes some Javascript references in the head and since the post editor doesn’t have access to the HEAD tag, I had to work around it. At first I tried an IFRAME but since the game was in a different page than the post, the user would have to click on the game to get the controls to work.

My end solution was to just move the script reference down into the post with the rest of the code. Not ideal, but it works.

Please like & share:

Design Blueprints – Interactive Cathedral Walkthrough

The purpose of this project is to develop a walkthrough simulation of an environment that can be used as a learning tool for Art History students. The benefit to such a product is to give students the ability to freely explore locations that are inaccessible either due to distance (in a country or continent that is not feasible to travel to) or time (site has changed significantly from the period of its original construction or is no longer in existence).  

Continue reading “Design Blueprints – Interactive Cathedral Walkthrough” »

Please like & share:

Learning Unity 3D, week 1.

I am currently a Master’s student at BYU studying Instructional Psychology and Technology. My project is to recreate the Amiens Cathedral in 3D in a game environment so that students can navigate through the space and visit markers to study various topics regarding the cathedral’s design, construction, structural condition, and use.

To accomplish this I am going to expand on my model that I created for my BFA in Animation senior project and place it in the Unity 3D game engine. By doing so I’ll be able to create an informal learning space where students can navigate freely and spend time exploring and finding points of interest for further investigation.

Unity has a very useful set of tutorials that give a great introduction to the game engine, including how to incorporate scripting. Their introductory lesson presents the task of building a Roll a Ball game.

Here is my finished game (download ZIP file) from this tutorial build for Mac OS. This was a great, fun start!

Please like & share: