Mojo Font embedded twice in Flash
Monkey Forums/Monkey Bug Reports/Mojo Font embedded twice in Flash
| ||
On Mac I'm getting this error when compiling to flash: myapp.build/flash/MonkeyGame.as(162): col: 19 Error: A conflict exists with definition _9mojo_font3png in namespace internal. public static var _9mojo_font3png:Class; Looking at the AS code produced i can see that it is trying to embed the mojo_font.png file twice: I tried to create a minimal sample code to reproduce the error and it seems to work fine. It also works fine in HTML5 and GLFW. Any ideas what would cause this? |
| ||
Hi, Could be a file path issue I guess? What's the full path to your project vs. the path to modules vs. the path to bananas? |
| ||
Hi Mark Sent you an email with a zipped up project for you to try. |
| ||
Hi, OK, it's because there's also a file called mojo_font.png in your .data dir - move/rename this and you should be good to go. Monkey doesn't attempt to 'merge' stuff imported from modules vs the app in any clever way as yet. |
| ||
Thanks. Sorted now. |