It looks like you're new here. If you want to get involved, click one of these buttons!
[DISPLAY] [orxTexture.c:orxTexture_CreateFromFile():651] Failed to load bitmap [tutorial-tiles.png] and link it to texture.
[DISPLAY] [orxGraphic.c:orxGraphic_CreateFromConfig():696] Couldn't get text or texture for graphic (tile1).
; ----------------------------------- DISPLAY ----------------------------------------- ;
[Display]
ScreenWidth = 480
ScreenHeight = 800
[Viewport]
Camera = Camera
[Camera]
FrustumWidth = @Display.ScreenWidth
FrustumHeight = @Display.ScreenHeight
FrustumFar = 1.0
FrustumNear = 0.0
Position = (0.0, 0.0, -1.0)
; ---------------------------------- OBJECTS ------------------------------------------- ;
[TilesObject]
Graphic = tile1
[TilesGraphic]
Texture = tutorial-tiles.png
TextureSize = (80,80,0)
[tile1@TilesGraphic]
TextureCorner = (0,0,0)
[tile2@TilesGraphic]
TextureCorner = (80, 0, 0)
[tile3@TilesGraphic]
TextureCorner = (160, 0, 0)
[tile4@TilesGraphic]
TextureCorner = (0, 80, 0)
[tile5@TilesGraphic]
TextureCorner = (80, 80, 0)
[tile6@TilesGraphic]
TextureCorner = (160, 80, 0)
[tile7@TilesGraphic]
TextureCorner = (0, 160, 0)
[tile8@TilesGraphic]
TextureCorner = (80, 160, 0)
[tile9@TilesGraphic]
TextureCorner = (160, 160, 0)
Comments
That tutorial was written before the Resource module was written, but now paths for textures could be provided separately, allowing for the actual file being in a different folder than the executable
Something like this:
For more details about the resource module, please check: https://bitbucket.org/iarwain/resource
Note: The TextureCorner config property key, while still supported, is deprecated in favor to TextureOrigin, which match the internal code API.
PS.
I will change TextureCorner->TextureOrigin, thanks for pointing that out.
It might be an unsupported bitmap format, but lydesik would know more about this as the supported formats on Android (and iOS to some extent) differ slightly from the other platforms.
I downloaded the file incorrectly somehow (using xubuntu firefox, right-click 'save link as...' vs right-click 'save image as...'). Doing the save image as actually gives proper file. So after all that, it's just a false alarm.. :S