Skip to main content

156. Unity3d Tutorial - Setup From Scratch And Cleanup - Part 9

See video

We are going to continue with our little rpg style game created with the Unity 3 Game Engine.

In appreciation to the people that have purchased the scripts, I have decided to start a project from scratch to save them the nine or so hours of watching the tutorials to catch up. I am also going to be adding some little things to several scripts that I have been wanting to do for some time now.

Scripts: http://www.burgzergarcade.com/product/tutorials/hack-and-slash-tutorial-...

Models: http://www.frogames.net/?r=9

Tags:

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Apr 6 2011

I Keep getting stuck on this point. I make the __GameSettings prefab from the Character Generator(remove it) then placing it in the Main Menu. When i start up the Main Menu a loading bar comes up displaying 100%, then nothing. I get the fallowing Debug logs: There is a ver key, Saved version is the same as the current version, There is no Player Name key, Level Ready. Any help would be very nice. Thanks!

Offline
Joined: Apr 19 2011

I'm getting the same behavior as Skriby :(

Petey's picture
Offline
Joined: Feb 3 2010

Take a look at the name of the levels in the GameSettings.cs script and make sure they match up with the name of the scenes that you have added in your build settings.

Offline
Joined: Apr 19 2011

I know wheres the error is. In the MainMenu.cs! There are two strings with an error in it:

private string _characterGeneration = GameSetting2.levelNames[1];
private string _firstLevel = GameSetting2.levelNames[3];

But they must called:

private string _characterGeneration = GameSettings.levelNames[1];
private string _firstLevel = GameSettings.levelNames[3];

Only problem is, you'll get 3 errors called:

IndexOutOfRangeException: Array index is out of range.
MainMenu..ctor ()

mirilaika's picture
Offline
Joined: Jul 8 2011

Well, I create Player prefab, and delete player model from Tutorial scene.
When I start Character Generator scene the pc shows, and I create player. The nex level (Tutorial scene) loads and the pc is not there. There is no Player Spawn Point too. Any ideas?