Page 1 of 1
Project folder is empty
Posted: 27 December 2023, 20:06
by lazze92
Hello everyone, I'm the author of a board game (
https://boardgamegeek.com/boardgame/260046/dragons-path) trying to play around the BGA studio environment to implement my game in BGA. I think I've correctly set up my ENV in VS Code. and it synchs well. When I create a new project from the control panel, it correctly creates a folder with the name of the project I've created. The other folders I have are the ones for the tutorials "Hearts" and "Reversi". the problem is that the folder of the project is empty. when I try to access the game page of the project I've created from here
https://studio.boardgamearena.com/studi ... ragonspath and the pressing "game page" it keeps loading forever. Also, when I click on "play" I'm unable to access the game and cannot proceed with the in-game setup. I've also tried to copy-paste the "hearts" tutorial in the dragonspath folder but it doesn't work for me. any tips? I'm sorry I'm quite new here and I want to learn.
Re: Project folder is empty
Posted: 28 December 2023, 11:55
by RicardoRix
A new project folder should not be empty. I would advise to use a dedicated FTP client to double-check that fact. (WinSCP for windows).
You can't simply copy the contents of one project (Hearts) into another folder (Reversi). The naming of the folder, the files and the name of some of the classes all need to be consistently the same.
E.G. for
hearts projects, folder called hearts, file names: hearts.game.php, hearts.action.php.
inside hearts.game.php
etc.
The new project creation inside BGA studio should handle all this for you. You just need to modify the contents, without changing any of this naming convention.
Re: Project folder is empty
Posted: 28 December 2023, 13:56
by lazze92
It seems that when I try to create a project named DragonsPath, the project is not created but reactivated instead, and the project folder is always empty when I reactivate a project with that name. Now using a different name, it creates the project correctly with all the files inside the folder. Also, I've noticed that when the folder is empty (reactivated project) the system automatically deletes the project after 1 hour (more or less).
Re: Project folder is empty
Posted: 28 December 2023, 14:51
by LeSteffen
It might be that someone has created a project called DragonsPath one day and deleted it.
However, deleting it won't actually delete the files. A project can later be restored by creating a project of the same name. As you aren't the author of the project, it might come out blank.
The advice here is to create a project with your name at the end, i.e. dragonspathlazze. When moving to alpha, the project gets renamend to the game's name anyway.
Re: Project folder is empty
Posted: 28 December 2023, 15:26
by lazze92
Thanks!