-
Notifications
You must be signed in to change notification settings - Fork 0
/
loft.nogame.lua
388 lines (388 loc) · 25 KB
/
loft.nogame.lua
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
local love = require("loft")
-- local Canvas = require('loft._classes.Canvas')
function love.nogame()
-- local last;
local logo, logo_data
local start
local past_warning, warning_transition, warning_skippable, waiting_on_screenshot = false, false, false, false
local warning_screenshot, warning_screenshotdata
local warning_base_time
function love.load()
-- last=0
love.graphics.setBackgroundColor(226 / 255, 226 / 255, 195 / 255, 1)
love.graphics.setPointSize(45)
logo_data = love.image.newImageData(love.data.decode(
"data",
"base64",
"\
iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAgAElEQVR4nO29WZAl2Xnf9ztLZt61\
9qpep2fFYBtwgMFCEQJACoQo0iRFQQ46FLb8QDtk2Y6wH/zgB/OBjvCDw+Hw+mQ7HA5HKCjbD7Yl\
h0IOm6RESpAICYsHMwBmQWOmp9fq6qrqqlt3y8yz+OFk3srOzlu3qnsGM83Q6bid2/mfzDzf+dbz\
nSz4cIucsz3N9UfFNrVx2utPIraxzL3wiNcWEaHcbyLGaR7+rNh5zzSv8+a19ZHH1hsoi2s49zjX\
3ILrcgF20aB6HGx9v+mca7jHE4Gtdk7TiDlrOSv2pMGyqN6jYs/yjFXsWfvmI4GVtQtNI+YsZRHH\
1Eu97jxOb2rzcbDz6tf3n3js43DrvPI4A2Serj5Nm6fFulq9k/TZE4/VfLjltIPhpJc+K/ZxJMwT\
h/0gOPgs5Wep76vlcdXQE4P9sDm4LB9GpzVJhJMs8icS+35wcJOVd9Z2PwzLve41zNPhTzT2cQlc\
jp5H1Y8fBud+WGrhQ8EuAi66fla3aFH781ydJmI+Dnbe+SbsItfkI409DQFPKqfVHadtf97znCba\
dhbsSefrdRa5Jh9p7OOK6Ed1P+oP0nTtg8KeNCD/zGHfTzfprJz8YbkbT5wefRzsh+0HL9KXJx0/\
DrbpeF55P+PgP3Psh03gRe7VSc/3qNjSMJwX4msyHGXt2hODPS2BP6iBcFaLVzacexRs/Xq9g+oW\
7Eltf6SxTS99Vov1LFy2CDvPeDrNubNgTzIO6883zx17IrBNpvhpfM55Nz7LtabrTUGT9xtb77wm\
bpnn/j1xWDmnYr08SuBhXjntSPwgsdXBcNpB/kRimyYbqo2cxR2ZR/TTtHHa+zS1NxfbabdlHCda\
SqmFFFIIETrEg/fOOedMmmXZeDyed69Fz/EovvjPFCtOaOyJKnEcy7WllaXldvfiUrt/eandO39u\
dXNjpbe83k7acauVyDiOpBACZ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bhLFpy3zgiEnOffvB7Z8zurgrHbaSVzyxGEXEeS0HPioRsBpy+O034Q9rZRq4pYnEfvI\
+vdxsGc1it4vbBOmKn2apNFJ9/tIY08Ti66WD8JNKvdPU6o69lGxZ9HTdfxZ7veRwM4jbpPurcv/\
+rWTHsI11K23Cw8PiPr59wtbnm/ilib9Vy9PFPYsInBROYuhdZoXanqWppc8q8iet12EeyKx82R5\
0/l6nZMw9fYX1XnU8rjYRURfpAc/0th5IrreYNN+03FdPy7q/EVi6DQj+qzYk0S35GF10+SSPTHY\
J266sCjVl3pU7FnaaHqvJwn7gZSz6uLT6pb3A3tWybJIcnxksU/8dOEjYOvvO292qqneE4f9Mzdd\
eErso5T3Qy38zLGlUeIqv7I0Ke55nPqoD3Bao6zJuHhUbLX+PEONhjp1n/tJwTZWOks5i55YhK8e\
n0afPiq23lGL3mFeB37ksf9iunDOaP+zgm1i+TqxOeG4LjrOwsFNg6LpHvXrj4utqqWqemri/iYO\
eqKwiwhyWg58HOPlNOVx2m/CnlZKNXHLk4h9ZP37ONhFRtFJ9R4H24SpSp8maXTS/T7S2H8xXXj6\
8ig680PH/v8AzNLk9rAFkgAAAABJRU5ErkJggg==\
"
))
logo = love.graphics.newImage(logo_data)
start = love.timer.getTime()
end
local function set_transition()
if past_warning or warning_transition or waiting_on_screenshot then
return
end
if warning_skippable then
waiting_on_screenshot = true
love.graphics.captureScreenshot(function(img)
warning_transition = true
warning_screenshotdata = img
warning_screenshot = love.graphics.newImage(img)
warning_base_time = love.timer.getTime()
love.graphics.setBackgroundColor(1, 1, 1, 1)
end)
end
end
local function clamp(a, b, c)
if a < b then
return b
end
if a > c then
return c
end
return a
end
function love.update()
if not past_warning then
local time = love.timer.getTime()
local space = time - start
if space > 2 and not warning_skippable then
warning_skippable = true
warning_base_time = love.timer.getTime()
elseif warning_transition and time - warning_base_time > 3.25 then
past_warning = true
warning_screenshot:release()
warning_screenshotdata:release()
waiting_on_screenshot = false
elseif space > 60 and not warning_transition then
set_transition()
end
end
end
local scale_w, scale_h = 1, 1
function love.draw()
-- love.graphics.rotate(math.pi/8)
local width, height = 800, 600 --love.graphics.getDimensions()
-- local r,g,b = love.graphics.getBackgroundColor()
-- love.graphics.setColor(1-r,1-g,1-b,1)
-- love.graphics.line(0,0,width,height)
-- love.graphics.line(0,height,width,0)
-- -- red, yellow, blue, green
-- love.graphics.setColor(1,0,0,1)
-- love.graphics.points(width/4,height/2)
-- love.graphics.setColor(1,1,0,1)
-- love.graphics.points(width*3/4,height/2)
-- love.graphics.setColor(0,0,1,1)
-- love.graphics.points(width/2,height/4)
-- love.graphics.setColor(0,1,0,1)
-- love.graphics.points(width/2,height*3/4)
-- -- there is now tint!!!!
-- love.graphics.setColor(1,1,1,1)
love.graphics.scale(scale_w, scale_h)
if not past_warning then
if warning_transition then
love.graphics.setColor(1, 1, 1, clamp(1 - ((love.timer.getTime() - warning_base_time) / 0.38), 0, 1))
love.graphics.draw(
warning_screenshot,
(width / 2) - (warning_screenshotdata:getWidth() / 2),
(height / 2) - (warning_screenshotdata:getHeight() / 2)
)
else
local font = love.graphics.getFont()
font:setFilter("nearest")
love.graphics.setColor(2 / 255, 2 / 255, 2 / 255, 1)
local st = "WARNING - OPEN SOURCE"
love.graphics.print(st, (width / 2 - font:getWidth(st) * 4.5 / 2), height / 11.3, 0, 4.5)
love.graphics.setColor(28 / 255, 28 / 255, 28 / 255, 1)
st = " BEFORE USING, CONSULT\n"
.. "THE LOVE2D SOURCE AND WIKI\n"
.. " FOR IMPORTANT INFORMATION\n"
.. " ABOUT THIS SOFTWARE"
love.graphics.print(st, (width / 2 - font:getWidth(st) * 3.5 / 2), height / 4, 0, 3.5)
st = "TO GET A COPY OF THIS SOFTWARE, GO ONLINE AT"
love.graphics.print(st, (width / 2 - font:getWidth(st) * 2.4 / 2), height * 0.68, 0, 2.4)
love.graphics.setColor(73 / 255, 176 / 255, 1, 1)
st = "github.com/bainchild/loft2d"
love.graphics.print(st, (width / 2 - font:getWidth(st) * 2.7 / 2), height * 0.75, 0, 2.7)
if warning_skippable then
-- oscillating grey, from 85 to 170 (/255)
love.graphics.setColor(
0.1,
0.1,
0.1,
(waiting_on_screenshot and 1)
or (math.sin((love.timer.getTime() - warning_base_time + 2) / 2 * math.pi) + 1) / 2
)
local getos = (love.system and love.system.getOS)
if getos and (getos() == "Android" or getos() == "iOS") then
st = "Touch the Touch Screen to continue."
else
st = "Click anywhere or press a button to continue."
end
love.graphics.print(st, (width / 2 - font:getWidth(st) * 2.5 / 2), height * 0.86, 0, 2.5)
end
end
else
love.graphics.setColor(255 / 255, 255 / 255, 255 / 255, 1)
love.graphics.draw(logo, (width / 2) - (logo_data:getWidth() / 2), (height / 2) - (logo_data:getHeight() / 2))
end
love.graphics.origin()
if love._provider and not love._provider.display then
io.write(love.graphics._getScreen():newImageData():encode("png"):getString())
os.exit(0)
end
end
love.keypressed = set_transition
love.textinput = set_transition
love.mousepressed = set_transition
love.gamepadpressed = set_transition
love.joystickhat = set_transition
love.joystickpressed = set_transition
love.touchpressed = set_transition
function love.resize(w, h)
scale_w = w / 800
scale_h = h / 600
end
function love.quit()
-- io.write(imgdata:encode("png"):getString())
end
function love.conf(n)
n.title = "LOFT2d"
.. (love._loft_version and " v" .. love._loft_version .. " (" .. love._loft_version_code .. ")" or "")
-- n.window.resizable = true
end
end
return love.nogame