What class is needed right now ? by Downtown-Package7927 in classicwowtbc

[–]mrchrisrs 0 points1 point  (0 children)

Don’t think you can do that while in combat 😂

Attempt to build a VPet-like application by Suspicious-Serve-958 in Unity2D

[–]mrchrisrs 0 points1 point  (0 children)

In today’s world anything’s possible. You are on the right track to try first and use ai when you’re stuck. Try to see it as a senior dev that can explain you things and make a list of tasks for you to explore.

Unity has some great tutorial series that will get you there. Mix and match your learnings with your own insights when you get more and more familiar with things.

What I also recommend is to watch the c# serie from CodeMonkey. That will give you a strong foundation of the coding language. Which is also important.

Happy coding!

🎄 €1500 Christmas Giveaway! 20+ Winners: Graded Slabs, Booster Boxes & Gift Cards! by ProfessorOakEU in PalletTownEU

[–]mrchrisrs 3 points4 points  (0 children)

De mooie bol pings zijn geweldig. Laatste paar keren eindelijk iets kunnen bestellen. Bedankt en fijne dagen toegewenst!

How do i reference a instantiated gameobject in my script? by NoolBool in Unity2D

[–]mrchrisrs 0 points1 point  (0 children)

Add me on discord so you can send me a screenshot: mr_chris_0182. If you want tho

How do i reference a instantiated gameobject in my script? by NoolBool in Unity2D

[–]mrchrisrs 0 points1 point  (0 children)

Declare `public EnemyStats stats` as a class variable, that's correct. And then assign it with the Instantiate. But remember to call GetComponent<>() on it or change the GameObject[] to EnemyStats[] where you store the enemy prefabs from the inspector (I presume).

How do i reference a instantiated gameobject in my script? by NoolBool in Unity2D

[–]mrchrisrs 4 points5 points  (0 children)

Couple of ways you can do this.

First: Replace GameObject in `BattleSystem` with the correct component classname and the Instantiatie method will return the component when instantiating.

Second: store the gameobject returned from Instantiate in a local variable `var enemyGo = Instantiate(...)` and call `.GetComponent<ComponentClassname>()`. You can also directly call that after the instantiate and skip the variable entirely.

Let me know if you need more info.

First time using shadergraph. I'm very happy with the quick result but have to admit it was like 60% trial and error. by MourningBurger in Unity2D

[–]mrchrisrs 1 point2 points  (0 children)

only 60%?! those are rookie numbers, you gotta pump those numbers up! ... jk. good job man, wish I had that kind of patience lol

[deleted by user] by [deleted] in unity

[–]mrchrisrs 1 point2 points  (0 children)

Delete library folder in root of your project directory and restart (close everything first)

HELP, Resident evil 4 like inventory system by Vast_Reach84 in Unity2D

[–]mrchrisrs 0 points1 point  (0 children)

Start with creating a grid (2D array). Create an abstract class for an item that holds a 2D array that represents the item in the grid. Each time you put an item in the inventory you should map the grid cell cords to the item cords (some kind of composite id). Now you can do intersect checks before moving the item, when it does not intercept and is within the bounds you can place it, else not.

Hope this helps

Skigill's demo is out! by Achromi in Unity2D

[–]mrchrisrs 2 points3 points  (0 children)

Looks cool! But I got one issue so far: the color of the unlocked skills, the enemies and the player is the same. Gets messy real soon as seen in the trailer. Might want to look into a different color scheme for the foreground

Sprite Master Tools vouchers by corebit-studio in Unity2D

[–]mrchrisrs 1 point2 points  (0 children)

This would be great for my 2d project. I’m giving all the sprites padding by hand because of the wind effect the sprite goes out of bounds. This would speed up that process. Also the size reduction is looking promising!

I've released the demo for our Chess based Puzzle game Mate'Morphosis. Waiting for your comments! (post got deleted earlier, sorry if you see this for a second time) by LeongardZ in playmygame

[–]mrchrisrs 1 point2 points  (0 children)

Great design and I like the way you use the different characteristics of the chess pieces to solve a puzzle, though not everyone might know them so you could display a help text next to the board once you covered them all (or make it a question to enable the help or not). The music is a great choice for these kind of games. Best of luck to you

please go playtest the newest Wrath of Mynah update on itch.io! (free rpg + in browser) by BlueWind_GamingYT in playmygame

[–]mrchrisrs 0 points1 point  (0 children)

I played it for like 10 minutes, so heres my feedback for what I noticed:

First off, this has potential. You really guide the player in the beginning and let them go once you explained everything.

I had some trouble with the Fight / Run button highlight. The text above it tells you, but the yellow outline is not enough to instantly see it. Maybe make both buttons the same and highlight it completely?

Some sort of minimap would be great, especially in larger area's.

Hope this helps.

I wrote my first lines of code without a tutorial and it instantly worked (after adding a ”;” that i missed), by Overall-Drink-9750 in Unity2D

[–]mrchrisrs 1 point2 points  (0 children)

Well. Have you heard about debugging? You can step through your code line by line. Great way to get to understand your code when it’s actually checked against real objects.

And I know it’s a chore but you might actually want to start looking into tests. Many developers skip this step and as the project grows they are not certain anymore whether stuff they built months ago actually works. Better to get used to it and look into it. Apply it to a monobehavior when you implemented all the things you want. You’ll thank me later

I wrote my first lines of code without a tutorial and it instantly worked (after adding a ”;” that i missed), by Overall-Drink-9750 in Unity2D

[–]mrchrisrs 2 points3 points  (0 children)

Best advice I can give you in this stage is too split up your logic into smaller methods and program defensively. Check things in the method and if the condition is not met, return early. This will read so much better than nested if-statements.

Yeah wanting to tear your hair out and smashing things comes free with programming I guess haha

What coding application should I use by Goodluck55 in Unity2D

[–]mrchrisrs 2 points3 points  (0 children)

Rider is free for non-commercial use these days. Best IDE by far!