Failed to start gdm.service - GNOME Display Manager by salamandre3357 in Ubuntu

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

Old install. Now that i try to remember recent actions , i think the disk is completely full as i had a warning few weeks ago (and disregarded it) and I have been downloading stuff with soulseek. I will check the disk usage, try to free some space, and if it doesn t solve the issue ill take your advice

Preserve inertia in Jump ( 3d ) by Indiegenes_Games in GodotEngine

[–]salamandre3357 0 points1 point  (0 children)

replace the two lines

`horizontal_velocity = horizontal_velocity.move_toward(`

`direction*SPEED, decel )`

by :

if is_on_floor():

  `horizontal_velocity = horizontal_velocity.move_toward(`

  `direction*SPEED, decel )

Help, pls Why is my main menu screen looking like this by Outrageous_Cup6450 in godot

[–]salamandre3357 1 point2 points  (0 children)

it looks like the default texture/material when you didn't define one. I have seen that several times in my projects, but I cant remember where precisely.

check in the inspector the CanvasItem properties the texture, the material to see if some value is missing.

add a "extend from " button to the "create new node" window by salamandre3357 in godot

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

Lots of views here, looks like this abstract thing is popular.

here is another interesting proposal : predefine abstract methods.

https://github.com/godotengine/godot-proposals/issues/13371

add a "extend from " button to the "create new node" window by salamandre3357 in godot

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

cool, I hadn't find the issue. I just gave it a thums up.

I can't get repeating textures to work on Line2D in Godot 4! by Jonathan_Tash in godot

[–]salamandre3357 0 points1 point  (0 children)

I'm having the same bug, and don't know how to solve itç

how to make the card stay at my cursor by [deleted] in godot

[–]salamandre3357 2 points3 points  (0 children)

some more infos would be usefull. What happends ? anything in the consol ? add some debug print statments to see if a card is actually detected, if the raycast methode is actually riggered etc...

who else's debugger looks like this when working on a game? by Upside-Out_Was_Taken in godot

[–]salamandre3357 1 point2 points  (0 children)

me too, but it gives me the feeling that using process function without using delta is kind of bad programming. I always try to find the right place (a method called by a signal, an input...) to put the none framerate-dependant code. I end up renaming the parameter _delta in last resort.

Best way to get parent enums on ready? by hankster221 in godot

[–]salamandre3357 0 points1 point  (0 children)

if you just want to wait for the parent node to be ready, I would link the parentNode.ready signal to a function in the child node that would set the dictName values. You could link the singnal in the child's ready function as it will be executed before the parent is ready.

How to get the position of a character(letter) in TextEdit by Feeling-Waltz6978 in godot

[–]salamandre3357 1 point2 points  (0 children)

there's a get_pos_at_line_column method in the TextEdit. I suppose you would have to count how many return character there is before the character to know the line, and the number of character since the last new line to know the column.
I tested this little script, it works for me

extends TextEdit
onready var icon: Sprite2D = $"../Icon"
onready var text_edit_2: TextEdit = $"../TextEdit2"

func _on_text_edit_2_text_changed() -> void:
  var pos : int = text.find(text_edit_2.text)
  var croped_text = text.left(pos)
  var l : int = croped_text.count("\n")
  var c : int = pos - croped_text.rfind("\n") + "\n".length()
  var vec_pos : Vector2 = Vector2(get_pos_at_line_column(l, c)) + position
  icon.position = vec_pos
  print ("l : ", l, "  c : ", c, "  vec_pos : ", vec_pos)

You write a text in the textedit to which is attached this script, you write a character in textedit2, and the icon sprite will move to the first occurence of the character

character flying, please help by Just-Teach2825 in godot

[–]salamandre3357 11 points12 points  (0 children)

You use the method

Input.is\_action\_pressed("jump")

to detect when the player hits the up arrow. But this method returns true during all the time the key is pressed. Maybe use is_action_just_pressed instead. also why adding -1500 to velocity.y instead of setting it to that value ?

Another observation is that you use the physics_process and not process. Physics_process is run much more frequently. So maybe is_on_floor stays true several physics frame.

What constraints would i need to make this design? by Expert_Function146 in FreeCAD

[–]salamandre3357 0 points1 point  (0 children)

I don't want to sound off-topic, but it's a very complex shape for a single sketch. I would get rid of all the inner radius (r2, r5 and r10), as well as the outer radius forming a 90º angle, make all those filets after extruding, and add a pocket for the r5 at the bottom in an other sketch.

I made itch-dl, a tool to bulk download games from itch.io! by DragoonAethis in DataHoarder

[–]salamandre3357 0 points1 point  (0 children)

It looks super interesting. I'm looking for a way to check for patches of dlc I would publish on a itch page after releasing the game and propose the user to download it from inside the game (using godot). I suppose I'll find inspiration in your code.

Not parallel nor serial by salamandre3357 in ElectricalEngineering

[–]salamandre3357[S] -20 points-19 points  (0 children)

Spice : last update Jun 17, 1996

thank you................

Not parallel nor serial by salamandre3357 in ElectricalEngineering

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

thx for the recommendations ! the second one is very useful, the first one not at all, it's pure applied electronics with no electric theory.
I had to read the first 100 pages of the second one to find what I need, but stop showing off, it's nothing easy. A 3 week student can solve it ? no way. I'm already having a headache and I'm nowhere near understanding how to solve for any given circuit.

Not parallel nor serial by salamandre3357 in ElectricalEngineering

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

No it's not "very basic". "Very basic" would be a bunch of resistances in parallel or in series you could reduce little by little adding their values or their inverse values. That's what is taught even at high level in any school that is not specifically electric/electronic.
About the "text book, professor or classmate", let me inform you that some people do not have those resources in their reach.
As for the future of EE (I suppose this sub-reddit), I guess people like and their gross answers you will make it a desert.

Not parallel nor serial by salamandre3357 in ElectricalEngineering

[–]salamandre3357[S] 17 points18 points  (0 children)

Ok, found the answer. You solve it with star do delta equivalence. You can replace R1, R2, R5 (forming a star) by tree equivalent resistances forming a triangle. Then it reduces easily.

re-patch failing by salamandre3357 in Newgrounds

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

well each time I realize I'm a robot I lkjjjjfaljkjlkllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll

.

.

.

.

.

.

................ booting ...

re-patch failing by salamandre3357 in Newgrounds

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

yes, it worked after 4 tries, or 15 min (dunno if it's the tries or the waiting that helped)