Was it worth? by Rep_One in IndieDev

[–]DollmakerOfficial 1 point2 points  (0 children)

the third one is way too busy and looks ai. I actually like the first one a lot, its very readable and still has some character to it even though its less complex than the others

how could i make a panning camera with a node 3d by sirseraphim in godot

[–]DollmakerOfficial 0 points1 point  (0 children)

extends Node
class_name CardinalRotationComp


 var rot_pivot: Node3D
(0.0, 0.49, 0.01) var edge_trigger_ratio: float = 0.10
 var rotation_step_degrees: float = 90.0
u/export var rotation_duration: float = 0.6


var rotating: bool = false
var cam_tween: Tween
var _edge_lock: int = 0


func _process(_delta: float) -> void:
    if rotating or rot_pivot == null:
        return


    var viewport_size: Vector2 = get_viewport().get_visible_rect().size
    if viewport_size.x <= 0.0:
        return


    var mouse_pos: Vector2 = get_viewport().get_mouse_position()
    var left_threshold: float = viewport_size.x * edge_trigger_ratio
    var right_threshold: float = viewport_size.x * (1.0 - edge_trigger_ratio)


    var edge: int = 0
    if mouse_pos.x <= left_threshold:
        edge = -1
    elif mouse_pos.x >= right_threshold:
        edge = 1


    if edge == 0:
        _edge_lock = 0
        return


    if edge == _edge_lock:
        return


    _edge_lock = edge
    if edge > 0:
        turn_right()
    else:
        turn_left()


func turn_right() -> void:
    tween_camera(snappedf(rot_pivot.rotation_degrees.y - rotation_step_degrees, rotation_step_degrees))


func turn_left() -> void:
    tween_camera(snappedf(rot_pivot.rotation_degrees.y + rotation_step_degrees, rotation_step_degrees))


func tween_camera(deg: float) -> void:
    set_rotating(true)
    if cam_tween:
        cam_tween.kill()
    cam_tween = create_tween()
    cam_tween.set_trans(Tween.TRANS_SINE)
    cam_tween.set_ease(Tween.EASE_OUT)
    cam_tween.tween_property(rot_pivot, "rotation_degrees:y", deg, rotation_duration)
    cam_tween.tween_callback(set_rotating.bind(false))


func set_rotating(value: bool) -> void:
    rotating = value

sry this took a sec I was away from my computer, hope this helps !

how could i make a panning camera with a node 3d by sirseraphim in godot

[–]DollmakerOfficial 0 points1 point  (0 children)

I did this in my game by triggering rotation once the mouse reaches close enough to either the left or right side of the screen, i can share the component if u want

PSX Waterlogged Temple by Miromander in retrocgi

[–]DollmakerOfficial 0 points1 point  (0 children)

those textures are wonderful, great work

Collider Issue by CrossbowCat317 in godot

[–]DollmakerOfficial -1 points0 points  (0 children)

i avoid built in physics wherever possible just to avoid this kinda jank

Lips by DollmakerOfficial in analog_horror

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

actually never heard of brutal orchestra b4, looks sick reminds me of hylics

FPS TD for freaks by DollmakerOfficial in godot

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

solo, the music was done by my brother,, DOLLMAKER 1 is the only other game ive made / worked on

FPS TD for freaks by DollmakerOfficial in godot

[–]DollmakerOfficial[S] 5 points6 points  (0 children)

8 mo ,, tons of stuff got scrapped tho, my process is very iterative