Re: A Project
Posted: 15 Jul 2017, 04:23
Tbh with all of the problems I'm running into I just want to pawn this project off to someone else and work on new stuff.
A feature rich city builder game for Android, iOS and PC
https://forum.theotown.com/
Whoops, sorry about that. Is this better?CommanderABab wrote: ↑15 Jul 2017, 05:11Sorry, I dont debug one line .jsons
It looks like one of your images is too wide.
Code: Select all
[
{
"frames": [
{
"bmp": "frontterr1.png",
"count": 4,
"w": 32,
"y": 29
},
{
"bmp": "outsidecornerterr1.png",
"count": 4,
"w": 32,
"y": 29
},
{
"bmp": "insidecornerterr1.png",
"count": 4,
"w": 32,
"y": 28
}
],
"height": 1,
"id": "sideterr1.kt101",
"needs road": false,
"power": 0,
"rotation aware": true,
"type": "park",
"water": 0,
"width": 1
},
{
"frames": [
{
"bmp": "topterr1.png",
"count": 2,
"h": 48,
"w": 32
}
],
"height": 1,
"id": "topterr1.kt101",
"needs road": false,
"power": 0,
"rotation aware": true,
"type": "park",
"water": 0,
"width": 1
}
]
The crash would probably be from the topterrain only having 2 images!CommanderABab wrote: ↑15 Jul 2017, 17:32Maybe you need 4 sets of 4 images all equal height and width.
Game crashed when I pressed rotate with this installed.
Note in image, that it is displaying parts of other plugins:
Screenshot_20170715-105117.jpg
Code: Select all
[
{
"frames": [
{
"bmp": "frontterr1.png",
"count": 4,
"w": 32,
"y": 29
},
{
"bmp": "outsidecornerterr1.png",
"count": 4,
"w": 32,
"y": 29
},
{
"bmp": "insidecornerterr1.png",
"count": 4,
"w": 32,
"y": 29
}
],
"height": 1,
"id": "sideterr1.kt101",
"needs road": false,
"power": 0,
"rotation aware": true,
"type": "park",
"water": 0,
"width": 1
},
{
"frames": [
{
"bmp": "topterr1.png",
"count": 2,
"h": 48,
"w": 32
}
],
"height": 1,
"id": "topterr1.kt101",
"needs road": false,
"power": 0,
"type": "park",
"water": 0,
"width": 1
}
]
Code: Select all
"y": 29
"y": 29
"y": 28
That would probably be the problem. Looks like I mixed up y and h.CommanderABab wrote: ↑15 Jul 2017, 18:11I removed these lines and the images are fine.
.Code: Select all
"y": 29 "y": 29 "y": 28
Or change the y to h.
@KINGTUT10101