Implementing Gameplay

The biggest challenge of Zelda64 VR is implementing the gameplay. We don’t want to reinvent the wheel and recode  all the gameplay that can be found in Ocarina of Time. There are just to many big and small gameplay elements for that.  Before I get into much technical detail I will explain how Ocarina of Time works.

Every object, every character and every item has its own piece of code. This piece of code is called the actor code. The actor code contains some basic information like the model that should be used to render this actor, the scale and much more. Besides this info there is also a piece of code that runs when the actor is active. For static object this can be as small as a few lines. But for animated objects that the player can interact with, the code can be thousands of lines.

So why haven’t you seen any gameplay videos yet? The code I told you about is compiled MIPS code. It’s not really easy to read and it takes a long time to build a program that runs the code properly. Besides that the code contains a lot of calls to functions that I don’t know the purpose of. There is a small list of documented functions but that’s by far not all of them.

The way I am currently implementing the gameplay is a big challenge but will give very accurate results and save me a lot of time in the end.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>