Jump to content

Featured Replies

  switch (me) said:
blahblah im so l337 e-gangsta crap

 

Windows is a good OS, which is why microsoft is one of the biggest companies in the world, despite the throng of nerds who claim that if something is easier to use that means its not as good, its fortress computing and makes me :bowrofl:

  • Replies 58
  • Views 926
  • Created
  • Last Reply

Top Posters In This Topic

LOL. This KeyStealer could never affect me, because it needs Admin Rights. All unknown Applications will be run as a normal User on my System.

 

BTW

Assembler is the best programming-language to go tbh

switch (me) you're so stupid nix isnt good because its too hard to learn and nobody likes it anyway ecsept 4 like super nerds who want to sp3nd their antire lifes learning stupid things k
  Paine said:
Very intelligent response, as usual. I say you suck, so I must be raged? You could look at it another way though, I'm saying you suck because you suck, not because I'm "raged". Although none of it makes any difference to me, I honestly couldn't care if you think I'm "raged".

shut the fuck up, you're raged. Pull something like what termite did and I'll say you aren't full of shit. Until then, shut facen and be glad he's even willing to share. GOOD GAME SIR!

Deadend it's called assembly not assembler. An assembler is what makes it to computer language.
  megafighterx said:
shut the fuck up, you're raged. Pull something like what termite did and I'll say you aren't full of shit. Until then, shut facen and be glad he's even willing to share. GOOD GAME SIR!

 

 

Pull something like t3rm1ght did? You mean make a really simple program and post part of it?

 

Considering I don't make worthless crap to steal cd-keys, I doubt I could post anything of use on here, but here you go:

 

public class SpiralEffect implements Runnable
{

Thread t;

Particle particle;

private float angle = 0F;

float liftAmount = 0.5F;

float anglePlus = 15F;

float maxHeight = 12F;

float minHeight = -12F;

float pos[] = new float[3];

float radius = 15F;

private float liftedHeight = 0F;

private boolean up = true;

public SpiralEffect(Particle particle)
{
	this.particle = particle;
	pos = particle.GetPosition();
}

public void go()
{
	if(particle.canAnimate())
	{
		particle.play();
		t = new Thread(this);
		t.start();
	}
	else
	{
		CodexConsole.Print(0,1, "Particle cannot be animated - " + particle.GetName(),0xffffff);
	}
}

public void run()
{
	while(particle.isPlaying())
	{
		try
		{
			pos = particle.getSpawnPos();
			if(liftedHeight>=maxHeight)
			{
				up = false;
				liftedHeight = 0F;
			}
			else if(liftedHeight<=minHeight)
			{
				up = true;
				liftedHeight = 0F;
			}
			angle+=anglePlus;
			if(up)
			{
				liftedHeight+=liftAmount;
			}
			else
			{
				liftedHeight-=liftAmount;
			}
			pos[0]+=(float)(radius*Math.sin(angle*Math.PI/180));
			pos[1]+=(float)(radius*Math.cos(angle*Math.PI/180));
			pos[2]+=liftedHeight;
			particle.SetPosition(pos);
			t.sleep((long)(250));
		}
		catch(InterruptedException e)
		{
		}
	}
	if(particle.doReset())
	{
		particle.SetPosition(particle.getSpawnPos());
	}
}
}

 

A simple spiral animation for a game I used to work on.

"Deadend it's called assembly not assembler. An assembler is what makes it to computer language."

 

Sorry.

In Germany u call both "Assembler". The language and the Assembler.

Guest
This topic is now closed to further replies.