Gio,
I was trying to use the newest version of wade with some older iso stuff I had. Something changed, but I am not sure what. I can get non animated objects to show, but when I modify the scale or offset parameters, it doesn't change the rendered image. Here is the json. If I modify the parameters and rerun, nothing regarding the tree changes ?
{
"tree1Data":
{
"sprites": [
{
"image": "./tree1.png",
"scale": 1.0,
"offset": {
"x": 0,
"y": 0
}
}
]
}
}
Also, I can't seem to get animated iso objects to display. They exist (scene objects are not null), but for some reason, the sprites don't display ? The layers are correct, so I know nothing is "drawing over the top of them" ?
{
"dragonData":
{
"sprites": [
{
"animations": [
{
"name": "Idle_iso_ne",
"image": "./dragonFly_ne.png",
"autoresize": "true",
"numCells": {
"x": 18,
"y": 1
},
"startFrame": 0,
"endFrame": 17,
"speed": 20,
"looping": true
}
],
"scale": 1.0,
"offset": {
"x": 0,
"y": 0.25
},
"sortPoint": {
"x": 0,
"y": 0.8
}
}
],
"behaviors": "IsoCharacter"
}
}
Everything works fine with older versions of wade, what am I not defining correctly anymore ? If you could post a json file on how to define iso objects to the website, that would be appreciated.
Also, is there a way to define a terrain texture as a sprite, so you could use a shader for iso terrain tiles ?
thanks,
Shri