-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.lua
More file actions
41 lines (39 loc) · 912 Bytes
/
script.lua
File metadata and controls
41 lines (39 loc) · 912 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
37
38
39
40
41
local fond = Image.load("splash/fond.jpg")
local t = 250
local masque = Image.createEmpty(480,272)
masque:clear(Color.new(0,0,0,t))
while t >= 0 do
masque = Image.createEmpty(480,272)
masque:clear(Color.new(0,0,0,t))
screen:blit(0,0,fond)
screen:blit(0,0,masque)
screen.flip()
screen.waitVblankStart()
t = t-15
end
local space = Image.load("splash/mascotte.png")
local team = Image.load("splash/titre.png")
local x = 480
while x >= 0 do
screen:blit(0,0,fond)
screen:blit(x,0,space)
screen:blit(-x,0,team)
screen.flip()
x = x-4
screen.waitVblankStart()
end
fond:blit(0,0,space)
fond:blit(0,0,team)
local t = 0
local masque = Image.createEmpty(480,272)
masque:clear(Color.new(0,0,0,t))
while t ~= 255 do
masque = Image.createEmpty(480,272)
masque:clear(Color.new(0,0,0,t))
screen:blit(0,0,fond)
screen:blit(0,0,masque)
screen.flip()
screen.waitVblankStart()
t = t+15
end
dofile("pspimp.lua")