Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Project file - duplicate files — Gideros Forum

Project file - duplicate files

E1e5enE1e5en Member
edited August 2021 in Bugs and issues
1. Created structure:


2. Create a libs folder in the development environment and copy the button.lua file there through the explorer.
3. I didn't know that it was enough to update the folder and then the file would appear in the structure. So I added it via Link Existing File.


As a result, if we reopen the project, we will get a duplicate file in the project structure.


And also in the project file there will be 2 records about one file:
<folder name = "libs">
  <file source = "assets/libs/button.lua"/>
  <file name = "assets/libs/button.lua"/>
 </folder>
I think that new users have a misunderstanding why this is happening. And in fact, this is an incorrect organization of the project file. It is worth checking for duplicate file entries and leaving one of them.
Beginner game developer:https://e1e5en.itch.io, Google Play

Comments

  • most of the time I create my files and folders in the explorer (in the assets folder) then in gideros I right click on files and select refresh (you don't need to restart your project).

    You can delete your linked file (or any file) by right clicking on the file name then click Remove.

    :)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • Thanks. But I already wrote about this in step 3. I have already figured out how to fix this and how to work with it.
    But the mechanism itself that creates duplication is there, and I pointed to it. This is a trifle and is not a critical error, but you must agree that someday this can be fixed. :)
    Beginner game developer:https://e1e5en.itch.io, Google Play
  • MoKaLuxMoKaLux Member
    edited August 2021
    E1e5en said:

    Thanks. But I already wrote about this in step 3. I have already figured out how to fix this and how to work with it.

    oh I missed your step3 ;)
    E1e5en said:

    But the mechanism itself that creates duplication is there, and I pointed to it. This is a trifle and is not a critical error, but you must agree that someday this can be fixed. :)

    100% agree ;)

    Likes: E1e5en

    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.