Skip to content

Commit

Permalink
more icons
Browse files Browse the repository at this point in the history
  • Loading branch information
krazyjakee committed Aug 10, 2023
1 parent 014aa4f commit 9aefb88
Show file tree
Hide file tree
Showing 18 changed files with 238 additions and 6 deletions.
5 changes: 5 additions & 0 deletions addons/nodot/Nodot2D.gd
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
@icon("icons/nodot.svg")
## Nodot 2D base node
class_name Nodot2D extends Node2D

## Toggle between visible and invisible
func toggle():
visible = !visible
2 changes: 2 additions & 0 deletions addons/nodot/Nodot3D.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@icon("icons/nodot.svg")
## Nodot 3D base node
class_name Nodot3D extends Node3D

## Toggle between visible and invisible
func toggle():
visible = !visible
1 change: 1 addition & 0 deletions addons/nodot/effects/Fire3D.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@tool
@icon("../icons/fire.svg")
## Creates customizable fire, smoke and spark effects
class_name Fire3D extends Node3D

Expand Down
1 change: 1 addition & 0 deletions addons/nodot/effects/Laser3D.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@tool
@icon("../icons/laser.svg")
## A raycast that also produces a laser beam
class_name Laser3D extends RayCast3D

Expand Down
13 changes: 13 additions & 0 deletions addons/nodot/icons/fire.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

importer="texture"
type="CompressedTexture2D"
uid="uid://cu75186nq7j7a"
path="res://.godot/imported/visioncone.svg-5d27a6a802246b5279e59df2127144f7.ctex"
uid="uid://cunpt0lxa7k50"
path="res://.godot/imported/fire.svg-ce4c5c7c080cf769f535b20902891bc2.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icons/visioncone.svg"
dest_files=["res://.godot/imported/visioncone.svg-5d27a6a802246b5279e59df2127144f7.ctex"]
source_file="res://addons/nodot/icons/fire.svg"
dest_files=["res://.godot/imported/fire.svg-ce4c5c7c080cf769f535b20902891bc2.ctex"]

[params]

Expand Down
39 changes: 39 additions & 0 deletions addons/nodot/icons/footsteps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions addons/nodot/icons/footsteps.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b63w6yqmrhe1i"
path="res://.godot/imported/footsteps.svg-074205c30ad02a5ed7fe5ffa85e746a1.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/nodot/icons/footsteps.svg"
dest_files=["res://.godot/imported/footsteps.svg-074205c30ad02a5ed7fe5ffa85e746a1.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
33 changes: 33 additions & 0 deletions addons/nodot/icons/laser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions addons/nodot/icons/laser.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bo0br3irg4gtu"
path="res://.godot/imported/laser.svg-2a25275bc7c54c98ff4a768c49d28594.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/nodot/icons/laser.svg"
dest_files=["res://.godot/imported/laser.svg-2a25275bc7c54c98ff4a768c49d28594.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
8 changes: 8 additions & 0 deletions addons/nodot/icons/water.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions addons/nodot/icons/water.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://ieql2uct32gh"
path="res://.godot/imported/water.svg-0fa01e94e8b44757a1e3072345a0c07c.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/nodot/icons/water.svg"
dest_files=["res://.godot/imported/water.svg-0fa01e94e8b44757a1e3072345a0c07c.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions addons/nodot/physics/WaterArea3D.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@tool
@icon("../icons/water.svg")
## An area with a water surface where the player can swim and objects can float
class_name WaterArea3D extends Area3D

Expand Down
1 change: 1 addition & 0 deletions addons/nodot/sound/FootStepSFX3D.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@tool
@icon("../icons/footsteps.svg")
## A raycast to detect the floor material and play appropriate footstep sounds.
class_name FootStepSFX extends RayCast3D

Expand Down
1 change: 1 addition & 0 deletions addons/nodot/utility/FreeTimer.gd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## A timer that can be used to queue_free a node after a certain amount of time
class_name FreeTimer extends Nodot

## Whether the FreeTimer is enabled or not
Expand Down
3 changes: 1 addition & 2 deletions scripts/generate_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ sed -i 's/\\/\//g' docs/index.md
cp scripts/_sidebar.md docs/_sidebar.md
cp scripts/index.html docs/index.html
cp logo.png docs/logo.png
cp addons/nodot/icons docs/icons -r

cp addons/nodot/icons docs/icons -r
11 changes: 11 additions & 0 deletions scripts/watch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

DIR_TO_WATCH="addons/nodot"
COMMAND="./scripts/watch_generate_docs.sh"

trap "echo Exited!; exit;" SIGINT SIGTERM
while [[ 1=1 ]]
do
watch --chgexit -n 1 "ls --all -l --recursive --full-time ${DIR_TO_WATCH} | sha256sum" && ${COMMAND}
sleep 1
done
6 changes: 6 additions & 0 deletions scripts/watch_generate_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

gdscriptify2 -d addons/nodot -o docs/src
mv addons/nodot/docs/src/* docs
rm -rf addons/nodot/docs
sed -i 's/\\/\//g' docs/index.md

0 comments on commit 9aefb88

Please sign in to comment.