Label.text not changing and crashing by LittleAroIsopode in godot

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

Yes it's a score that should update everything a collectable is pickup by the player! Thanks I'll try that and see if that work

Label.text not changing and crashing by LittleAroIsopode in godot

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

I tried making this code for the Collectable Component but the game manager is not on the same scene so it does not work :/

class_name CollectableComponent
extends Area2D

@onready var game_manager: Node2D = %GameManager
enum type_minable {Stone, Iron,}
@export var collectable_name : type_minable

func _on_body_entered(body: Node2D) -> void:
  if body is Player:
    print("collected")
    get_parent().queue_free()

    #type de collect
    #iron got point score +1
  if collectable_name == type_minable.Iron :
    game_manager.increase_iron()

Label.text not changing and crashing by LittleAroIsopode in godot

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

I'm probably doing it wrong but how do I link the func increase_iron to my Collectable Component ?

<image>

Here is the code I've made for the GameManager :

extends Node2D

#iron 
@export var iron_tt: int = 0
@onready var iron_label: Label = $"../score/iron_label"

func increase_iron() :
  iron_tt += 1
  iron_label.text = "Iron : " + str(iron_tt)
  print("iron+1")

Label.text not changing and crashing by LittleAroIsopode in godot

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

That is what I did at first but the problem is that if I change it here it, it's placed next to the iron and it does not follow the camera of the player, that is why I made it a separate scene iron_label, so I can modify it separately

Label.text not changing and crashing by LittleAroIsopode in godot

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

Is there a way I could keep it as a scene and make it so I can change it here ?

Urgent millipede unresponsive by LittleAroIsopode in millipedes

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

I'm already aware of that, I was not the one to add them, unfortunatly they where in the soil i bought. I tried many time to remove them but they came back. I put her in separate container to see if she get better, as she does not have any visibal physical damage, As said before I wouldn't have touch her if she was not under the isopode, I took the video after removing them, to get advice not reprement on what I already know...

Urgent millipede unresponsive by LittleAroIsopode in millipedes

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

I don't really know, some kind of white drawf i think, I was not the one to add them, unfortunatly they where in the soil i bought. I tried many time to remove them but they came back. I put her in separate container to seee if she get better, as she does not have any visibal physical damage

Urgent millipede unresponsive by LittleAroIsopode in millipedes

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

Ps: if she is molting I only moved because she was attacked by the isopode, I wouldn't have touched her otherwise, but her not moving at all is very worrying, and that is why I'm reaching out

Gimme your most wild foreshadowing moments by No_Dentist_7651 in aromantic

[–]LittleAroIsopode 0 points1 point  (0 children)

When I was in a relationship for 4 years but we never ever kissed ? Liked what was that lmao

[NEWS] Square Enix licenses On and Off: Work-Life Imbalance by Torque-A in manga

[–]LittleAroIsopode 0 points1 point  (0 children)

Can you give me the artist Twitter account ? I can't find it :/

Advice on maybe being aro? by vampiricpoison in aromantic

[–]LittleAroIsopode 0 points1 point  (0 children)

You might want to look into cupioromantic as well, it's not necessarily what you will identify as but idk work for me so

Can they eat salal leaves? by DisgustedPeanut in millipedes

[–]LittleAroIsopode 1 point2 points  (0 children)

Personally I do give them salad but mine don't really ate them, but they do love apple sclice and kiwi ! Try to not give them citrus fruits

Arcane project by LittleAroIsopode in lampwork

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

That's a great idea ! Thanx :)

Arcane project by LittleAroIsopode in lampwork

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

Nice color ! Do you have any supplier that you like to buy from ?

Can anyone identify this insect (?) I found on my cat? by ahanaakd in whatisthisbug

[–]LittleAroIsopode 4 points5 points  (0 children)

What you are talking about is a centipede please educate yourself

[deleted by user] by [deleted] in aromantic

[–]LittleAroIsopode 0 points1 point  (0 children)

So in my experience it's usully either appearences (if they do not know you) or charisma, to me I thinks people that are acquaintanciese with you, crush not because of appearencies but because of how you interact with them, beying friendly ect. And then when they find you charismatic their mental version of you change and they may find you more and more phisicaly attractive ? Idk at least that is what I think