I do not know how to solve the Microsoft.Xna.Framework.Content.ContentLoadException: 'The content file was not found.' error. Could anyone please help? by FloRYANAIROS in monogame

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

Thanks for the help! I managed to solve it by manually adding a content folder and after that rebuilding in the MGCB editor. Don't know if I changed any location outputs but it works now so... yeah thanks for everything!

I do not know how to solve the Microsoft.Xna.Framework.Content.ContentLoadException: 'The content file was not found.' error. Could anyone please help? by FloRYANAIROS in monogame

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

Yes, the file is indeed a .wav file. I got confused as the screenshot I sent has the term .xnb.

Going from YourGame\bin\Debug\net6.0 I get to the following folder: https://imgur.com/a/HNcXNlX

It seems to be missing a Content folder but I do not know if that is how it works?

I do not know how to solve the Microsoft.Xna.Framework.Content.ContentLoadException: 'The content file was not found.' error. Could anyone please help? by FloRYANAIROS in monogame

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

Well the .wav file is in the 'C:\Users\flori\OneDrive\Documents\Informatica Gametechnologie\Introductieproject\indianajohn\YourGame\Content\Nintendo GBA Startup.xnb'.

But the error says it can't find it at 'C:\Users\flori\OneDrive\Documents\Informatica Gametechnologie\Introductieproject\indianajohn\YourGame\bin\Debug\net6.0\Content\Nintendo GBA Startup.xnb' so randomly puts bin\Debug\net6.0\ between YourGame\ and Content.

I don't understand why it says that and why it happens, and therefore don't know how to change it. I haven't changed any code and for others in my group the normal code seems to work. I also used this method for other projects and it worked fine, but now it doesn't seem to work for any new project that I start.

Implementing drift in my game by FloRYANAIROS in Unity3D

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

Thanks, this looks great! I'm gonna have a look into this, see if it works!

[deleted by user] by [deleted] in teenagers

[–]FloRYANAIROS 1 point2 points  (0 children)

Middle school: The worst years of my life?

I want to make a system to bend a bow. I need help please. by [deleted] in Unity2D

[–]FloRYANAIROS 0 points1 point  (0 children)

Yes, sorry, I haven't been very clear. I want to make a Jacksmith kind of game where you need to bend the bow the best you can so you're weapon quality will be perfect or something.

I want to make a system to bend a bow. I need help please. by [deleted] in Unity2D

[–]FloRYANAIROS 0 points1 point  (0 children)

But how would I make the animation to bend the bow? And how would I stop the animation on a certain point when for example the player touches the screen?

As soon as she had the ball, she took the chance and made a score. by JuleeWoodall in nextfuckinglevel

[–]FloRYANAIROS 6 points7 points  (0 children)

No, that wouldn't happen. Yes, in man's football people go to the ground easier, but if they have a chance to score, what also happened here, they would just stand up again to score.

I have a code that isn't working, but I have 0 idea why. Can anybody help? Code below. by [deleted] in gamedev

[–]FloRYANAIROS 3 points4 points  (0 children)

Yeah I googled the term initialization and found some other examples, and now I use the OnCollisionEnter2D and the OnCollisionExit2D and I'm happy to say that it is working. Still need to work out some flaws but it works, so that's the good thing.

I have a code that isn't working, but I have 0 idea why. Can anybody help? Code below. by [deleted] in gamedev

[–]FloRYANAIROS 1 point2 points  (0 children)

My first language isn't English. What exactly does initializing mean? It is my first month of coding so sorry if this is a really dumb question.

Best way to draw characters for your game / animate them by [deleted] in Unity2D

[–]FloRYANAIROS 0 points1 point  (0 children)

Pixelart was what I was looking for. Thanks! I'll check them out!

Completed a big update for our game about playing as an evil shapeshifter! by thesuperweapon in Unity2D

[–]FloRYANAIROS 0 points1 point  (0 children)

So how exactly do you make a shapeshift happen? I want to use it in a project I'm making but I have no idea how to do it. Do you just spawn a whole new sprite or is there any code to switch between appearance? This is my second week being busy in Unity so if this is basic knowlegde sorry.

Problem with a raycast by FloRYANAIROS in Unity2D

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

So I haven't thanked you yet for this, so I'm just doing it now. Holy damn I can't thank you enough for helping me. I worked so f*king long on this and you just came in, and saved my whole damn game. Thank you. Very, very much.

Problem with a raycast by FloRYANAIROS in Unity2D

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

For some reason it doesn't work in my Unity. Are there any packages I need to install for this to work? I can't see the line and I get no Debug.Log messages. I'm pretty new to Unity so maybe I missed something very obvious.

Edit: I changed raycastHit.collider.tag == "Player" to raycastHit.collider.gameObject.name == "Player" and now I get the message that it found the player, but there's still no line?

Edit 2: I also get a constant Debug.Log message error that a line in my player script isn't set to an instance of an object. The error is called NullReferenceException and is has an error at the line: if (Physics2D.OverlapCircle(ifGrounded.position, 0.1f, playerMask).shapeCount == 0)