0

I'm currently writing an application for Android using Marmalade. I must say that I find the .mkb syntax highly annoying, regardless of that, Marmalade seems to be corrupting my textures, but only when I add the files to my .mkb file.

With the following MKB file, my output is this

#!/usr/bin/env mkb

files
{
    [Source]
    (Source)
    MobileMario.cpp
    Game.h
    Game.cpp
    Renderer.h
    Renderer.cpp
    Scene.h
    Scene.cpp
    Scene_Menu.h
    Scene_Menu.cpp
    Scene_Level.h
    Scene_Level.cpp
    GUI.h
    GUI.cpp
}

subprojects
{
    iwutil
    iw2dscenegraphcore
    iw2dscenegraph
    iwgx
    iwresmanager
    iwtween
}



assets {
    (data)
    mario.tga
    mario.gxfont

    (data/Textures)
    mario.png
    mario_logo.png
    options_background.png

    (data/Tilemaps)
    1_1_test.png
}

deployment
{
}

When I leave out the "assets" section of my .mkb file, the output is this. The output it SHOULD have, is this, as you can see, the fonts don't render on mobile, which probably means I need to add the files to my .mkb file, but doing so (or even adding one file), it corrupts everything.

Ruben Rutten
  • 1,659
  • 2
  • 15
  • 30

1 Answers1

0

I changed the way Marmalade's "assets" section looks and everything seems to be working. Still don't know why it corrupted before, at least I don't have the problem anymore.

Ruben Rutten
  • 1,659
  • 2
  • 15
  • 30