how do i "rotation aware" apply with "night light"?

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
0ferret
Settler
Posts: 2
Joined: 08 Jun 2024, 04:37

how do i "rotation aware" apply with "night light"?

#1

Post by 0ferret »

i find some tutorials in forum but it's compilcate to me (english is difficult..also code..)
especially the code about "frame", "animation".
someone can explan to me cleary?

User avatar
0ferret
Settler
Posts: 2
Joined: 08 Jun 2024, 04:37

Re: how do i "rotation aware" apply with "night light"?

#2

Post by 0ferret »

i wrote code and then game has crushed.
error messege warned me "$test build" id has no value.
is any wrong with my code?

[
{
"id": "$test_n",
"type": "animation",
"frames": [
{
"bmp": "1_n.png",
"count": 4,
"h": 38,
"w": 32
}
],
"light": true,
"light switching": true,
"rotation aware": true
},
{
"id":"$test_build",
"title": "test",
"type":"residential",
"author":"0ferret",
"width":1,
"height":1,
"rotation aware": true,
"level":1,
"frames": [
{"bmp":"1.png",
"h": 38,
"w": 32,
"count": 4}
],
"animation":[
{"bmp": "1_n.png",
"x":6,
"y":-18}
]
}

]

User avatar
Mendel Group
Inhabitant of a Galaxy
Posts: 2237
Joined: 07 Apr 2024, 05:18
Location: I know you don't care.
Plugins: Showcase Store
Contact:

Platform

Re: how do i "rotation aware" apply with "night light"?

#3

Post by Mendel Group »

You only have one frame, how is that supposed to help?

User avatar
Kulche
Pluche
Posts: 1195
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do i "rotation aware" apply with "night light"?

#4

Post by Kulche »

Mendel Group wrote:
12 Jun 2024, 03:20
You only have one frame, how is that supposed to help?
no they do not??? please stop spreading misinformation, you don't have to reply to every single post on the forums

your game crashes because you're using a png as an animation parameter - it takes the id of a previously defined animation, not a raw png frame

User avatar
Mendel Group
Inhabitant of a Galaxy
Posts: 2237
Joined: 07 Apr 2024, 05:18
Location: I know you don't care.
Plugins: Showcase Store
Contact:

Platform

Re: how do i "rotation aware" apply with "night light"?

#5

Post by Mendel Group »

Kulche wrote:
12 Jun 2024, 16:13
Mendel Group wrote:
12 Jun 2024, 03:20
You only have one frame, how is that supposed to help?
no they do not??? please stop spreading misinformation, you don't have to reply to every single post on the forums

your game crashes because you're using a png as an animation parameter - it takes the id of a previously defined animation, not a raw png frame
Are you sure?

User avatar
Mendel Group
Inhabitant of a Galaxy
Posts: 2237
Joined: 07 Apr 2024, 05:18
Location: I know you don't care.
Plugins: Showcase Store
Contact:

Platform

Re: how do i "rotation aware" apply with "night light"?

#6

Post by Mendel Group »

Kulche wrote:
12 Jun 2024, 16:13
Mendel Group wrote:
12 Jun 2024, 03:20
You only have one frame, how is that supposed to help?
no they do not??? please stop spreading misinformation, you don't have to reply to every single post on the forums

your game crashes because you're using a png as an animation parameter - it takes the id of a previously defined animation, not a raw png frame
Stupid cat face tells a person who knows more than him that it is like this and not like that. And I am a group of 4 unlike you guys who have own account
Last edited by Kulche on 12 Jun 2024, 18:05, edited 1 time in total.
Reason: wtf did they do to my quote??

User avatar
Kulche
Pluche
Posts: 1195
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do i "rotation aware" apply with "night light"?

#7

Post by Kulche »

well if you knew more than I do you wouldn't be spreading misinformation lmao, so please kindly desist before I revoke your posting permissions

User avatar
Mendel Group
Inhabitant of a Galaxy
Posts: 2237
Joined: 07 Apr 2024, 05:18
Location: I know you don't care.
Plugins: Showcase Store
Contact:

Platform

Re: how do i "rotation aware" apply with "night light"?

#8

Post by Mendel Group »

Kulche wrote:
12 Jun 2024, 18:02
well if you knew more than I do you wouldn't be spreading misinformation lmao, so please kindly desist before I revoke your posting permissions
Why would a funny cat face tell 4 People what to do?

User avatar
Kulche
Pluche
Posts: 1195
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do i "rotation aware" apply with "night light"?

#9

Post by Kulche »

This is your final warning. Any arguing/offtopic beyond this point will be punished.

User avatar
RayXP
Inhabitant of a Infinity
Posts: 8891
Joined: 17 Nov 2018, 21:49
Location: Pearland, TX
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: how do i "rotation aware" apply with "night light"?

#10

Post by RayXP »

Mendel Group wrote:
13 Jun 2024, 03:31
Kulche wrote:
12 Jun 2024, 18:02
well if you knew more than I do you wouldn't be spreading misinformation lmao, so please kindly desist before I revoke your posting permissions
Why would a funny cat face tell 4 People what to do?
Funny cat face is actually a mod in case you didnt know

User avatar
SomeguyFromGoa
Metropolitan
Posts: 123
Joined: 13 Mar 2024, 13:02

Plugin Creator

Platform

Re: how do i "rotation aware" apply with "night light"?

#11

Post by SomeguyFromGoa »

Oh, that is hot talk....

User avatar
Furkan10
Settler
Posts: 6
Joined: 16 Jun 2024, 12:28

Re: how do i "rotation aware" apply with "night light"?

#12

Post by Furkan10 »

Bro, the guy has a problem here, this is not a place to fight! Also, the Mendel Group is usually everywhere. I agree with that. :roll:

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”