✔Help me for animation please !!

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Univers Gaming
Metropolitan
Reactions:
Posts: 148
Joined: 02 Jul 2017, 13:52
Plugins: Showcase Store
Version: Beta
Contact:

Platform

✔Help me for animation please !!

#1

Post by Univers Gaming »

Hi I do not understand the error in the JSON file, it is the animation
Attachments
Simpson House.zip
(7.46 KiB) Downloaded 96 times

User avatar
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 !!

#2

Post by TheFennekin »

Please show a picture

User avatar
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 !!

#3

Post by mdk_813 »

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.

User avatar
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 !!

#4

Post by Univers Gaming »

former member wrote:
23 Dec 2017, 18:39
Animation is defined wrong.
1. It has to be defined before the building.
2. It needs to have the frames.
can you fix the bug please.

User avatar
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 !!

#5

Post by Univers Gaming »

mdk_813 wrote:
23 Dec 2017, 18:41
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.
Attachments
SimpsonHouse.json
(408 Bytes) Downloaded 92 times

User avatar
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 !!

#6

Post by mdk_813 »

@Univers Gaming
You can post codes like this, so there is no need for other users to download anything:
Code_Box.PNG

It would look like this:

Code: Select all

I am a code ;)

User avatar
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 !!

#7

Post by mdk_813 »

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
}
]

User avatar
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 !!

#8

Post by Univers Gaming »

mdk_813 wrote:
23 Dec 2017, 22:07
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
}
]

can you create the json and there are two textures with girlande

User avatar
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 !!

#9

Post by mdk_813 »

You could just paste the above code into your Json and you'd be good to go.

But, whatever, here you go:
Attachments
SimpsonHouse_1.json
(447 Bytes) Downloaded 91 times

User avatar
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 !!

#10

Post by Univers Gaming »

mdk_813 wrote:
23 Dec 2017, 22:21
You could just paste the above code into your Json and you'd be good to go.

But, whatever, here you go:
Thanks

User avatar
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 !!

#11

Post by mdk_813 »

@Univers Gaming
You're welcome.
Does it work?

User avatar
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 !!

#12

Post by Univers Gaming »

mdk_813 wrote:
23 Dec 2017, 22:31
@Univers Gaming
You're welcome.
Does it work?
Looks
Attachments
Screenshot_2017-12-23-22-00-17.png

User avatar
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 !!

#13

Post by mdk_813 »

@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
(448 Bytes) Downloaded 92 times

User avatar
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 !!

#14

Post by Univers Gaming »

mdk_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
I think we need to change the x and y axis
Attachments
Screenshot_2017-12-23-22-34-47.png

User avatar
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 !!

#15

Post by mdk_813 »

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

Post Reply Previous topicNext topic

Return to “Problems”