It looks like you're new here. If you want to get involved, click one of these buttons!
[Player]
ChildList = PlayerGraphics
[PlayerPivot]
Pivot = (16.0, 16.0, 0.0)
[PlayerGraphics@PlayerPivot]
AnimationSet = PlayerAnimSet
[PlayerFullGraphics@PlayerPivot]
Texture = ../data/Player/Playerstrip.png
TextureSize = (32, 32, 0)
[PlayerAnimSet]
AnimationList = Walk
LinkList = WalkLoop
[WalkLoop]
Source = Walk
Destination = Walk
[Walk]
DefaultKeyDuration = 0.1
KeyData1 = Walk1
KeyData2 = Walk2
KeyData3 = Walk3
KeyData4 = Walk4
[Walk1@PlayerFullGraphics]
TextureCorner = (0, 0, 0)
[Walk2@PlayerFullGraphics]
TextureCorner = (32, 0, 0)
[Walk3@PlayerFullGraphics]
TextureCorner = (64, 0, 0)
[Walk4@PlayerFullGraphics]
TextureCorner = (96, 0, 0)
orxViewport_CreateFromConfig( "Viewport" );
// Our new static scene is loaded from the following file.
orxConfig_Load( "Player.ini" );
// We create the 'root' object of our scene, which in turn creates it's children, and their children etc.
orxObject_CreateFromConfig( "Player" );
Using this image:
Comments
As for your error; if you're comfortable doing so, please use the svn version of orx, one of the recent patches made that specific error a little more detailed if my memory serves me correctly.
Only other thing I'd suggest checking your file path and capitalization etc. Good luck!
Anyway, I've tried compiling [Static Debug] the SVN version (downloaded yesterday, updated just now) and when rebuilding all I'm getting 2 linker problems:
This may not be a problem, as I do get a orxd.lib as expected. However, using the SVN version also gives me linker errors in my project:
In summary, this is what I've done:
Compiled SVN version [Static Debug]
Changed the include map and library map from orkinclude/bin to F:SVNmapetcinclude/bin
Building works fine with the new includes, he can find the .lib file (or it'd crash on 'can't find orxd.lib'), but linking gives above errors.
EDIT: Oh, i think I may know what I've done wrong. Still, I'm confused. What thing am I supposed to use..
Fingers crossed
EDIT: Yeah, right, okay. I now have the wrong DLL in my dir, but that's solvable XD
EDIT2: it's definetly grabbing the right IMG file. Could it be that it doesn't support interlaced pngs? or something?
EDIT3: yup, switched the PNG with a non-interlaced version and it gives no errors. I still don't SEE anything, but that's a different problem
EDIT4: Yay, I see my little tank-mushroom thingy, and it's animated too.
So yep, as mentioned in the other thread, orx is using SOIL/stb_image for image loading and they don't support interlaced PNG, sorry.
But heh we're not planning on doing old loading screens 8bit style, aren't we?