-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path@test.obj
More file actions
36 lines (28 loc) · 768 Bytes
/
@test.obj
File metadata and controls
36 lines (28 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@test1
--track0:size,0,1000,100,1
--track1:x,-500,500,0
--track2:y,-500,500,0
--color:0xffffff
require("rikky_module")
if(ts1==nil) then ts1={} end
if(ts1.id==nil) then ts1["id"]=rikky_module.image("g") end
local x,y=obj.track1,obj.track2
obj.load("figure","円",color,obj.track0)
obj.draw(x,y)
rikky_module.image("w",ts1.id)
@test2
--track0:size,0,1000,100,1
--track1:x,-500,500,0
--track2:y,-500,500,0
--color:0xffffff
require("rikky_module")
if(ts2==nil) then ts2={} end
if(ts2.id==nil) then ts2["id"]=rikky_module.image("g") end
local x,y=obj.track1,obj.track2
obj.load("figure","四角形",color,obj.track0)
obj.load("マスク","type",1,"マスクの反転",1)
obj.draw(x,y)
rikky_module.image("w",ts1.id)
@test3
require("rikky_module")
rikky_module.image("r",ts1.id)