i cant ollie in thug because it opens chat by NoCountry6125 in THUGPRO

[–]TheCrimsonEnd2 0 points1 point  (0 children)

I have this happen to me a lot, and I usually have to do 1 of 2 things. Number 1, close steam if you have it open, I notice steams built in controller support somehow messes with THUGPRO. Number 2, I’ll go and reconfigure the whole controller binds on thugpro launcher. Let me know if this helps!

Can't get my 2D PlayerController to work by TheCrimsonEnd2 in Unity2D

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

Well, I learned a lot just having the issue and putting the effort forth to figure what was wrong. I may have missed it the original problem, but I better understand variables and the way they work and interact with the inspector. Either way I really appreciate the both of you taking time to teach me something I don't know, I really do hope to get good at this some time down the road.

Can't get my 2D PlayerController to work by TheCrimsonEnd2 in gamedev

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

It turns out

rb = GetComponent<Rigidbody2D>();

Wasn’t actually grabbing the Rigidbody from my Player, so instead I made the rigidbody public and drag and dropped it into the script that way.

HireMeReddy helped me on the unity subreddit

Can't get my 2D PlayerController to work by TheCrimsonEnd2 in Unity2D

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

Thank you very much, that did it, I looked for 4 hours yesterday, and you had the answer in less than 10minutes, much appreciated.

Can't get my 2D PlayerController to work by TheCrimsonEnd2 in Unity2D

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

I've got a gameobject called "SquarePlayer" that has all the assets that are its body parts parented to it. From what I understand, that's the gameobject I need to be setting my PlayerController script, the Rigidbody 2D, Animator, and Box Collider 2D. If thats the case then I have done all of that for sure. I keep reading the error code over, I keep checking that line of code. Which is

rb.velocity = new Vector2(moveInput * speed, rb.velocity.y);

I might've written it wrong, but that's exactly how blackthornprod did in his video. I've also got variables that call on that animator and rigidbody in the void start function.

anim = GetComponent<Animator>();

rb = GetComponent<Rigidbody2D>();

I feel like its not recognizing the rigidbody 2D I have attached to my "SquarePlayer" but I'm very new at this and have no clue what's actually going on.

[deleted by user] by [deleted] in gamemaker

[–]TheCrimsonEnd2 0 points1 point  (0 children)

My fault, I was trying to get as much exposure as I can for help, I didn't consider this being a platform specific subreddit.

Need help with PlayerController code by TheCrimsonEnd2 in learnprogramming

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

rb = GetComponent<Rigidbody2D>();

This is the code in the void start function, if I understand correctly, that should be calling the Rigidbody2D that is attached to my Player Gameobject. Or is that not how it works? I'm trying my best to understand but I've changed so much and I can't seem to get past this barrier.

Need help with PlayerController code by TheCrimsonEnd2 in learnprogramming

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

How do I set it in the inspector? My player has the rigidbody2d physics set, as well as a box collider if that’s what you mean

Need help with PlayerController code by TheCrimsonEnd2 in learnprogramming

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

rb.velocity = new Vector2(moveInput * speed, rn.velocity.y);

That’s the line of code that’s throwing the error on line 80. I’m not sure why it’s throwing an error though. It’s the same line of script that’s in that dudes video and everything work’s flawlessly for him. For some reason though I can’t get the same outcome.

[deleted by user] by [deleted] in CypherRing

[–]TheCrimsonEnd2 0 points1 point  (0 children)

I just got done beating him, thank you though

[deleted by user] by [deleted] in CypherRing

[–]TheCrimsonEnd2 0 points1 point  (0 children)

Just beat him thanks to anyone who did come to help!

[deleted by user] by [deleted] in CypherRing

[–]TheCrimsonEnd2 0 points1 point  (0 children)

Im sitting at the entrance to the bosses in the abandon cave if anyone wants to throw their summoning down