Search found 15 matches

by chian177
23 Nov 2020, 12:13
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm (2011/11/23 update)

release v1.3
by chian177
18 Nov 2020, 03:32
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm (2011/11/17 update)

SenyaBell wrote:
17 Nov 2020, 07:03
If anything, I can help, if you need something
Make shadows
Thank you, I hope can complete by myself without pressure :D
by chian177
17 Nov 2020, 05:30
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm (2011/11/17 update)

release v1.2~
by chian177
13 Nov 2020, 14:43
Forum: Problems
Topic: [1.9.49p][windows] Tile.getBuildingName not work
Replies: 2
Views: 2396

Re: [1.9.49p][windows] Tile.getBuildingName not work

yeah, it's still available. You only need to do something to get the tileX and tileY values. The simpliest things are you can use script:click(x,y,level) and attach the script into building draft. so the tileX and tileY values can be set when the user click the building. function script:click(x,y,l...
by chian177
13 Nov 2020, 10:17
Forum: Problems
Topic: [1.9.49p][windows] Tile.getBuildingName not work
Replies: 2
Views: 2396

[1.9.49p][windows] Tile.getBuildingName not work

Hi, i use Tile.setBuildingName(tileX, tileY, name) is available, and show the new name at building info dialog Gui
but when use Tile.getBuildingName(tileX, tileY) is always return a nil value
is a bug :?:
by chian177
13 Nov 2020, 03:56
Forum: Industrial
Topic: American styled barn ( Farm )
Replies: 9
Views: 10077

Re: American styled barn ( Farm )

very very beautiful
by chian177
13 Nov 2020, 01:05
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm

i find the Attachments tab, thanks very much
lol
by chian177
12 Nov 2020, 15:16
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm

i don't know how to remove old ATTACHMENTS plugin file... :?

solved~
by chian177
12 Nov 2020, 14:32
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm

Hi byxxiaonanhui, Can you tall me, where is github web url, i need to know some method infomation :idea:
by chian177
12 Nov 2020, 14:23
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Re: Chicken Farm

Thanks, i have some idea, hope can complete
by chian177
12 Nov 2020, 13:49
Forum: Industrial
Topic: Chicken Farm (2011/11/23 update)
Replies: 14
Views: 7742

Chicken Farm (2011/11/23 update)

I use script create a chicken farm, have day/night light all texture is draw by my self the chicken is random move, and sleep at night hope you like :D v1.3: add skin with difference ground AddSkin.png v1.2: add egg: chicken will spawn egg add master: he will sale the farm animal fix: the save data ...
by chian177
11 Nov 2020, 05:36
Forum: Problems
Topic: [1.9.37a] How to use Script:addScript function ?
Replies: 0
Views: 1806

[1.9.37a] How to use Script:addScript function ?

I need a function to know the Day/Night Cycle Building is placed at City in gameing And try to use Script.addScript for Day/Night Cycle Building Draft, hope can get event and call my script but Script:addScript always error :? local Draft_DayNightBuilding = Draft.getDraft("$devtool_daynight00&q...
by chian177
09 Nov 2020, 00:03
Forum: Problems
Topic: [1.9.37a] How to get day/night light color ?
Replies: 0
Views: 1790

[1.9.37a] How to get day/night light color ?

Hi~

I use Drawing.drawImage to display something, but it is very light at night

i need to get light color to apply image by script, but no find any function to get light color in game time
by chian177
06 Nov 2020, 09:55
Forum: Problems
Topic: [1.9.37a][android] setTile offset not work
Replies: 1
Views: 1789

Re: [1.9.37a][android] setTile offset not work

i find answer... XDD

Code: Select all    Reset

function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawImage(frameId, 0, 0); end
Interactive Lua editor
Run
by chian177
06 Nov 2020, 08:52
Forum: Problems
Topic: [1.9.37a][android] setTile offset not work
Replies: 1
Views: 1789

[1.9.37a][android] setTile offset not work

Hi, i use the function but not work, offsetX and offsetY always like zero frame is showing tile's (0,0) my code: function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawTileFrame(frameId); end and i use drawTileImage(frameId), but no draw frame picture doc: https://doc.theo...

Go to advanced search