The talk of slopes also came up earlier, so I decided to play around with the code that we have. I temporarily disabled our current code that didn't work very well, and started experimenting. I was able to come up with one thing that did work actually sort of well(although it is pretty unreliable.). It checks whether or not there is a place free to the side of the player, and if there isn't, then checks for a place to the side and up from the player. If there is a place, it sends the player up and to the side in that direction. In some situations it works extremely smoothly, but sometimes it doesn't. I may need to come up with something new, or maybe our movement code just sucks. Tomorrow however I will go back to the GUI, and I will put the text on properly and make it look nice, as well as applying the health bar. If I am able, I might also place the clock somewhere if I can.
No comments:
Post a Comment