BluDay
BluDay
CC#
Created by Core Dream on 10/26/2024 in #help
WPF Resource Issue
If {ProjectRoot}/Themes/GenericTheme.xaml exists, you could try to prepend the pack URI scheme to the source URI. <ResourceDictionary Source="pack://application:,,,/Themes/Generic.xaml"/>
3 replies
CC#
Created by Core Dream on 10/26/2024 in #help
WPF Resource Issue
Where does GenericTheme.xaml exist in your project directory? Does it really exist in the {ProjectRoot}/Themes/ directory?
3 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
Good! Good luck
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
Try this when you have time:
c#
void Update()
{
if (!isJumping)
{
if (Input.GetKeyDown(KeyCode.Space))
{
Jump();
}
else
{
Move();
}
}
}
c#
void Update()
{
if (!isJumping)
{
if (Input.GetKeyDown(KeyCode.Space))
{
Jump();
}
else
{
Move();
}
}
}
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
Sure thing!
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
In Move(), you are updating the velocity directly
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
In Jump(), you are using the AddForce() method to change the velocity of rb
10 replies
CC#
Created by nissemanen on 4/2/2024 in #help
why is my player floating, twitching and can almost not go up a ramp
What would happen if you don't try setting the velocity property of the rigidbody directly?
10 replies
CC#
Created by Matronix on 4/2/2024 in #help
Update and add to Resource.resx file via code.
There should be a way to accomplish that. ResXResourceReader and ResXResourceWriter from the System.Resources namespace should enable you to do just that
3 replies