-
I recently started programming in haxeflixel, and, like most of those who started doing this recently, the reason was FNF modding. But the knowledge that can be found in groups dedicated to it, are limited to problems typical for FNF. Therefore, it is difficult to find solutions there for the problems that arise when implementing original ideas. And that's exactly what I'm facing. I want to add a simple platformerState into the game to diversify the gameplay. But I'm having problems with the map. When I try to load a CSV file with a map, the game, for some reason, cannot find it.
And here is the part of the code, where the error occurs.
Moreover, everything works in this HaxeFlixel Demo (https://haxeflixel.com/demos/FlxTilemapExt/). As far as I understand, the problem should be in the project file, but I do not know what exactly i need to change in there. Here is a link to the vanilla version of the game I am modifying https://github.com/KadeDev/Kade-Engine/releases/tag/1.7. And, in case my theory with project file is correct, here is project file(as a txt, because i cant attach xml). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
I haven't created a level from csv before but looking at this codebase It looks like the file has been changed from .csv to .txt. Is this something you have tried? |
Beta Was this translation helpful? Give feedback.
-
can you tell us more about your assets folder structure? I noticed If you're on VSCode you can right click any file in the left side file tree and get the relative path. I use this a lot because it's easy to misspell a file or type in the wrong path. if that doesn't work try taking a screenshot of the file in the file tree and posting that here |
Beta Was this translation helpful? Give feedback.
can you tell us more about your assets folder structure? I noticed
shared/images/
which is similar to the FNF assets layout, which is a very non-standard way of doing it. also what does your project.xml assets path look like?If you're on VSCode you can right click any file in the left side file tree and get the relative path. I use this a lot because it's easy to misspell a file or type in the wrong path. if that doesn't work try taking a screenshot of the file in the file tree and posting that here