Merry Christmas from the depths of the Oxidane Ocean!
WHATS NEW:
1. Updated School System UI
2. New In-game Debug Mode
3. Random Fish Behaviour
I have updated the School System UI so I can adjust the school system much easier and other people who may want to use it will straight away understand how to use the system. I have used Enums for the Fish Types and added a lot of versatile functions that can be used again. I have also created custom events which can be triggered by the fish.
PSEUDO CODE for How to get Randomized Fish within a given percentage:
Loop the PercentageAmountNum of the FishArray[], generate a random number within FishArray[].Length, do a check if the random number has already been picked, if it has, generate another number else add the random number to the RandomizedArrayRef[] and then do the next loop. Now that I have the RandomizedArrayRef[] I can do whatever is needed with these selected fish; in this case I am manipulating the individual fish speed.
I have also added a Debug mode to the game which gives me details of the fish in my scene these details include:
Update Rate: This is the update rate of the Debug Mode and how often it refreshes.
Nearest Fish Type: This gives me the nearest fish within my vicinity
Nearest Fish Spline: The nearest fish spline that is connected to the nearest fish.
Nearest Fish Distance: The distance between the nearest fish.
Nearest Fish Speed: The speed of the nearest fish
Fastest Fish Speed: The fastest fish in the level.
Average Fish Speed: The average speed of the fish within the level.
Total Fish in Level: The Total amount of fish in my level.
KNOW ISSUE WHICH HAS BEEN FIXED:
The Nearest Fish Distance is wrong and has been fixed.
VIDEO
WHAT'S NEXT?
The next process is giving the fish the ability to create their own pathway, they will become SENTIENT ALL RISE FOR SENTIENT FISH.... all jokes aside this is the next update plan on my list.
Its been an amazing year for Oxidane and for me too, I can't wait to see what the future holds.
Merry Christmas and Happy New Year!
Comments