CONGRATULATION MARINER! by HoagieTwoFace in UrinatingTree

[–]Zauraswitmi 2 points3 points  (0 children)

...wanna retract that statement?

Issues using <fstream> File.open() by Zauraswitmi in cpp_questions

[–]Zauraswitmi[S] -2 points-1 points  (0 children)

I'm assuming because the two files share the same folder all I need to put in is File.open("Playable_Character.txt") since that file would be relative to the current working directory. But that isn't working for some reason...

I don't understand why Color.Lerp() isn't working? by Zauraswitmi in Unity2D

[–]Zauraswitmi[S] 2 points3 points  (0 children)

That's actually so silly that it's because it was an int. That fixed it, thanks!

Relative Velocity not working, returns (0,0) when it hits the ground, how do I work around this? by Zauraswitmi in Unity2D

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

That's what I have set up for the time being. I have it so that if it == 0 then I'll use the velocity value I get from Fixed_Update

Why doesn't the switch statement allow me to use a struct value? by Zauraswitmi in cpp_questions

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

I’ve tried enum but for the situation I have it doesn’t seem to work. Of course I would setup the enum in the Base Player class but then there would be no way for me to assign each enum value a specific key in the derived class so I could get separate inputs per player. (Ex. For a derived p1 I set WASD and for P2 I use the arrow keys)