forked from nikki93/scene-creator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelps.lua
More file actions
112 lines (108 loc) · 3.81 KB
/
helps.lua
File metadata and controls
112 lines (108 loc) · 3.81 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
-- vim: set wrap linebreak breakindent showbreak=>\ :
local helps = {
behaviors = {
Body = {
description = [[
Gives the actor a **position** and **angle** in the scene.
The actor is rectangle-shaped and doesn't move by default. Other behaviors can be used to change the shape or add motion.
]]
},
Text = {
description = [[
It's text behavior bruuh
]],
},
Image = {
description = [[
Represents the actor **visually** with an **image**.
The source image can be **cropped** to only use a part of it.
]]
},
Drawing = {
description = [[
Represents the actor **visually** with a drawing. You can make your own drawing or edit the current one with the **draw tool** (the pencil icon).
]]
},
CircleShape = {
description = [[
Gives the actor a **circular collision** shape instead of the default rectangular one.
]]
},
Solid = {
description = [[
When a moving solid runs into another solid, it's **stopped from passing through**.
]]
},
Bouncy = {
description = [[
When a moving solid runs into another solid, it **bounces away** if either is bouncy.
]]
},
Moving = {
description = [[
Let's the actor **move** around with **optional rotation**. The actor can be given an **initial velocity** and an **initial rotation speed**. Other behaviors can affect the motion of the actor.
]]
},
Falling = {
description = [[
Makes the actor **fall down** due to **gravity**.
]]
},
Sliding = {
description = [[
Limits an actor to moving along a **fixed direction**.
]]
},
Slowdown = {
description = [[
Slows down an actor's motion and rotation over time. The slowdown for motion and rotation can be adjusted separately. Higher values slow down the actor faster.
]]
},
Friction = {
description = [[
Makes solids **less slippery** when rubbing against each other. Both solids need to have friction for this effect. Higher friction values lead to less slipperiness.
]]
},
SpeedLimit = {
description = [[
Sets the **maximum speed** at which the actor can move.
]]
},
RotatingMotion = {
description = [[
**Rotates** the actor continuously.
]]
},
Sling = {
description = [[
Allows the actor to be **slung by the user** when playing the scene. The user can **touch anywhere and pull** to define the sling direction and force.
]]
},
Drag = {
description = [[
Allows the user to **grab the actor** and **move it directly** when playing the scene.
]]
},
Grab = {
description = [[
A tool that allows moving and rotating actors using touch.
]]
},
Rules = {
description = [[
A behavior that lets you **define your own rules** that tie the other behaviors of the actor together. Each rule has a **trigger** (**when** the rule should run) and a chain of **responses** (**what** the rule should do).
]]
},
Tags = {
description = [[
Tags are used to **categorize** or **refer** to actors. Each tag is a word that you are free to choose. Tags can be used in eg. the 'collide' trigger or 'act on' responses in **rules**.
]]
},
Counter = {
description = [[
Keep track of a **number** for this actor. **Rules** can **increase or decrease** and **check** the number. Other behaviors can **display** the number.
]]
}
}
}
return helps