MarcoFazioRandom / Virtual-Joystick-Godot

A simple virtual joystick for touchscreens, for both 2D and 3D games, with useful options.
MIT License
731 stars 80 forks source link

Use standard addons structure #48

Closed fire closed 8 months ago

fire commented 1 year ago

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. \
  3. \

Note:

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

MarcoFazioRandom commented 1 year ago

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

LucasArusiewicz commented 1 year ago

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

lfkdev commented 8 months ago

@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

MarcoFazioRandom commented 8 months ago

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.