Ecrit par Tata Monos
Nom : Windows Pop up map
Permet de placer le windowskin sous le pop up des maps qui s'affiche. (Script bidouille \o/)
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
|
#=========================================================
# Windows Pop pup map
# ** **
# ****
#----------------------------------------------------------
#--- Version 1.1 du 24/12/2011
#--- Offgame 2011. Réalisé par Monos
#---¨Pour Rpg Maker Vxace
#--- <a href="http://offgame.org" target="_blank">http://offgame.org</a>
#--- Distribution autorisé sans autorisation
#=========================================================
class Window_MapName < Window_Base
def initialize
super(0, 0,544, fitting_height(1))
self.opacity = 0
self.contents_opacity = 0
@show_count = 0
refresh
end
#--------------------------------------------------------------------------
# ? ?????????
#--------------------------------------------------------------------------
def update_fadein
unless $game_map.display_name.empty?
self.opacity += 16
self.contents_opacity += 16
end
end
#--------------------------------------------------------------------------
# ? ??????????
#--------------------------------------------------------------------------
def update_fadeout
self.contents_opacity -=16
self.opacity -= 16
end
#--------------------------------------------------------------------------
# ?
#--------------------------------------------------------------------------
def refresh
contents.clear
unless $game_map.display_name.empty?
draw_text(contents.rect, $game_map.display_name, 1)
end
end
end
#--------------------------------------------------------------------------
# ? Fin du script
#--------------------------------------------------------------------------
|
Lien du fichier text
|

Aucun commentaire n'a été posté pour le moment.
