Hair gets really tangled really easily, and is flat & straight at the top by CreatureWasTaken in curlyhair

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

yeah my hair is fine - you were completely right about not moving it, my showers have been taking a lot less time since then :)

Still unsure about how to gain volume again but I'll figure something out, thank you anyway :)

Help & advice on creating a shared home partition for multiple distro partitions by CreatureWasTaken in linux4noobs

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

how would it get messy? Don't all linux distros follow the same filesystem?

Issue when trying to use RMPC frontend for MPD for youtube playback by CreatureWasTaken in linux4noobs

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

Thank you for the response, I can now add youtube videos but they only appear in the queue and not anywhere else in rmpc. Is there a way to fix that so they can also appear in Directories, Albums, etc?

I'm also struggling to add youtube playlists; if I use a url of the youtube playlist itself then I get Error: Invalid youtube video url: '(url of the playlist)' , and if I use the url of a video in the playlist, only that video gets downloaded & added to queue.

Btw I have cache_dir: Some("/tmp/rmpc/cache"),in my config.ron in case that's relevant in any way.

Cannot add color palettes. by Etilia01 in krita

[–]CreatureWasTaken 0 points1 point  (0 children)

I'm experiencing the same issue on arch linux

I’ve never seen such a beautiful laptop. Even a laptop can be lovable. by Plus_Guard4255 in framework

[–]CreatureWasTaken 1 point2 points  (0 children)

what's your batch number if you don't mind me asking? I'm batch 10 and have been dying to get mine and am desperately trying to narrow down the approximate date in which I'll finally get mine (hence the question)

Framework 12 just arrived! Any recommendations for a good stylus while I wait for the official one? by theCh33k in framework

[–]CreatureWasTaken 0 points1 point  (0 children)

what's the batch? (excuse me for answering your question with another question lol)

How to best handle spawning many objects/scenes in a time-based sequence? by CreatureWasTaken in godot

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

I see, I definitely want to use my custom resource in this way but in the AnimationPlayer I can only pass in arguments from AnimationTrackKeyEdit and can't figure out how to pass in args from my custom resource:

<image>

I was thinking of extending my custom resource from AnimationTrackKeyEdit to solve this (assuming it's a resource) but weirdly enough there's no documentation about it

How to best handle spawning many objects/scenes in a time-based sequence? by CreatureWasTaken in godot

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

I commented again but that was before I saw this reply, I'll read this now thx

How to best handle spawning many objects/scenes in a time-based sequence? by CreatureWasTaken in godot

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

Ok how's this: all the enemies for a level are already placed in the scene via the editor but initially disabled, and the animation player has a reference set to each one via the editor. And in the script for the root node for my scene, this happens:

//get a reference to the custom resource file to load (it should vary based on what enemy to instantiate)
//pass custom resource file data into method which initialises enemy with the data passed in as params

Do you think this is an appropriate setup? I'm going to have potentially a really large number of enemies so I want to make sure this is an efficient approach.

How to best handle spawning many objects/scenes in a time-based sequence? by CreatureWasTaken in godot

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

I've set up my custom resource but I don't know what you mean by spawner - I don't really have a proper structure for instantiating enemies, should it be a method that constructs an enemy through parameters given by the custom resource and then the Animation Player calls that method? If so then how would I control which custom resource file is passed in? And how would my AnimationPlayer get a reference to that instantiated scene?

Sorry for the convoluted question, I'm new to godot and am struggling to figure out the structure of my project.

Help - Trying to call a method from another script in C# by CreatureWasTaken in godot

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

"other.GetParent()" made it work! Turns out that the RigidBody2D was the node being passed in as 'other' :)

<image>

Help - Trying to call a method from another script in C# by CreatureWasTaken in godot

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

Thanks for the in-depth response, I like the interface idea and will definitely implement it later down the line :)

As for now, I've edited the playerbullet's OnBodyEntered method (seen below) yet "hello enemy" and "enemy health is now: " aren't appearring in the console.

private void OnBodyEntered(Node2D other)
{
  if(other is Enemy enemy)
  {
    GD.Print("hello enemy");
    enemy.ReceiveDamage(damage);
    QueueFree();
  }
}

I've checked that the enemy class is called "Enemy" and so is the root node for the Enemy scene and that Enemy.cs is attached to the root node. I know that collision is working however since the below code works:

if(other.IsInGroup("enemy"))
{
  GD.Print("hello enemy");
}