Blacktango wrote: ↑07 May 2023, 23:51 Ok, I didn’t know there was such tool on BGA studio.
In the log, I don’t see the image but only CSS files.
I think you have to add the image file to git (like all new files).
By default, with Git, only known files are committed.
Maybe this tool is only about versioning, not publishing (even the dev version).
When I did the tutorial, I used an external tool (Filezilla) to connect to the SFTP server and upload the files I changes/added.
Sweet, new to me, I suppose I'll be learning how to do things with subversion.robinzig wrote: ↑08 May 2023, 11:13 BGA studio uses SVN, not git, for version control.
But really that's not relevant here, whether the file is in the version control system doesn't matter for whether the server can find it when loading the game. All that matters is whether the file is physically on the server.
Do you have a screenshot of the files/folders on the server, from your SFTP client? That would be the first place I'd look in these circumstances - has the image file actually made it onto the server?
I'm using the SFTP extension for vs code. I'm able to look at what files are on the server. It's definitely not showing `board.jpg`. Which is good stuff. Now I know how to work with that.
Both, trying to upload the image file and then the whole folder, give the same error.
Code: Select all
[05-08 13:50:38] [warn] The "Upload Active File" command get canceled because of missing targets.
[05-08 13:50:57] [warn] The "Upload Active Folder" command get canceled because of missing targets.---
Edit:
Blacktango and Robinzig, thank you so much for walking me through trying to figure this out. In the process, you've both taught me things that will forever be useful to know.
Welp, I'm about to say the same thing that other post did. I don't understand why it works now. Still, I suppose giving the details will possibly help the next person who gets stuck.
With the SFTP extension v1.16.1 for VS Code by Natizyskunk, you can hit `cmd` + `shift` + `p` to get your SFTP commands. My `board.jpg` file nor `img` folder wasn't uploading and gave a "missing target warning". Something made we think it would be worth the effort to delete the image file and add it back. After I did that, I tried to run the upload file command, and it just worked.
Anyway, you should see this in the SFTP logs for each file being transferred
Code: Select all
[05-08 13:51:44] [info] local ➞ remote /Users/vicki.langer/git/bga/img/board.jpg