This is the first actual project that I am carrying out in my Unity Game Dev internship. And I hope Game Creator makes it pretty smooth.
First the task at hand: Create mechanics for batsmen in Cricket
- Create at least 5 different types of strikes
If you don't know what cricket is, why even are you here :/
So let's dive into it. What did I complete today you ask?
1. Setting up the character & scene: The first thing to get started was obviously to build up the scene and the character. For the scene, I took a simple stadium model for playing Cricket that can be found here. This also provided me extra work as the creator did not provide any textures that it contained. So being the lazy one that I am, I deleted all the unwanted stuff, added appropriate colors and just put the field only which looked like this:
I also added a second camera motor so that I can look around. I made a key down trigger that swaps the camera to another adventure camera.
- Directly placing the bat on the hand of the player under the root bone with the right transformation and the bat would move along with the hand.
- Using player attachment provided by Game Creator to attach the bat on the hand of the player with some trigger. (Lots of trial and error to get the rotation and position right)
- Then the last one was to directly attach the bat to the model itself in blender. This would be really smooth and perfect. But I really don't want to use blender T_T
For now, I am still trying to figure it out. But I have placed the bat under the right-hand bone of the character with proper position and rotation.
Looking back at it, I think this is all I did today. Doesn't feel like much when you write like this. Especially since I didn't have to do any coding either (Thanks Game Creator I guess). It ain't much but its honest work. I also tried to add a little hitting animation with a trigger but the bat's location is really messed up I guess
0 comments:
Post a Comment