Showing posts with label score. Show all posts
Showing posts with label score. Show all posts
Tuesday, December 12, 2017
How To Improve Your Batting And Score Good Runs Top Easy Tips
How To Improve Your Batting And Score Good Runs Top Easy Tips

Batting is one of the most important things in cricket.You need to be a good batsmen for your team by scoring good runs,which leads to victory of your team.Here are few tips to improve your batting skills.
1)Grip:

Check both your hands are fairly close together on the bat, towards the top of the handle.
Form a "V" by pointing your thumb and forefinger down between outside edge and centre of back of bat.
The top hand rests comfortably on the inside of the front thigh.And the back of the top hand should face towards extra cover.
2)Stance:
The stance is the "ready" position when the batsman is about to face a delivery.

It is the base to play all your shots, so remember to be comfortable and relaxed.
Points to remember:
3)Backlift:

The bat is taken back towards the stumps and at the top of the backlift the face should open towards second slip.
The front shoulder should roll down as the bat is lifted, with the head kept as still as possible.
Keep the hands close to the back hip, so that toe of the bat is at around shoulder height.
Ensure any movement forward or back is completed before the downswing of the bat begins.
4)Shot Selector:
The batsmans job is to score as many runs as possible.

Even top class batsmen give their wicket away because of poor shot selection, so its not an easy science.
The batsman has approximately 12 shots to choose from either side of the wicket.
So stroke selection depends on the line, length and speed of a delivery.
There are three main lines:
By Author Abdul Qawi
Monday, December 11, 2017
How to Set High Score On Unity C Script
How to Set High Score On Unity C Script
How to Set High Score On Unity + C# Free Script
So, In this article we gonna to see how to set high score on game deveoping engine unity with C# script.Unity is an all purpose game engine that supports 2D and 3D graphics, drag and drop functionality and scripting through C#. Two other programming languages were supported: Boo, which was deprecated with the release of Unity 5 and UnityScript.
Highscore is the main part of the game, so in this tutorial we gonna to see how to set and reterive highscore with diffent scenes and differne scripts with very easiest method.
Advertisements
by using this methos you can store not only highscore also we can store string,float,int variable values permanently
there is no variable decalration or values assignment required,
so lets gets started. first we need a game scene to set high score.

void update()
{
if(currentscore > PlayerPrefs.GetInt("highscore");
PlayerPrefs.SetInt("highscore", currentscore);
}
From this code, i am checking current score by highscore, if current score is greater than high score then set new score as a high score..
Main Details
To Assing High Score
PlayerPrefs.SetInt("highscore", currentscore);
highscore is an string like a varibale to store high score.
current score is an int variable
To Get High Score
int a = PlayerPrefs.GetInt("highscore");
here A stores high scores from variable highscore.
Advertisements
we can use this methods for store string,int,float datatype values, also we can use/get values from any script we want..
To Download this project Click download below.


Highscore is the main part of the game, so in this tutorial we gonna to see how to set and reterive highscore with diffent scenes and differne scripts with very easiest method.
Advertisements
by using this methos you can store not only highscore also we can store string,float,int variable values permanently
there is no variable decalration or values assignment required,
so lets gets started. first we need a game scene to set high score.

Here, the high score is now 0, to set a highscore just follow given line,
PlayerPrefs.SetInt("highscore", score);
highscore is an public variable so we dont need to decalare any variable.. you can create anything you want.
exmable to set highscore
In UPDATE Function
{
if(currentscore > PlayerPrefs.GetInt("highscore");
PlayerPrefs.SetInt("highscore", currentscore);
}
From this code, i am checking current score by highscore, if current score is greater than high score then set new score as a high score..

To Assing High Score
PlayerPrefs.SetInt("highscore", currentscore);
highscore is an string like a varibale to store high score.
current score is an int variable
To Get High Score
int a = PlayerPrefs.GetInt("highscore");
Advertisements
we can use this methods for store string,int,float datatype values, also we can use/get values from any script we want..
To Download this project Click download below.

Subscribe to:
Posts (Atom)