At the moment, I am working on a script that can make a snail move and attack. Of course, no, I'm not talking about those guys you can find in your forest, but more as the snails that are in the video game that we're working on!
We're still in an early stage of development, but we've got everything organized by now, using http://trello.com (no, they did not ask me to advertise them), and it is actually working out really great. If you're in doubt about how to manage a project, I'd strongly recommend you to give Trello a visit.
In this exact moment, I was facing an issue on the project. I wanted to make the snails run with acceleration, and then deaccelerate the snails when they change direction. If you're into Unity, you might have heard that you can easily move things with slopes and everything using a CharacterController. The way I fixed this was simply to make a variable that was a modifier, and multiply it with the variable that controls the speed of the snail.
In this exact moment, I was facing an issue on the project. I wanted to make the snails run with acceleration, and then deaccelerate the snails when they change direction. If you're into Unity, you might have heard that you can easily move things with slopes and everything using a CharacterController. The way I fixed this was simply to make a variable that was a modifier, and multiply it with the variable that controls the speed of the snail.
That's the movement code. Simple and effective. I hope that it can give you some inspiration as well.
If you're not that much into programming, have a look below, these are all links to the blogs of the other team members who are developing the snail game.
Topi Aarnio – Lead Designer - https://aarniodesign.wordpress.com/
Alexander Vincent - Lead Artist - http://www.twitch.tv/dino__sawr
Frederik Tejner Witte - Lead Programmer - You're already here, duh
- See ya later
Wituz
If you're not that much into programming, have a look below, these are all links to the blogs of the other team members who are developing the snail game.
Topi Aarnio – Lead Designer - https://aarniodesign.wordpress.com/
Alexander Vincent - Lead Artist - http://www.twitch.tv/dino__sawr
Frederik Tejner Witte - Lead Programmer - You're already here, duh
- See ya later
Wituz