Velcer
Velcer
CC#
Created by Velcer on 7/12/2023 in #help
❔ Trouble with C# certificates
That is what I am doing presently. The certificate is bundled with the program, and I load it from the file as you can see in the above code. That above code works on my local environment but fails in production. I have verified that the production server does have the file. I've verified the correct path. I've verified that the certificate goes into memory (loaded by the C# program). And I get the error.
4 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
Thank you! Got it.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
ooh
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
so what I do need is rotation, and not mirroring.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
@amio I realize just now, that I am trying to make the effect of two people on two sides of the board, and they decide to rotate it.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
I did not realize the solution was so simple.
var pos = boardObject.Position;
var distanceToEdge = _levelBounds.max.y - pos.y;

pos.y = (int)distanceToEdge;
var pos = boardObject.Position;
var distanceToEdge = _levelBounds.max.y - pos.y;

pos.y = (int)distanceToEdge;
Thank you.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
Thank you @amio
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
oh, interesting.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
The level bounds are demonstrated here
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
I figured the easiest way was rotation, then offset.
17 replies
CC#
Created by Velcer on 3/11/2023 in #help
❔ Flip Board not working properly
I want flipping.
17 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
Thank you both for your help, I realize what to do now. @thinker227 @canton7
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
I see.
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
Yes, that's right.
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
dynamically, meaning not dealing with a hard coded 8.
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
so dynamically speaking, x should equate startPosition.x?
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
oh, hm.
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
This does not give me the desired output
20 replies
CC#
Created by Velcer on 3/4/2023 in #help
❔ How can I find all the whole number vectors between two points?
var points = new List<Vector2Int>();

var width = currentPosition.x - _buildObjectStartPoint.x;
var h = currentPosition.y - _buildObjectStartPoint.y;

for (int x = 0; x < width; x++)
{
for (int y = 0; y < h; y++)
{
points.Add(new Vector2Int(x, y));
}
}
var points = new List<Vector2Int>();

var width = currentPosition.x - _buildObjectStartPoint.x;
var h = currentPosition.y - _buildObjectStartPoint.y;

for (int x = 0; x < width; x++)
{
for (int y = 0; y < h; y++)
{
points.Add(new Vector2Int(x, y));
}
}
20 replies