Virtual-Joystick-Godot icon indicating copy to clipboard operation
Virtual-Joystick-Godot copied to clipboard

Use standard addons structure

Open fire opened this issue 2 years ago • 4 comments

Hi, I was wondering if you can move the layout into the standard "addons/Virtual-Joystick-Godot" structure for the redistributable and use the outside structure for demos.

The folders in your project may collide with other file paths. We only use 3 folders in our project.

  1. addons
  2. <project_utils>
  3. <project>

Note:

Typically it's "addons/virtual_joystick_godot" in the Godot Engine style guide, but it's no big deal.

fire avatar Aug 06 '23 19:08 fire

Hello, Thanks for pointing this out, I didn't know about this. I will study the standard structure and edit the project accordingly.

MarcoFazioRandom avatar Aug 08 '23 11:08 MarcoFazioRandom

I don't know if you've already looked at this link, I hope it helps. The good thing is it shows how to configure and change the plugin icon. Making plugins

LucasArusiewicz avatar Sep 23 '23 14:09 LucasArusiewicz

@MarcoFazioRandom did you had the time to look into it? if people download this from the asset library right now it overwrites their whole project. this is not how plugins work

lfkdev avatar Feb 10 '24 12:02 lfkdev

Sorry for the (very) late reply, I'm working on this project in my spare time.

Imho the Godot documentation is not very clear on how to make a plugin from a scene (that's why I had to make the virtual_joystick_instantiator script, not sure if it's the cleanest solution but it works).

I created the Plugin branch to use the addons structure, will wait for a few feedback and make it the main branch if everything is correct.

MarcoFazioRandom avatar Feb 26 '24 22:02 MarcoFazioRandom