• Anmelden

1

Sonntag, 4. November 2007, 17:33

Menü

Hallo,
ich habe das standard Menü..... aber so standard ist es auch nicht.
Ich habe da ein Problem.
Screenshot:
Bild

also so stelle ich es in mir etwa vor was noch edietiert werden sollte.
Beschreibung:
Es sollte im roten Kasten das Face vom Held rein(im script sollte es veränderbar sein das face)
Dann unten rechts im eck das lv vom held.
Dan da wo Name steht logischerweise der Heldname.
Dann sollte in den 2 leisten die Leben und Mana/Enerige angezeit werden. Der Text ist veränderbar.....
Leben = Rot
Mana = Blau
Energie = Blau
das sind die fraben die die leisten haben sollten.
und in den Leisten noch die LP und Mana/energie Zahl stehen.
und dan noch die Klasse vom held.
das schwarze kasten vergessen wir einfach.
und danz unten sollte den Namen vom Ort sein wo der held sich grad befindet.
bei fragen bitte stellen.
PS: Wie immer, tut es mir sehr leid für die Rechtschreibung.
Und ein Crediteintrag kommt natülich auch.

mfg Blackduc

Spoiler
Hier noch Scene_Menü was ich edediert haben:

Quellcode

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
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#  This class performs menu screen processing.
#==============================================================================
 
class Scene_Menu
  #--------------------------------------------------------------------------
  # * Object Initialization
  # 	menu_index : command cursor's initial position
  #--------------------------------------------------------------------------
  def initialize(menu_index = 0)
	@menu_index = menu_index
  end
  #--------------------------------------------------------------------------
  # * Main Processing
  #--------------------------------------------------------------------------
  def main
	# Make command window
	s1 = "Gegenstände"
	s2 = ""
	s3 = "Ausrüsten"
	s4 = ""
	s5 = "Fähigkeiten"
	s6 = ""
	s7 = "Talente"
	s8 = ""
	s9 = "Speichern"
	s10 = ""
	s11 = "Spiel verlassen"
	s12 = ""
	@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12])
	@command_window.index = @menu_index
	# If save is forbidden
	if $game_system.save_disabled
  	# Disable save
  	@command_window.disable_item(4)
	end
	# Make status window
	@status_window = Window_MenuStatus.new
	@status_window.x = 160
	@status_window.y = 0
	# Make gold window
	@gold_window = Window_Gold.new
	@gold_window.x = 0
	@gold_window.y = 416
	# Execute transition
	Graphics.transition
	# Main loop
	loop do
  	# Update game screen
  	Graphics.update
  	# Update input information
  	Input.update
  	# Frame update
  	update
  	# Abort loop if screen is changed
  	if $scene != self
    	break
  	end
	end
	# Prepare for transition
	Graphics.freeze
	# Dispose of windows
	@command_window.dispose
	@gold_window.dispose
	@status_window.dispose
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
	# Update windows
	@command_window.update
	@gold_window.update
	@status_window.update
	# If command window is active: call update_command
	if @command_window.active
  	update_command
  	return
	end
	# If status window is active: call update_status
	if @status_window.active
  	update_status
  	return
	end
  end
  #--------------------------------------------------------------------------
  # * Frame Update (when command window is active)
  #--------------------------------------------------------------------------
  def update_command
	# If B button was pressed
	if Input.trigger?(Input::B)
  	# Play cancel SE
  	$game_system.se_play($data_system.cancel_se)
  	# Switch to map screen
  	$scene = Scene_Map.new
  	return
	end
	# If C button was pressed
	if Input.trigger?(Input::C)
  	# If command other than save or end game, and party members = 0
  	if $game_party.actors.size == 0 and @command_window.index < 4
    	# Play buzzer SE
    	$game_system.se_play($data_system.buzzer_se)
    	return
  	end
  	# Branch by command window cursor position
  	case @command_window.index
  	when 0  
    	p "1"
  	when 1  
  	when 2  
    	p "2"
  	when 3  
  	when 4  
    	p "3"
  	when 5  
  	when 6  
    	p "4"
  	when 7  
  	when 8  
    	p "5"
  	when 9  
  	when 10  
    	p "6"
  	when 11  
  	when 12
  	end
  	return
	end
  end
  #--------------------------------------------------------------------------
  # * Frame Update (when status window is active)
  #--------------------------------------------------------------------------
  def update_status
	# If B button was pressed
	if Input.trigger?(Input::B)
  	# Play cancel SE
  	$game_system.se_play($data_system.cancel_se)
  	# Make command window active
  	@command_window.active = true
  	@status_window.active = false
  	@status_window.index = -1
  	return
	end
	# If C button was pressed
	if Input.trigger?(Input::C)
  	# Branch by command window cursor position
  	case @command_window.index
  	when 1  # skill
    	# If this actor's action limit is 2 or more
    	if $game_party.actors[@status_window.index].restriction >= 2
      	# Play buzzer SE
      	$game_system.se_play($data_system.buzzer_se)
      	return
    	end
    	# Play decision SE
    	$game_system.se_play($data_system.decision_se)
    	# Switch to skill screen
    	$scene = Scene_Skill.new(@status_window.index)
  	when 2  # equipment
    	# Play decision SE
    	$game_system.se_play($data_system.decision_se)
    	# Switch to equipment screen
    	$scene = Scene_Equip.new(@status_window.index)
  	when 3  # status
    	# Play decision SE
    	$game_system.se_play($data_system.decision_se)
    	# Switch to status screen
    	$scene = Scene_Status.new(@status_window.index)
  	end
  	return
	end
  end
end
zum Lesen den Text mit der Maus markieren

2

Sonntag, 25. November 2007, 13:13

Servus,
Woher soll die Energie kommen? Also LP ist ja HP und SP = Mana, aber wie willste Energie darstellen?

Und soll der Ort ein ExtraFenster werden oder darein? Und was für ein Messagescript verwendest du?

Gruß Sven
:information: YAams
:rainbow: Random Signatur
Bild





Weitere Informationen | Download
Mit Support für RGSS Project 1!
Bild

3

Sonntag, 25. November 2007, 13:32

o_O ich wüsste ja nicht das diesen thread noch gibt...
o_O und noch das es so lange eine antwort kommmt....
jetzt habe ich auch keine lust mehr auf dieses Menü... ich werde ein anderes machen.
kann geclosed werden.....

EDIT: Zur Energie: Es wird dan verschiedene berufe geben die Mana oder Energie haben, (ziehe Krieger mit Energie, und die haben
100 Energie, aber die Fähgikeiten sind günstiger und sie bekommen for runde 20 energie zurück... ist aber jetzt auch
egal.

Okay, closed ~ Drag-On

mfg Blackduc

Social Bookmarks