Comments (3)
I have tested around using custom resource icons and find it is not working with PNG as image.
Does this work with SVG or some other format? Or does the FileSystem dock not display class icons at all (which might make sense since FileSystem displays file/resource types, not classes)? Please describe the problem more precisely, avoid details that are not important. Thanks!
from godot.
Sounds like:
from godot.
Sorry for the confusion, I was guessing the @icon
works in general and not only for resources.
I rebuild my examples as resource and saved, and it works for SVG and PNG
But I would swear that I had seen one of my GDScripts in the FileSystemDock with the icon when testing with Godot 4.3.beta1, only the extended classes did not have the icon.
The GDScript is just defined like:
@icon("res://addons/XXX/logo.png")
class_name ByClass
extends Node
But I can't reproduce it anymore. I have no idea what's going on here ;)
The resource file with the icon is working, so I close this issue.
from godot.
Related Issues (20)
- Very low Fps at godot 4.2 HOT 8
- Exporting project for iOS might overwrite files without warning HOT 2
- LSP behaves differently in Neovim than other editors (Godot IDE and VS Code) HOT 6
- Rendering: Shadows Missing or Not Emitted HOT 1
- Texture Mapping UV is ignored in Godot v4.2 for 3d Hair Cards HOT 1
- Editor stops responding when generating previews that involve a scene imported from blender.
- Performance: Cube with an empty _Process method is slow in debugger but fast in exported binary HOT 3
- Unload assemblies of .NET failed HOT 1
- Blend import dialog window ask for folder, not file. HOT 2
- Disabling physics interpolation on TileMapLayer enables it 4.3.beta1 HOT 2
- Changing CSG node Snap doesn't regenerate mesh
- Switching from 4.2 to 4.3: constantly getting a "Can't remove open menu!" message HOT 2
- application/run/disable_stderr does not work HOT 2
- Inspector does not set 'float' or 'int' values until you click outside of the Field HOT 1
- Godot crashes when attempting to create a window on a different monitor HOT 5
- Typing into the file's search field prints "Cannot get class 'TextFile'." errors. HOT 1
- Complex shaders make Forward Mobile + D3D12 crash Godot HOT 4
- `_err_print_error` is not printing the error HOT 1
- Debug game freeze when I use the editor pause function()οΌand debug is the same HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.