#character2d
For some reason, it would let me extend from the resource into a Character2D if the base node for the resource was also a Character2D, but not otherwise.

Found out that you don't generally make them off of nodes anyhow. No idea why it worked, and clearly not intended.
January 13, 2025 at 3:07 PM
Oddly enough, I made the base node a Character2D node, without any of the sub nodes it needs to work, added a script, gave it a class name and told it to expand Resource... and it worked.

Clearly not as intended, so gonna keep working on the right way and intent, but still.
January 12, 2025 at 1:10 PM
Check my understanding: I can make a resource with the base stats all of them need. I can then make sub-resources for any special stats (such as I might need for flying enemies). Finally, I extend to an actual Character2D to make the mob with animations and the like.
January 11, 2025 at 10:37 PM
:<D guess who got to understand this stuff

So yes nodes are classes that are built of more classes on top of each other

Character2D if I am not wrong is node (the signal pure basic stuff) then node2D (manages position in 2D and maybe physics) then character2D who uses the previous to character2D
February 8, 2026 at 3:45 PM
Hi, everyone. Between one thing and another, it's been a long time since I last posted here. These are a couple of recent character concepts.

#characterdesign #characterconcept #character2d #originalcharacter #conceptart
October 5, 2025 at 4:03 PM
this is saki, did you like it?
#art
#character2d
September 7, 2024 at 5:56 PM
eu ia mandar esse desenho la no twitter mas na hora q fui mandar, infelizmente acabei mamando e n consegui postar, ent ta ai
#desenhodigital
#desenho
#artdigital
#oc
#vtuber
#art
#character2d
September 2, 2024 at 11:40 PM
Fog_of_wars not launch
### Godot Version `4.3 ### Question 0 error / scene work i can play but code fog of war is not activate hello today more complicated problem for me being new to code I have a Characterbody2D in a scene for settings and I just need to import the Character2D into the game scene I want, in my dungeon scene I have a none2D /tilemap/character2D and a 2D sprite (fog of wars) I have no errors I saved every path every frame the game launches but no area is revealed when I walk in the black area fog of war code extends Sprite2D @export var fog_texture: Texture2D @export var reveal_radius: int = 100 @export var grid_size: int = 16 var fog_image: Image var fog_texture_instance: ImageTexture var reveal_mask: Image func _ready(): # Initialisation de la texture du brouillard if fog_texture: fog_image = fog_texture.get_image().duplicate() # Duplique l'image pour modification fog_image.convert(Image.FORMAT_RGBA8) # Assurez-vous que le format est correct fog_texture_instance = ImageTexture.create_from_image(fog_image) texture = fog_texture_instance print("Fog initialized with size: ", fog_image.get_size()) else: push_error("Fog texture is not assigned in the inspector!") # Chargez la texture de révélation (cercle blanc) var reveal_mask_path = "res://reveal_map/reveal_map.png" if FileAccess.file_exists(reveal_mask_path): reveal_mask = load(reveal_mask_path).get_image() reveal_mask.convert(Image.FORMAT_RGBA8) # Assurez-vous qu'il correspond au brouillard print("Reveal mask loaded successfully with size: ", reveal_mask.get_size()) else: push_error("Reveal mask not found at path: " + reveal_mask_path) func reveal_at_position(position: Vector2): if fog_image and reveal_mask: # Convertir la position du joueur en position dans le brouillard var grid_position = position / float(grid_size) # Division flottante var reveal_rect = Rect2(Vector2.ZERO, reveal_mask.get_size()) var fog_rect = Rect2(grid_position - Vector2(reveal_mask.get_width() / 2, reveal_mask.get_height() / 2), reveal_mask.get_size()) # Appliquer le masque de révélation sur le brouillard fog_image.blit_rect(reveal_mask, reveal_rect, fog_rect.position) # Mettre à jour la texture du brouillard fog_texture_instance = ImageTexture.create_from_image(fog_image) texture = fog_texture_instance else: push_error("Fog image or reveal mask is not initialized!") code characterbody2D extends CharacterBody2D @export var max_health: int = 100 var current_health: int = max_health const MAX_HEALTH = 5 var health: int = MAX_HEALTH @export var speed_run: float = 80.0 @export var speed: float = 35.0 @onready var fog: Sprite2D = null @onready var animation: AnimationPlayer = $AnimationPlayer func _ready() -> void: # Initialisation de l'UI update_health_ui() set_health_label() $healthbar.max_value = MAX_HEALTH set_health_bar() # Recherche du fog var fog_path = "Node2D/fog" # Adaptez ce chemin selon votre hiérarchie fog = get_tree().get_root().get_node(fog_path) if fog == null: push_error("Fog instance is null! Check the node path: " + fog_path) else: print("Fog instance loaded successfully.") func update_health_ui(): set_health_bar() func set_health_label(): $healthlabel.text = "Health: %s" % health func set_health_bar(): $healthbar.value = health func _input(event: InputEvent) -> void: if event.is_action_pressed("damage"): damage() func damage(): health -= 1 if health < 0: health = MAX_HEALTH set_health_label() set_health_bar() update_health_ui() func _physics_process(delta: float) -> void: handle_input() move_and_slide() update_animation() # Révéler autour du joueur if fog: fog.reveal_at_position(global_position) func handle_input() -> void: var move_direction = Input.get_vector("left", "right", "up", "down") velocity = move_direction * speed # Gestion des animations func update_animation() -> void: if velocity.length() == 0: animation.stop() else: var direction = "down" if velocity.x < 0: direction = "left" elif velocity.x > 0: direction = "right" elif velocity.y < 0: direction = "up" animation.play("walk" + direction) fF.png) thank you ^^^
forum.godotengine.org
January 24, 2025 at 8:57 AM
#gamedev
For today :
- Character2D with animated character.
- Timer with relocation + event
- Repeat pattern for Sprite2D
Nothing fancy but it was made in 1h30 🐱
- Bomb is relocation ouside screen (Better than queue free)
- Block is delete when bomb is at blast radius
I'm good for tonight 😪
June 25, 2025 at 9:21 PM
The only reason I do not want to use a controller3D on a character2D is that the signatures are different and character2D should not expect a 3D controller. I could make a character 2.5D that takes both or just a controller3D if I wanted to go that way meow. Yeah I think too much.
October 7, 2025 at 3:04 AM
Also if I want to view the 3d world as 2d, I could use the controller 3D and have the character2d accept any controller and just switch the camera. I guess I could have the character3D have 2d elements, but I feel it be messier to handle instead of two different objects sharing a position.
October 7, 2025 at 3:04 AM
Yeah I am a really lazy cat. I should try to clean up the Character2d to export to github, but there a lot of components I would need to check (save state is good, movement, brain, and controller components still need to be checked and explain but should be good. Animation I might be able to ignore)
May 2, 2025 at 1:53 AM
Alos random, I last night I made it so the character animation is loaded from the character state of the controlled character (I extended the character2d to entity today so that logic is not included since it depends on a whole different system). Yeah random meow.
December 11, 2024 at 12:59 AM
Nuevo post de Momo Ayase en dos versiones: 2D / 3D 👽

#dandadan #3dart #artist3d #characterart #blender #character2d #character3d #fanart #momoayase
November 15, 2024 at 5:03 PM
Every rigidbody has a base script with a method that handles collisions with Character2D objects. This method applies an impulse to the rigidbody
July 28, 2025 at 8:57 AM
ok, in #godot how does a character2d node interact with an area2d? im trying to figure this out but ive been making no progress all day
August 5, 2025 at 7:48 PM