-
Changing the name of anything from decorations to weapons causes the engine to flip out, drawing blank sprites when the project is active and corrupting the entire project when trying to load it. The name change is done by selecting the entity in its respective editor, changing the name, and hitting Accept. This is the error log file I got - from what I understand the engine did not change the sprite reference after the name change.
-
(Edit:) In the weapons menu’s “Import Sounds” editor, the “projectile collision” label is wrong; it’s actually the reload sound.
-
(Edit 2:) Is it possible to implement save (CTRL+S) and undo (CTRL+Z) shortcuts?
1) Nothing is wrong here. It is actually working exactly as it should. You change entity name but you don't provide it with new sprites. Editor doesn't rename your sprites for you. It also doesn't clear sprites when you remove decoration just in case you removed it by mistake. I'll try adding something like an auto renaming.
2) Perhaps. I'll check it.
3) It is. Probably. But I won't even try. It will definitely introduce new bugs and I don't want that.
About the renaming issue. I’m not concerned with the engine not doing it automatically so much as I am concerned about it completely flipping out without notice. It took me a bit of trial and error to understand the issue. It also happens when you have any sort of space in any name, which is understandable, but still strange - and it also makes the project “corrupt” unless you manually edit the data
I think a simple check for spaces (abd removing them if nessasary) and a notification about changing sprite names is a good first step. “Breaking” a project because you dared having a space or changing a name is unintuitive as hell.
Also - will you provide a default font sheet the same way you provided a default numbers sheet? I don’t know how to change the game’s font - there is no default template to work off.
I swear I read the entire thing and couldn’t find it. Maybe I’m just blind :)
Thanks for that heads up about a TTF file - I thought it required a sprite sheet the same way the numbers are. In general (I feel like I’m asking a lot in one thread lol) I would also suggest clarifying the file type the engine expects from certain fields. I didn’t know that little tidbit for instance.
(Edit: welp I tried importing a TTF file and the engine crashed. It did create the proper files in the Fonts folder though. Error log)
The editor applies a filter. It will never let you choose a file it can't use. As for the error - are you sure you've been trying to import _font_ and not an image?
UPD: Nevermind. I checked it, there is a bug. I fixed it, so it will be fixed in the next version. You can actually just add files manually.
Yeah I did import a .ttf file as you instructed.
Anyways, I’m aware of the fact you can manually copy-paste files into the project hierarchy, I just need to know how the engine expects me to call them first - which is what I did after importing dummy fonts and sprites and then changing them accordingly.