Class: Game_System

Inherits:
Object show all
Defined in:
docs/00600_Script_RMXP.rb

Overview

Class that manage Music playing, save and menu access, timer and interpreter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGame_System

マジックナンバーDefault initializer



346
347
# File 'docs/00600_Script_RMXP.rb', line 346

def initialize
end

Instance Attribute Details

#battle_interpreter (readonly)

マップイベント用インタプリタ



325
326
327
# File 'docs/00600_Script_RMXP.rb', line 325

def battle_interpreter
  @battle_interpreter
end

#encounter_disabled

メニュー禁止



335
336
337
# File 'docs/00600_Script_RMXP.rb', line 335

def encounter_disabled
  @encounter_disabled
end

#magic_number

セーブ回数



343
344
345
# File 'docs/00600_Script_RMXP.rb', line 343

def magic_number
  @magic_number
end

#map_interpreter (readonly)

Returns the value of attribute map_interpreter.



323
324
325
# File 'docs/00600_Script_RMXP.rb', line 323

def map_interpreter
  @map_interpreter
end

セーブ禁止



333
334
335
# File 'docs/00600_Script_RMXP.rb', line 333

def menu_disabled
  @menu_disabled
end

#message_frame

文章オプション 表示位置



339
340
341
# File 'docs/00600_Script_RMXP.rb', line 339

def message_frame
  @message_frame
end

#message_position

エンカウント禁止



337
338
339
# File 'docs/00600_Script_RMXP.rb', line 337

def message_position
  @message_position
end

#save_count

文章オプション ウィンドウ枠



341
342
343
# File 'docs/00600_Script_RMXP.rb', line 341

def save_count
  @save_count
end

#save_disabled

タイマー作動中フラグ



331
332
333
# File 'docs/00600_Script_RMXP.rb', line 331

def save_disabled
  @save_disabled
end

#timer

バトルイベント用インタプリタ



327
328
329
# File 'docs/00600_Script_RMXP.rb', line 327

def timer
  @timer
end

#timer_working

タイマー



329
330
331
# File 'docs/00600_Script_RMXP.rb', line 329

def timer_working
  @timer_working
end

Instance Method Details

#battle_bgmRPG::AudioFile

Returns the battle BGM descriptor

Returns:

  • (RPG::AudioFile)


420
421
# File 'docs/00600_Script_RMXP.rb', line 420

def battle_bgm
end

#battle_bgm=(battle_bgm)

Sets the battle BGM descriptor

Parameters:

  • battle_bgm (RPG::AudioFile)

    descriptor



424
425
# File 'docs/00600_Script_RMXP.rb', line 424

def battle_bgm=(battle_bgm)
end

#battle_end_meRPG::AudioFile

Returns the battle end ME descriptor

Returns:

  • (RPG::AudioFile)


428
429
# File 'docs/00600_Script_RMXP.rb', line 428

def battle_end_me
end

#battle_end_me=(battle_end_me)

Sets the battle end ME descriptor

Parameters:

  • battle_end_me (RPG::AudioFile)

    descriptor



432
433
# File 'docs/00600_Script_RMXP.rb', line 432

def battle_end_me=(battle_end_me)
end

#bgm_fade(time)

Fade the BGM out

Parameters:

  • time (Integer)

    the time in seconds it takes to the BGM to fade



361
362
# File 'docs/00600_Script_RMXP.rb', line 361

def bgm_fade(time)
end

#bgm_memorize

Memorize the BGM



364
365
# File 'docs/00600_Script_RMXP.rb', line 364

def bgm_memorize
end

#bgm_memorize2

Memorize an other BGM with position

Author:

  • Nuri Yuri



371
372
# File 'docs/00600_Script_RMXP.rb', line 371

def bgm_memorize2
end

#bgm_play(bgm)

Plays a BGM

Parameters:

  • bgm (RPG::AudioFile)

    a descriptor of the BGM



354
355
# File 'docs/00600_Script_RMXP.rb', line 354

def bgm_play(bgm)
end

#bgm_restore

Plays the Memorized BGM



367
368
# File 'docs/00600_Script_RMXP.rb', line 367

def bgm_restore
end

#bgm_restore2

Plays the other Memorized BGM at the right position (FmodEx Eclusive)

Author:

  • Nuri Yuri



375
376
# File 'docs/00600_Script_RMXP.rb', line 375

def bgm_restore2
end

#bgm_stop

Stop the BGM



357
358
# File 'docs/00600_Script_RMXP.rb', line 357

def bgm_stop
end

#bgs_fade(time)

Fade the BGS out

Parameters:

  • time (Integer)

    the time in seconds it takes to the BGS to fade



383
384
# File 'docs/00600_Script_RMXP.rb', line 383

def bgs_fade(time)
end

#bgs_memorize

Memorize the BGS



386
387
# File 'docs/00600_Script_RMXP.rb', line 386

def bgs_memorize
end

#bgs_play(bgs)

Plays a BGS

Parameters:

  • bgs (RPG::AudioFile)

    a descriptor of the BGS



379
380
# File 'docs/00600_Script_RMXP.rb', line 379

def bgs_play(bgs)
end

#bgs_restore

Play the memorized BGS



389
390
# File 'docs/00600_Script_RMXP.rb', line 389

def bgs_restore
end

#cry_play(id)

play the cry of a Pokémon

Parameters:

  • id (Integer)

    the id of the Pokémon in the database



350
351
# File 'docs/00600_Script_RMXP.rb', line 350

def cry_play(id)
end

#me_play(me)

Plays a ME

Parameters:

  • me (RPG::AudioFile)

    a descriptor of the ME



393
394
# File 'docs/00600_Script_RMXP.rb', line 393

def me_play(me)
end

#playing_bgmRPG::AudioFile

Returns the playing BGM descriptor

Returns:

  • (RPG::AudioFile)


404
405
# File 'docs/00600_Script_RMXP.rb', line 404

def playing_bgm
end

#playing_bgsRPG::AudioFile

Returns the playing BGS descriptor

Returns:

  • (RPG::AudioFile)


408
409
# File 'docs/00600_Script_RMXP.rb', line 408

def playing_bgs
end

#se_play(se)

Plays a SE

Parameters:

  • se (RPG::AudioFile)

    a descriptor of the SE



397
398
# File 'docs/00600_Script_RMXP.rb', line 397

def se_play(se)
end

#se_stop

Stops every SE



400
401
# File 'docs/00600_Script_RMXP.rb', line 400

def se_stop
end

#update

Updates the Game System (timer)



435
436
# File 'docs/00600_Script_RMXP.rb', line 435

def update
end

#windowskin_nameString

Returns the name of the window skin

Returns:

  • (String)

    The name of the window skin



412
413
# File 'docs/00600_Script_RMXP.rb', line 412

def windowskin_name
end

#windowskin_name=(windowskin_name)

Sets the name of the window skin

Parameters:

  • windowskin_name (String)

    The name of the window skin



416
417
# File 'docs/00600_Script_RMXP.rb', line 416

def windowskin_name=(windowskin_name)
end