✔Help me for animation please !!
Moderator: Plugin Moderators
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
✔Help me for animation please !!
Hi I do not understand the error in the JSON file, it is the animation
- Attachments
-
- Simpson House.zip
- (7.46 KiB) Downloaded 103 times
- TheFennekin
- Neighborhood fox
- Reactions:
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Help me for animation please !!
Please show a picture
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
Yes, it would be helpful, if you told us, what the error report said.
And maybe you could post the code here? You can use the </> button to put the code into your comment.
And maybe you could post the code here? You can use the </> button to put the code into your comment.
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
Re: Help me for animation please !!
can you fix the bug please.former member wrote: ↑23 Dec 2017, 18:39Animation is defined wrong.
1. It has to be defined before the building.
2. It needs to have the frames.
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
@Univers Gaming
You can post codes like this, so there is no need for other users to download anything:
It would look like this:
You can post codes like this, so there is no need for other users to download anything:
It would look like this:
Code: Select all
I am a code ;)
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
Maybe try it like this:
Code: Select all
[
{
"author":"Univers Gaming",
"frames":[{"bmp":"SimpsonHouseAnimation.png"},{"bmp":"SimpsonHouseAnimation01.png"}],
"id":"$snowhouse.anim01",
"speed":"0.5",
"type":"animation"
},
{
"animation"[{"id":"$snowhouse.anim01","x":0,"y":0}],
"author":"UniversGaming",
"frames":[{"bmp":"SimpsonHouseSnow.png"}],
"habitants":5,
"height":"2",
"id":"$Simpson House",
"level":3,
"title":"Simpson House",
"type":"residential",
"width":2
}
]
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
Re: Help me for animation please !!
mdk_813 wrote: ↑23 Dec 2017, 22:07Maybe try it like this:Code: Select all
[ { "author":"Univers Gaming", "frames":[{"bmp":"SimpsonHouseAnimation.png"},{"bmp":"SimpsonHouseAnimation01.png"}], "id":"$snowhouse.anim01", "speed":"0.5", "type":"animation" }, { "animation"[{"id":"$snowhouse.anim01","x":0,"y":0}], "author":"UniversGaming", "frames":[{"bmp":"SimpsonHouseSnow.png"}], "habitants":5, "height":"2", "id":"$Simpson House", "level":3, "title":"Simpson House", "type":"residential", "width":2 } ]
can you create the json and there are two textures with girlande
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
You could just paste the above code into your Json and you'd be good to go.
But, whatever, here you go:
But, whatever, here you go:
- Attachments
-
- SimpsonHouse_1.json
- (447 Bytes) Downloaded 99 times
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
@Univers Gaming
Okay, try this:
Okay, try this:
Code: Select all
[
{
"id":"$snowhouse.anim01",
"type":"animation",
"author":"Univers Gaming",
"frames":[{"bmp":"SimpsonHouseAnimation.png"},{"bmp":"SimpsonHouseAnimation01.png"}],
"speed":"0.5"
},
{
"id":"$Simpson House",
"author":"UniversGaming",
"type":"residential",
"level":3,
"height":"2",
"width":2,
"frames":[{"bmp":"SimpsonHouseSnow.png"}],
"animation":[{"id":"$snowhouse.anim01","x":0,"y":0}],
"habitants":5,
"title":"Simpson House"
}
]
- Univers Gaming
- Metropolitan
- Reactions:
- Posts: 148
- Joined: 02 Jul 2017, 13:52
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Platform
Re: Help me for animation please !!
I think we need to change the x and y axismdk_813 wrote: ↑23 Dec 2017, 23:16@Univers Gaming
Okay, try this:Code: Select all
[ { "id":"$snowhouse.anim01", "type":"animation", "author":"Univers Gaming", "frames":[{"bmp":"SimpsonHouseAnimation.png"},{"bmp":"SimpsonHouseAnimation01.png"}], "speed":"0.5" }, { "id":"$Simpson House", "author":"UniversGaming", "type":"residential", "level":3, "height":"2", "width":2, "frames":[{"bmp":"SimpsonHouseSnow.png"}], "animation":[{"id":"$snowhouse.anim01","x":0,"y":0}], "habitants":5, "title":"Simpson House" } ]
SimpsonHouse_2.json
- mdk_813
- Inhabitant of a Country
- Reactions:
- Posts: 857
- Joined: 16 Dec 2016, 02:38
- Location: Germany
- Plugins: Showcase Store
-
Platform
Re: Help me for animation please !!
Well, that is a whole other issue...
Sorry, I have no idea how to make it work when your animation has the same pixel dimensions as your building.
Maybe this thread can help you: http://www.theotown.com/forum/viewtopic ... 950#p50950
Sorry, I have no idea how to make it work when your animation has the same pixel dimensions as your building.
Maybe this thread can help you: http://www.theotown.com/forum/viewtopic ... 950#p50950