- aquarium.pmod
- fish.pmod
- sprite.pmod

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "Fish",
"desc": "Fish aquarium example",
"vars": {
"sf": "#random(@smin, @smax)",
"wf": "@fishw * @sf",
"hf": "@fishh * @sf",
"xf": "#random(0, @w - @wh)",
"yf": "#random(0, @h - @hf)",
"url": "@resources/fish#random(1,5).png"
},
"layers": [
{
"use": "sprite.pmod",
"x": "@xf",
"y": "@yf",
"width": "@wf",
"height": "@hf"
}
]
}
X
#Starting renderer... #Render: Aquarium # Found repeat layer [n from 1 to 30] #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite #Render: Fish #Render: Sprite