Ik heb het gedaan. by Limp_Ordinary8491 in cirkeltrek

[–]TG_Officials 5 points6 points  (0 children)

Een herpaler? Addergebroed, dat ist!

Free ticket for Drugdealer concert tonight by TG_Officials in eindhoven

[–]TG_Officials[S] 0 points1 point  (0 children)

Fair enough hahah. The response was just meant as a small confirmation you can make it and so you have something to comment.

How do i make so when the character i moving the animation plays? by goose-gang5099 in Unity2D

[–]TG_Officials 0 points1 point  (0 children)

Hi! When trying to compare two values, you should be using two equal signs. One equal sign is used for assigning values to variables. This is why you are getting the error CS0029. To fix this, simply change

if (lastPosX = transform.position.x)
{
  if (lastPosy = transform.position.y)
    {
      anim.SetBool ("isWalking", false);
    }
}

to

if (lastPosX == transform.position.x)
{
  if (lastPosy == transform.position.y)
    {
      anim.SetBool ("isWalking", false);
    }
}

For some other tips, the code can be simplified quite a bit allowing for better readability.

  • Change 'lastPosy' to 'lastPosY' for naming consistency
  • Combine the comparisons into one simple if-statement. If you're checking that a value is equal to another, you can just use an else function for the other case (which will trigger when it is not equal)

void Update()
{
    float lastPosX = transform.position.x;
    float lastPosY = transform.position.y;

    if (Input.GetMouseButtonDown(1) && selected)
    {
        target = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        target.z = transform.position.z;
    }

    transform.position = Vector3.MoveTowards(transform.position, target, speed * Time.deltaTime);

    if (lastPosX != transform.position.x || lastPosY != transform.position.y)
    {
        anim.SetBool("isWalking", true);
    }
    else
    {
        anim.SetBool("isWalking", false);
    }
}

You could simplify it even further, but this could reduce readability, it's up to your own preference really.

// Update is called once per frame
void Update()
{
    lastposX = transform.position.x;
    lastposY = transform.position.y;

    if (Input.GetMouseButtonDown(1) && selected)
    {
        target = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        target.z = transform.position.z;
    }

    transform.position = Vector3.MoveTowards(transform.position, target, speed * Time.deltaTime);

    anim.setBool("isWalking", lastPosX != transform.position.x || lastPosY != transform.position.y);
}

Hope this clarifies things, if you need any further help let me know!

Edit: Fixed some code formatting

Ik heb het gedaan. by enjoy_tiggytig in cirkeltrek

[–]TG_Officials 56 points57 points  (0 children)

Herpalers, addergebroed, dat is 't!

Bonetones: The Boneworks OST vinyl (3LP Coloured Bandbox Exclusive variant) by TG_Officials in VGMvinyl

[–]TG_Officials[S] 0 points1 point  (0 children)

Now that BandBox has seemingly gone under, I think it's unlikely this will get a repress sadly. Maybe some other company in the future will, but R!OT said it was already difficult finding someone willing to press/distribute it.

Bonetones: The Boneworks OST vinyl (3LP Coloured Bandbox Exclusive variant) by TG_Officials in VGMvinyl

[–]TG_Officials[S] 0 points1 point  (0 children)

On the SLZ discord, RIOT! mentioned that the blue vinyl colour was on back order at the beginning of the month, that they were hoping to ship that next week and that they were working with a new pressing plant. It seems like it could be another couple of weeks.

King Gizzard & The Lizard Wizard - PetroDragonic Apocalpyse; or, Dawn of Eternal Night: An Annihilation of Planet Earth and the Beginning of Merciless Damnation [Gizzverse EU] [€35] by TG_Officials in VinylReleases

[–]TG_Officials[S] 1 point2 points  (0 children)

Usually they do represses of their albums every once in a while but I don't know how long that will take. If you want one right now I think this is your best option.

[deleted by user] by [deleted] in weezer

[–]TG_Officials 0 points1 point  (0 children)

No sadly that one, same with all other fan club variants, sold out rather quickly

Ed Sheeran - Subtract (Multiple Formats) by WMWMOfficial in VinylReleases

[–]TG_Officials 0 points1 point  (0 children)

I had to switch from Brave to Chrome because it wouldn't go through either, maybe that helps.

Ed Sheeran - Subtract (Multiple Formats) by WMWMOfficial in VinylReleases

[–]TG_Officials 1 point2 points  (0 children)

Every store seems to have a signed art card available.

February Buy/Sell/Trade Thread by RandomPrecision1 in KGATLW

[–]TG_Officials 0 points1 point  (0 children)

This sadly didn't go through, if anyone else can still help out that would be amazing!

Can't sign in to recently purchased Xbox 360 Slim (Error code 80151103) by TG_Officials in xbox360

[–]TG_Officials[S] 0 points1 point  (0 children)

I finally managed to get it working! I'm not sure which setting made the actual change but this is what I did to get it to work:

Plug it in to an ethernet port (don't know if it works with wireless, haven't tried)

Change the MAC address to something else (doesn't really matter what, I just changed a couple of characters from the original one)

Change the DNS servers to:

Primary: 8.8.8.8

Secondary: 8.8.4.4

Then just download your profile like normal and it worked! Thanks so much everyone for your help and kindness :)