ColeDeanShepherd / TESUnity

World viewers for Elder Scrolls games in the Unity game engine.
MIT License
92 stars 19 forks source link

Use more prefabs + refactoring #42

Closed demonixis closed 7 years ago

demonixis commented 7 years ago

Hi,

In continuation of my previous work, this PR adds a lot of things.

Prefabs All the UI elements are now placed in a canvas on the scene. The canvas is enabled when the engine is started.

Path Selector Scene A new scene has been created that ask for the Morrowind Data Path. If the path exists in the config.ini file, the engine load the main scene directly. Otherwise, the user have to enter the path. The main level can't start without a valid path.

Removed Unsafe Code I have changed the UnityBinaryReader to avoid the use of unsafe code. Avoiding unsafe code will allow us to port the game to more platforms in the future.

Better VR integration The game supports the Oculus Rift SDK as well as the SteamVR SDK! Controllers are mapped, that means that you can move the sword with your hand. It's not yet finished, but it works well. Unity 5.6 will bring a new NavMesh API that will be usefull to generate NavMesh at runtime. The NavMesh will be used for teleportation, NPC and Creatures.

What Next The next update will bring a menu with basic settings (no need to edit the config.ini file).

ColeDeanShepherd commented 7 years ago

Thanks man!