top of page
  • Twitter Social Icon
  • LinkedIn Social Icon
  • Facebook Social Icon
Search

Week 8-9

  • ef1998
  • Nov 29, 2020
  • 2 min read

Level Design

For the last 2 weeks I have been working on the level designs and getting them implemented and they are working wonderfully. I just need to ensure that when they are generated in, the door placement doesn't cause the rooms to overlap which would result in the pathfinding system breaking.


Room 2

ree

ree

Room 3

ree

ree


Bug fixing

I have been plagued with a very irritating bug that I have finally managed to fix. The issue with my AI pathfinding system and the procedural level system is not that they don't work, its that they didn't work together and so I had a constant issue with. I found that the problem was that I was rotating the room after it had been instantiated, which I thought would've been fixed because I had the rooms enabled after the rotation and the function responsible for initialising the grid in OnEnable(), but I guess I don't quite fully understand how sequencing works in Unity. I had to rotate it after because I had to make use of a special function called RotateAround() which belongs to Transform and not Vector3, and unfortunately you can't have a transform without a gameobject. Eventually I came up with the solution to create a temporary gamobject and apply the translations and rotations, to which I could pass in the coordinates and rotation into the instantiate function. It was a very messy process that probably would've been avoided had I started reading "Game Programming Patterns" a little earlier. Its not my job to design how things are coded, however this is a complex prototype where there are multiple systems working together, so actually it might benefit me in the long run to have a little bit of design in the future.


ree


Thoughts

I did some initial testing of the system and it works surprisingly well. I can get a little disoriented which is the desired effect and the AI can sometimes catch me off-guard which is a huge success considering I programmed it in the first place. I feel I might need to make the view cones a little larger and a little wider, but I can only know for sure after playtesting with others.


Build Video



Next steps

I want to get in 2 more level designs and then start playtesting by week 11 if not week 10.

 
 
 

Recent Posts

See All
Week 11 Testing

I did some playtesting with 2 of my friends and the results were particularly interesting. Participant 1 notes: Started game Knows to...

 
 
 

Comments


SIGN UP AND STAY UPDATED!

Thanks for submitting!

  • Grey Twitter Icon
  • Grey LinkedIn Icon
  • Grey Facebook Icon

© 2023 by Talking Business.  Proudly created with Wix.com

bottom of page