Skip to content

Helpful functions

Charles edited this page Jun 7, 2026 · 6 revisions

Introduction

Have you ever searched the Godot docs looking for a function and thinking "surely there has to be a function to..." only to not find what you're looking for? ProtoJam comes packed with a variety of commonly needed static functions to help fill that gap, including:

  • Graceful shutdown
  • Framerate independent lerps
  • Time formatting
  • and more...

Using BaseUtils

🚧 WIP

  • get_or_create
  • filterd
  • remove_all

Using NodeUtils

🚧 WIP

  • quit_gracefully
  • get_tree
  • connect_descendant_signal
  • focus_first_available

Using PhysicsUtils

🚧 WIP

  • is_on_floor

Using RandomUtils

🚧 WIP

  • pick_random

Using TimeUtils

🚧 WIP

  • framerate_aware_lerp_weight
  • minutes_to_millis
  • seconds_to_millis
  • minutes_to_centis
  • seconds_to_centis
  • millis_to_centis
  • millis_to_minutes
  • millis_to_seconds
  • centis_to_minutes
  • centis_to_seconds
  • format_stopwatch

Clone this wiki locally