Forum rules - please read before posting.

Demo Tutorial- Early Navmesh Problems

I bought AC at the end of last year, I'm just now trying to sit down and see if I can figure it out.  I watched the 'Creating a 2D game Tutorial' video before purchasing, it seemed understandable enough to someone like me,an illustrator who hasn't worked with any game software more complicated than RPG Maker.  I understand the video is out of date, but even so, I'm having problems as soon as we begin working with Navmesh2D.  The initial NavMesh works fine, it's only the 'TreeHole' that the sprite is ignoring.  Running the game does not add the hole to the mesh as the video instructs.  The background images also appear much smaller than the actual game 'area' though I can't imagine the Navmesh is affected by this. I'm on the newest Unity and AC.  Image if it helps: http://imgur.com/a/D2nh5

Comments

  • Welcome to the community, @NakedCosmonaut.

    Where the 2D video tutorial is outdated, annotations have been added - however the process of adding the NavMesh and holes within it is still the same.

    What does your TreeHole gameobject look like, and what does the NavMesh look like while the game is running?  Also, since Unity is full of betas and patch releases, please state the exact version number you're using, as well as the platform.

    We will also need more detail about the background images appearing smaller - though you're correct that this is separate to the NavMesh.
  • edited November 2016
    5.4.2f2 Personal (64 bit) is my Unity version, AC is 1.54c.  I'm using Windows 10 Pro 64 bit.   TreeHole object:  http://imgur.com/ualJdKb   Ingame:  http://imgur.com/g64VIJR   This is what I mean by the background being smaller: http://imgur.com/24EYT20 although I should have thought to look at this to begin with, they're in 720p and I'm in 1080p so that answers that.

  • Both of the first two images link to the same thing.  I also meant for you to show the NavMesh from the Scene view when the game is running, not the Game window.
  • edited November 2016
    My mistake: Treehole   http://imgur.com/ualJdKb    Scene while running: http://imgur.com/2zs4YS1

    *For some reason I'm getting random '%' characters inserted in the actual links but not the text itself, I've edited to fix that.  No idea what that's about. 
  • Sorry for the back-and-forth, but it's important that you select the NavMesh for the in-game screenshot.  What we're trying to establish here is whether or not the NavMesh is correctly incorporating the shape of the hole into itself.

    It should be that when the game runs, selecting the NavMesh causes the shape of the TreeHole to be visible in the scene view as well - even if you disable the TreeHole object.

    We also haven't seen the Player ignoring the hole, which is the problem you're reporting.  Be aware that setting up the correct display orders of the sprites is a separate step to adding the NavMesh hole - and that's covered next in the tutorial.
  • I think I completely misunderstood from the beginning.  You only see the two elements, NavMesh and TreeHole, combined when actually in the 'running' scene.  For some reason I thought they would be combined after hitting Play and Stop, when that didn't happen I thought I did something wrong.
  • edited November 2016
    Yes, the two will only be combined at runtime - you can make changes in Edit mode and the effects will only be felt when you next run it.
  • edited November 2016
    Sorry about all this then, it was entirely on my end.  I'll make another go at the demo later today, I'll just need to pay better attention apparently.  Thanks.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.