View difference between Paste ID: uaPcdR84 and UJkBh3xK
SHOW: | | - or go back to the newest paste.
1
Let's make a game!
2
    name:Elemental Clicker
3
    by:Brian
4
    desc:An idle game using all four elements.
5
    created:02/03/18
6
    version:0
7
Settings
8
CSS
9
    .element {
10
        height:40%;
11
        width:35%;
12
        position:absolute;
13
        border:2px dashed;
14
    }
15
    #box-fireBox {
16
        left:2%;
17
        top:2%;
18
        border-color:Red;
19
    }
20
    #box-earthBox {
21
        left:2%;
22
        bottom:2%;
23
        border-color:Brown;
24
    }
25
    #box-waterBox {
26
        right:2%;
27
        bottom:2%;
28
        border-color:Blue;
29
    }
30
    #box-airBox {
31
        right:2%;
32
        top:2%;
33
        border-color:LightGrey;
34
    }
35
    .clickable {
36
		height:20%;
37
		width:20%;
38
		left:2%;
39
		top:5%;
40
		position:absolute;
41-
		border:single;
41+
		border:dotted;
42
    }
43
    .displayable {
44
       
45
    }
46
    .upgradeable {
47
       
48
    }
49
Includes
50
Resources
51
    *fire
52
        name:Fire
53
        tag:fire
54
    *earth
55
        name:Earth
56
        tag:earth
57
    *water
58
        name:Water
59
        tag:water
60
    *air
61
        name:Air
62
        tag:air
63
Buttons
64
    *fireButton
65
        name:Fire
66
        desc:Click to recieve Fire.
67
        tag:fireButton
68
        on click:yield fire
69
    *earthButton
70
        name:Earth
71
        desc:Click to recieve Earth.
72
        tag:earthButton
73
        on click:yield earth
74
    *waterButton
75
        name:Water
76
        desc:Click to recieve Water.
77
        tag:waterButton
78
        on click:yield water
79
    *airButton
80
        name:Air
81
        desc:Click to recieve Air.
82
        tag:airButton
83
        on click:yield air
84
Upgrades
85
    *spark
86
        name:Spark
87
        desc:A small spark that will produce Fire.<q>We didn't start the fire
88
        tag:fireUpgrade
89
        cost:10 fire
90
        on tick:yield 0.1 fire
91
    *pebble
92
        name:Pebble
93
        desc:A small pebble that will produce Earth.<q>Tastes a little bit fruity
94
        tag:earthUpgrade
95
        cost:10 earth
96
        on tick:yield 0.1 earth
97
    *drop
98
        name:Drop
99
        desc:A small drop that will produce Water.<q>Is it still a drop if it isn't falling?
100
        tag:waterUpgrade
101
        cost:10 water
102
        on tick:yield 0.1 water
103
    *gust
104
        name:Gust
105
        desc:A small gust that will produce Air.<q>Wild PIDGEY appeared!
106
        tag:airUpgrade
107
        cost:10 air
108
        on tick:yield 0.1 air
109
Layout
110
    *fireBox
111
        class:element
112
        contains:fireClick, fireResource, fireUpgrades
113
        *fireClick
114
            class:clickable
115
            contains:tag:fireButton
116
        *fireResource
117
            class:displayable
118
            contains:tag:fire
119
        *fireUpgrades
120
            class:upgradeable
121
            contains:tag:fireUpgrade
122
    *earthBox
123
        class:element
124
        contains:earthClick, earthResource, earthUpgrades
125
        *earthClick
126
            class:clickable
127
            contains:tag:earthButton
128
        *earthResource
129
            class:displayable
130
            contains:tag:earth
131
        *earthUpgrades
132
            class:upgradeable
133
            contains:tag:earthUpgrade
134
    *waterBox
135
        class:element
136
        contains:waterClick, waterResource, waterUpgrades
137
        *waterClick
138
            class:clickable
139
            contains:tag:waterButton
140
        *waterResource
141
            class:displayable
142
            contains:tag:water
143
        *waterUpgrades
144
            class:upgradeable
145
            contains:tag:waterUpgrade
146
    *airBox
147
        class:element
148
        contains:airClick, airResource, airUpgrades
149
        *airClick
150
            class:clickable
151
            contains:tag:airButton
152
        *airResource
153
            class:displayable
154
            contains:tag:air
155
        *airUpgrades
156
            class:upgradeable
157
            contains:tag:airUpgrade
158
Items
159
Achievements
160
Shinies