A downloadable tool

Download NowName your own price

allows you to easily log and graph information about objects in godot

(ridiculous over the top title animation by MV_Raffa)

recommended: get the source from github for the latest version: https://github.com/GuyUnger/HyperLog


examples

our space-ship has the the following variables:

var position = Vector2(10.241, 282.2035)
var direction = Vector2(-1, 0)
var angle = 1.570796
var health_current = 8
var health_max = 12


now we can log this information in different ways

log(ship).text("position:x>round")

will display the text: position:x 10 

log(ship).text("position>%0.2f")

will display the text: position (10.24, 282.20)

log(ship).text("direction>angle")

will display the text: direction 3.141593

log(ship).graph("position")

will graph out the x and y position of the ship

log(ship).angle(["direction", "angle"])

will make an angle-log of the direction and angle

log(ship).angle("rotation", ship.get_node("gun"))

will log the rotation of the ship's gun to the panel of the ship

log(ship).offset(Vector2(200, -20))

will offset the panel with (200, -20)

log(ship).align(HALIGN_RIGHT, VALIGN_CENTER)

will align the panel to the right horizontally and to the center vertically

log(ship).align(HALIGN_CENTER, VALIGN_BOTTOM).offset(Vector2(0, - 50)).graph("health_current").set_range(0, health_max)

will display a health graph above the ship

bonus! there are some drawing tools, for example

HyperLog.sketch_arrow(position, direction)


recommended: get the source from github for the latest version: https://github.com/GuyUnger/HyperLog 

StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorGuy Unger

Download

Download NowName your own price

Click download now to get access to the following files:

hyperlog.zip 12 kB

Comments

Log in with itch.io to leave a comment.

what game is that?

Any chances of having it for Godot 4?

(+1)

In case it makes it more visible to you than on the GitHub tracker, I’ll say it here. Please add a license.

The way the law works, we’re not legally allowed to do anything but look at the code on GitHub (and only thanks to what you agreed to in GitHub’s Terms of Service) unless you give it a license.

Any instructions on using this plugin? It looks great!