BooBearGoose
BooBearGoose
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
Even if it worked it would have been idiotic
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
Never mind
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
Testing it now
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
I just needed inspiration I suppose
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
I found a scummier work around though. It's ugly but
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
Ahhh that makes more sense
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
I don't fully understand all of it though so I'll have to do some readiing
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
Ah that is easier then my work around.
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
No. There is only one thing that causes the score to go up
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
One point per collision
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
void Start()
{
logic = GameObject.FindGameObjectWithTag("Logic").GetComponent<LogicScript>();
}

// Update is called once per frame
void Update()
{

}
private void OnTriggerEnter2D(Collider2D collision)
{
logic.addScore();
}
}
void Start()
{
logic = GameObject.FindGameObjectWithTag("Logic").GetComponent<LogicScript>();
}

// Update is called once per frame
void Update()
{

}
private void OnTriggerEnter2D(Collider2D collision)
{
logic.addScore();
}
}
23 replies
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
I would have expected it to work like this: Player Score = 0 + 1 Player Score = 1+1 But it doesn't. It just goes 2, 4, 6, 8 and so on
23 replies