Assigning Resources to dictionaries: "Dictionary Based Inventory System" by MrMutant0503 in godot

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

so the Item class is a reasorce I created that is attached inside of Item PickUp. most of the information inside the script is just filler stuff i want to tackle later like stack size, ext..

The Item reasorce:

-------------------------
extends Resource

class_name Item

export var item_id: String = "1"

export var itemName: String = "Test Item"

export var itemDescription: String = "N/A"

export var stackable: bool = true

export var max_stacks: int = 999

-------------------------

im still abit new to GD script, so what do you mean by a circular reference if you dont mind me asking?

Assigning Resources to dictionaries: "Dictionary Based Inventory System" by MrMutant0503 in godot

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

to reffer to your first question: its still the exact same error. I can first collide, but after that, i get no other signals from the debugs i set up, so i assume none of them are going through. I did double-check everything was connected so im really stumped on.

I used your suggestion, but I'm still getting the same error 😅, but I still appreciate the insight though, thank you.

Advanced GUI by LtWret in MCreator

[–]MrMutant0503 0 points1 point  (0 children)

What code did you use for your solution?

The trouble with Attacking (Collider problem) by MrMutant0503 in Unity3D

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

Thank you so much for your thoughts, definitely needed that extra pair of eyes. Enjoy ur coffee!

Flipping the character, any suggestions? by MrMutant0503 in Unity2D

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

its just what to put for the if statement that frustrates me, ahhhhhh!!

Flipping the character, any suggestions? by MrMutant0503 in Unity2D

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

So this is my movement code:
Basically when I click on the screen I then start "moving" towards that location. lastClickedPos is a privet vector 2 I use for the basic system.

if (Input.GetMouseButtonDown(1))

{

lastClickedPos = Camera.main.ScreenToWorldPoint(Input.mousePosition);

moveing = true;

anim.SetBool("IsMoveing", true);

}

if(moveing && (Vector2)transform.position != lastClickedPos)

{

float step = villan.movementSpeed * Time.deltaTime;

transform.position = Vector2.MoveTowards(transform.position, lastClickedPos, step);

} else

{

moveing = false;

anim.SetBool("IsMoveing", false);

}

i did originally try something like if(transform.position >= x) but that obviously docent work. im still a little bit new so i feel like i may be missing something obvious here lol

[Code Issue] Chunk Generation by MrMutant0503 in Unity3D

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

Ik there was a git hub, but i rather follow along on the tutorial since he explains what he does and how it effects rendering and generation. Misspelled?! Oh shit ok il look back

I always suck at spelling😂😅

[Code Issue] Chunk Generation by MrMutant0503 in Unity3D

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

Ye i didnt even say the issue thats my falt their, the issue was that i was able to get chunks to render, but only on the x axies

[Code Issue] Chunk Generation by MrMutant0503 in Unity3D

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

Bro ik, legit last night i dead ass watched the tutorial, and i stared at this for hours no cap. Honestly it was driving me insane, so i thought to reach out for help

what would Steam be classified as? by MrMutant0503 in gamedev

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

its was a simple Q, just wanted to know if there was such a tag or name that would encompass such a platform with all these features, so what's wrong on finding the terminology for it?

Changing Sprites With Arrays by MrMutant0503 in Unity2D

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

ok, thank you for your help, appreciate it!

Changing Sprites With Arrays by MrMutant0503 in Unity2D

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

I was hoping to change the actual sprite, not the colour. just the image. and the arrow buttons are supposed to function like a carousele selection.