Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tom Spilmans beard function is not working #6079

Closed
ghost opened this issue Nov 24, 2017 · 6 comments
Closed

Tom Spilmans beard function is not working #6079

ghost opened this issue Nov 24, 2017 · 6 comments
Assignees

Comments

@ghost
Copy link

@ghost ghost commented Nov 24, 2017

public Beard
{
	float timer;
	float beardLength;

	public Beard()
	{
		beardLength = 0;
		timer = 1000f; //ms
	}

	public void SetBeardLength(float value)
	{
		beardLength = value;
	}
	
	public void Update(GameTime gameTime)
	{
		timer -= (float)gameTime.ElapsedGameTime.MilliSeconds;
		if(timer <= 0)
		{
			beardLength += 0.01f;
			timer = 1000f;
		}
		
		if(beardLength > 9000)
		{
			beardLength = 0; // NOT WORKING
		}
	}
}

Please shave, makes you look like a 80 year old Kung Fu Master.

@tomspilman tomspilman self-assigned this Nov 24, 2017
@mrhelmut
Copy link
Contributor

@mrhelmut mrhelmut commented Nov 25, 2017

I'm against this proposition, he looks magnificent.

@MarcVador
Copy link

@MarcVador MarcVador commented Nov 25, 2017

@mrhelmut You are not impartial enough :)

@StealthKill That era was the best one ! That's cool to look like a Kung Fu Master ! You cannot imagine all the work needed to achieve this...

@Juhlinus
Copy link
Contributor

@Juhlinus Juhlinus commented Dec 2, 2017

you look like a 80 year old Kung Fu Master

That's... a bad thing...? 😄

@SimonDarksideJ
Copy link
Contributor

@SimonDarksideJ SimonDarksideJ commented Dec 2, 2017

That's... a bad thing...? 😄

Well, when his beard gets long enough to interfere with his keyboard we could run in to trouble with the random merge and clicking the wrong button :P
Also if it objects to a grand new idea, it could threaten his life and throttle him red dwarf style 😄

@ghost
Copy link
Author

@ghost ghost commented Dec 18, 2017

I bet his beard is doing all the coding job.

@chaosnhatred
Copy link
Contributor

@chaosnhatred chaosnhatred commented Dec 20, 2017

@harry-cpp harry-cpp closed this Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.