Wow this section was super long and I am still not done with it yet as I’m going to go back and fix some things later once I’m done with blender.
Stuff I learned:
- Start with cubes - no really. Use the cubes to get the logic of your game down first. (i.e. scripts) Break down all the things you need your game to do and get that working with just cubes or primitives. This was my biggest mistake here as the course addressed pre-fabs and how things can get screwy if your models aren’t right. I made the mistake of buying models and game parts of sketch fab without totally understanding what i was looking for. I ended up getting frustrated because i didn’t have the ability to manipulate things I needed to a rotations and all kinds of things have been super challenging. The good thing is the logic is still fine I just need to go through and make the stuff pretty and more complex. This actually sounds fun, but I want to complete the course first and then polish with all my ne knowledge. I also want to make it food related versus a rocket ship. Game mechanics are so repeatable. I know get why there are so many games....
- Prefabs - Start every thing as a prefab. Put scripts and things on the original so when you have new levels, the prefabs come out all ready to go.
- Test as you go and realize there will always be a case you didn’t plan for initially that you need to code around
- lighting and camera follow -
- keep scripts separated by function
- structure your scripts where the main flow is super clean and easy to read and all the rest are methods at the bottom that are referenced by the main workflow method.