Well, I’ve finally got a day of from my job and started working on the menu a bit more.
Assets!
I finally got around to designing the actual map, I tried to make it look somewhat spooky but normal. spormal.. If that makes sense? No, okay. Carrying on, I wanted to make something unique similar to the game battle for bikini bottom.
Here’s an image of the menu.
Code!
For jump scares (spoiler) I wanted to make spongebob glitch out randomly and distort the character. Instead of having the code change the position of the bones,
I made a stretched out version of spongebob (We will call him strechbob) and have him randomly appear throughout the map.
However, I ran into some complications.
gameObject.SetActive(false); This bit right here would make stretchbob
Dissapear, And by changing false into true It would make him reappear.
However, Since I called SetActive(false) it turned of the entire script and it would make him just stay inactive.
So in order to fix that, I made an empty prefab, dragged all of strechybob’s hands, arms and legs. Into the empty prefab, and just made the script toggle that on and off.
PS: Thanks for all the follows! I will post an image of strechybob tomorrow.
1 comment